Surprisingly (or rather not), lot of people are having issues with that. Some even claiming that it is impossible to view Windows 7 Event Log remotely from an XP or Windows 2003 machine because "it's not designed for that". They are getting "Unable to connect. The network path was not found" error when trying to open Event Viewer, even though Services, Storage, Shared Folders etc are working
Problem is that Remote Registry service has to be running on Windows 7 machine and it's set to Manual startup type by default.
So, just start Computer Manager on XP/2003 machine, connect to remote computer (if you are not able to connect at all, check the firewall settings) and start this service manually first.
Search This Blog
Labels
ESXi
(3)
ESXi 4.1
(1)
ESXi 5
(3)
ESXi 5 nested
(1)
ESXi installation fatal error
(1)
Exchange
(2)
Exchange 2010
(1)
Extpart.exe
(1)
Extpart.exe error
(1)
NIC Team
(1)
RDP
(1)
Scripts
(1)
vCenter
(1)
VirtualBox
(1)
VMware resize disk
(1)
Windows 7 doesn't boot
(1)
Windows fixes
(5)
Windows XP 2 CPU
(1)
Windows XP VM multiple CPU
(1)
Thursday, December 30, 2010
Monday, December 20, 2010
How to delete directories using wildcards
This script is also useful for deleting user profiles from Citrix servers (since they could be C:\Documents and Settings\UserID, C:\Documents and Settings\UserID.DOMAIN, C:\Documents and Settings\UserID.old etc - last usually happens if somebody renames them)
It's a bit tricky since rmdir doesn't support wildcards.
Also , "CD" doesn't work with UNC path, so you either can do the registry fix described here or just use pushd /popd as I did.
========
@ECHO OFF
rem Usage : DelCtxprof.cmd UserID
IF (%1)==() GOTO ERR
@ECHO ON
Pause This batch file will delete all profiles that start with "%1%" from all Citrix servers. If you don't want to do it, press Ctrl-C
pushd "\\CitrixServer1\C$\Documents and settings\"
for /d %%a in (%1*) do rd /s /q "%%~a"
popd
rem Do the rest of your citrix servers there
GOTO END
:ERR
ECHO Please specify User ID !!!
:END
========
It's a bit tricky since rmdir doesn't support wildcards.
Also , "CD" doesn't work with UNC path, so you either can do the registry fix described here or just use pushd /popd as I did.
========
@ECHO OFF
rem Usage : DelCtxprof.cmd UserID
IF (%1)==() GOTO ERR
@ECHO ON
Pause This batch file will delete all profiles that start with "%1%" from all Citrix servers. If you don't want to do it, press Ctrl-C
pushd "\\CitrixServer1\C$\Documents and settings\"
for /d %%a in (%1*) do rd /s /q "%%~a"
popd
rem Do the rest of your citrix servers there
GOTO END
:ERR
ECHO Please specify User ID !!!
:END
========
Subscribe to:
Posts (Atom)