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
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
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
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
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]
[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
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,
@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
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
, 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
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:
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
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
(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
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
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
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
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
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
: 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
)
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
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
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
] [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
: [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
.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
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
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
28 matches
Mail list logo