Hello!
I am trying to run a vbscript that performs a reboot on a windows 2003
server.
This script has worked well in windows 2000, but now it quits with
complaints about rights.
=================================
The script:
Dim oShutdown, oOPSys
Set oShutdown =
GetObject("winmgmts:{impersonationlevel=impersonate,(RemoteShutdown)}\\192.1
68.25.254").Execquery("Select * From win32_operatingsystem")
For Each oOPsys In oShutdown
oOPsys.win32shutdown(2+4)
Next
=================================
Do i have to make some other system call to perform a reboot on
a windows 2003 server?
Thanks for listening...
Br,
Christian O.
chot@home.se