RE: [ActiveDir] Win32Shutdown Method & Win2003

2005-12-15 Thread Alain Lissoir
to:[EMAIL PROTECTED] On Behalf Of Alain LissoirSent: Wednesday, December 14, 2005 10:30 PMTo: ActiveDir@mail.activedir.orgSubject: RE: [ActiveDir] Win32Shutdown Method & Win2003   Ok. I think we are facing a bug in the TS context with WMI. Let me investigate. I will file a bug about this

RE: [ActiveDir] Win32Shutdown Method & Win2003

2005-12-15 Thread Harding, Devon
PROTECTED] On Behalf Of Alain Lissoir Sent: Wednesday, December 14, 2005 10:30 PM To: ActiveDir@mail.activedir.org Subject: RE: [ActiveDir] Win32Shutdown Method & Win2003   Ok. I think we are facing a bug in the TS context with WMI. Let me investigate. I will file a bug about this. I gonna get

RE: [ActiveDir] Win32Shutdown Method & Win2003

2005-12-14 Thread Alain Lissoir
answer these questions.   In the meantime, you will have to shell an external tool ... From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Harding, DevonSent: Wednesday, December 14, 2005 2:13 PMTo: ActiveDir@mail.activedir.orgSubject: RE: [ActiveDir] Win32Shutdown Method & Win

RE: [ActiveDir] Win32Shutdown Method & Win2003

2005-12-14 Thread Darren Mar-Elia
7;t found it.   Darren From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Harding, DevonSent: Wednesday, December 14, 2005 12:36 PMTo: ActiveDir@mail.activedir.orgSubject: RE: [ActiveDir] Win32Shutdown Method & Win2003 Hmm…You’re right…it works fine from the console.  Many

RE: [ActiveDir] Win32Shutdown Method & Win2003

2005-12-14 Thread Harding, Devon
PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Harding, Devon Sent: Wednesday, December 14, 2005 9:52 AM To: ActiveDir@mail.activedir.org Subject: RE: [ActiveDir] Win32Shutdown Method & Win2003   Same error   From: [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED]

RE: [ActiveDir] Win32Shutdown Method & Win2003

2005-12-14 Thread Bernard, Aric
[mailto:[EMAIL PROTECTED]] On Behalf Of Harding, Devon Sent: Wednesday, December 14, 2005 9:52 AM To: ActiveDir@mail.activedir.org Subject: RE: [ActiveDir] Win32Shutdown Method & Win2003   Same error   From: [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED]] On Behalf O

Re: [ActiveDir] Win32Shutdown Method & Win2003

2005-12-14 Thread Kamlesh Parmar
D]] On Behalf Of Harding, DevonSent: Wednesday, December 14, 2005 9:52 AMTo: ActiveDir@mail.activedir.orgSubject: RE: [ActiveDir] Win32Shutdown Method & Win2003 Same error   From: [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED]] On Behalf Of Alain LissoirSent: Wednesday,

RE: [ActiveDir] Win32Shutdown Method & Win2003

2005-12-14 Thread Harding, Devon
@mail.activedir.org Subject: RE: [ActiveDir] Win32Shutdown Method & Win2003   Devon- Are you getting an actual error or just that it doesn't work? I ran your script on my test W2003 box and it worked just fine. I ran it as administrator at the server's console. How are you running this

RE: [ActiveDir] Win32Shutdown Method & Win2003

2005-12-14 Thread joe
ECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Harding, DevonSent: Wednesday, December 14, 2005 8:23 AMTo: ActiveDir@mail.activedir.orgSubject: RE: [ActiveDir] Win32Shutdown Method & Win2003 This script is part of a another script that upon logon, checks certain registry values, then if th

RE: [ActiveDir] Win32Shutdown Method & Win2003

2005-12-14 Thread Bernard, Aric
, December 14, 2005 9:52 AM To: ActiveDir@mail.activedir.org Subject: RE: [ActiveDir] Win32Shutdown Method & Win2003   Same error   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alain Lissoir Sent: Wednesday, December 14, 2005 11:26 AM To: Activ

RE: [ActiveDir] Win32Shutdown Method & Win2003

2005-12-14 Thread Darren Mar-Elia
9:52 AMTo: ActiveDir@mail.activedir.orgSubject: RE: [ActiveDir] Win32Shutdown Method & Win2003 Same error   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alain LissoirSent: Wednesday, December 14, 2005 11:26 AMTo: ActiveDir@mail.activedir.orgSubject:

RE: [ActiveDir] Win32Shutdown Method & Win2003

2005-12-14 Thread Harding, Devon
Same error   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alain Lissoir Sent: Wednesday, December 14, 2005 11:26 AM To: ActiveDir@mail.activedir.org Subject: RE: [ActiveDir] Win32Shutdown Method & Win2003   On 2003? Or 2000? Hmmm ... can you try

RE: [ActiveDir] Win32Shutdown Method & Win2003

2005-12-14 Thread Harding, Devon
ingSystem") For Each objSystem In objSystemSet    objSystem.Win32Shutdown 0Next     From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Williams Sent: Wednesday, December 14, 2005 11:16 AM To: ActiveDir@mail.activedir.org Subject: RE: [ActiveDir] Win32Shutd

RE: [ActiveDir] Win32Shutdown Method & Win2003

