|
The shutdown command works. Give that a
shot. S From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Harding, Devon I’m using the following script to logoff a
workstation. It works fine on XP workstations but does not seem to work
on Windows 2000/2003 servers. Any Ideas? Set objSystemSet = GetObject("winmgmts:{impersonationLevel=impersonate,(Shutdown)}").InstancesOf("Win32_OperatingSystem") For Each objSystem In objSystemSet
objSystem.Win32Shutdown 0 Next Windows Systems Engineer Southern Wine & Spirits
- BSG 954-602-2469 __________________________________ |
- RE: [ActiveDir] Win32Shutdown Method & Win2003 Steve Shaff
- RE: [ActiveDir] Win32Shutdown Method & Win2003 Blair, James
- RE: [ActiveDir] Win32Shutdown Method & Win2003 Blair, James
- RE: [ActiveDir] Win32Shutdown Method & Win2003 Harding, Devon
- RE: [ActiveDir] Win32Shutdown Method & Win2003 Harding, Devon
- RE: [ActiveDir] Win32Shutdown Method & Win2003 Alain Lissoir
- RE: [ActiveDir] Win32Shutdown Method & Win2003 Scott, Anthony
