|
Devon
You could also utilise Winexit to logoff a server. It free
and can be configured using Group Policy by adding a template, see
attached. Some info info below from Microsoft...
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steve Shaff Sent: Wednesday, 14 December 2005 10:38 AM To: [email protected] Subject: RE: [ActiveDir] Win32Shutdown Method & Win2003 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 __________________________________ |
ÿþS y m a n t e c M a i l S e c u r i t y r e p l a c e d w i n e x i t . a d m w i t h t h i s t e x t m e s s a g e . T h e o r i g i n a l t e x t c o n t a i n e d p r o h i b i t e d c o n t e n t a n d w a s d e l e t e d .