2005-12-14 Thread Scott, Anthony
(616) 481-9722 (616) 464-6369 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Harding, Devon Sent: Wednesday, December 14, 2005 11:20 AM To: ActiveDir@mail.activedir.org Subject: RE: [ActiveDir] Win32Shutdown Method & Win2003   I would have to call that .exe from

RE: [ActiveDir] Win32Shutdown Method & Win2003

2005-12-14 Thread Alain Lissoir
XP but not servers.  Why? From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Steve ShaffSent: Tuesday, December 13, 2005 7:38 PMTo: ActiveDir@mail.activedir.orgSubject: RE: [ActiveDir] Win32Shutdown Method & Win2003 The shutdown comma

RE: [ActiveDir] Win32Shutdown Method & Win2003

2005-12-14 Thread Harding, Devon
Harding, Devon Sent: Wednesday, December 14, 2005 10:39 AM To: ActiveDir@mail.activedir.org Subject: RE: [ActiveDir] Win32Shutdown Method & Win2003   I still get the same error running on a server:   Generic Error   It seem to be giving an error right at this point

RE: [ActiveDir] Win32Shutdown Method & Win2003

2005-12-14 Thread Alain Lissoir
ActiveDir@mail.activedir.orgSubject: RE: [ActiveDir] Win32Shutdown Method & Win2003 I still get the same error running on a server:   Generic Error   It seem to be giving an error right at this point: objSystem.Win32Shutdown 0   Here is the whole script: Set objWMILocator = CreateObject ("WbemScr

RE: [ActiveDir] Win32Shutdown Method & Win2003

2005-12-14 Thread Harding, Devon
Subject: RE: [ActiveDir] Win32Shutdown Method & Win2003   Why not use shutdown.exe?   Thank You, Anthony Scott Berbee 4690 E. Fulton Dr., Bldg. C Ada, Michigan 49301 (616) 481-9722 (616) 464-6369 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Harding, Devon

RE: [ActiveDir] Win32Shutdown Method & Win2003

2005-12-14 Thread Mike Williams
stem.Reboot()Next -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Harding, DevonSent: Wednesday, December 14, 2005 9:39 AMTo: ActiveDir@mail.activedir.orgSubject: RE: [ActiveDir] Win32Shutdown Method & Win2003 I still get the same err

RE: [ActiveDir] Win32Shutdown Method & Win2003

2005-12-14 Thread Scott, Anthony
: ActiveDir@mail.activedir.org Subject: RE: [ActiveDir] Win32Shutdown Method & Win2003   I still get the same error running on a server:   Generic Error   It seem to be giving an error right at this point: objSystem.Win32Shutdown 0   Here is the whole script: Set objWMILocator = CreateOb

RE: [ActiveDir] Win32Shutdown Method & Win2003

2005-12-14 Thread Harding, Devon
)   For Each objSystem In objSystemSet     objSystem.Win32Shutdown 0 Next   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alain Lissoir Sent: Wednesday, December 14, 2005 9:38 AM To: ActiveDir@mail.activedir.org Subject: RE: [ActiveDir] Win32Shutdown Method & W

Re: [ActiveDir] Win32Shutdown Method & Win2003

2005-12-14 Thread Za Vue
ocator.ConnectServer(strComputerName, cWMINameSpace, strUserID, strPassword) From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Harding, Devon Sent: Wednesday, December 14, 2005 5:23 AM To: ActiveDir@mail.activedir.org Subject: RE: [ActiveDir] Win32Shutdown Method & Win2003

RE: [ActiveDir] Win32Shutdown Method & Win2003

2005-12-14 Thread Alain Lissoir
cember 14, 2005 5:23 AMTo: ActiveDir@mail.activedir.orgSubject: RE: [ActiveDir] Win32Shutdown Method & Win2003 This script is part of a another script that upon logon, checks certain registry values, then if the values are not set, the script then sets the value and logoff the current u

RE: [ActiveDir] Win32Shutdown Method & Win2003

2005-12-14 Thread Harding, Devon
] [mailto:[EMAIL PROTECTED] On Behalf Of Steve Shaff Sent: Tuesday, December 13, 2005 7:38 PM To: ActiveDir@mail.activedir.org Subject: RE: [ActiveDir] Win32Shutdown Method & Win2003   The shutdown command works.  Give that a shot. S   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED

RE: [ActiveDir] Win32Shutdown Method & Win2003

2005-12-13 Thread Blair, James
: [ActiveDir] Win32Shutdown Method & Win2003 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...   http://support.microsoft.com/default.aspx?scid=kb;en-us;31499

RE: [ActiveDir] Win32Shutdown Method & Win2003

2005-12-13 Thread Blair, James
.com/default.aspx?scid=kb;en-us;297267   James     From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steve ShaffSent: Wednesday, 14 December 2005 10:38 AMTo: ActiveDir@mail.activedir.orgSubject: RE: [ActiveDir] Win32Shutdown Method & Win2003 The shutdown command works.  Giv

RE: [ActiveDir] Win32Shutdown Method & Win2003

2005-12-13 Thread Steve Shaff
The shutdown command works.  Give that a shot. S   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Harding, Devon Sent: Tuesday, December 13, 2005 2:34 PM To: ActiveDir@mail.activedir.org Subject: [ActiveDir] Win32Shutdown Method & Win2003   I’m using

[ActiveDir] Win32Shutdown Method & Win2003

2005-12-13 Thread 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_Operat