hello,
i have a problem to do a vbs scrpit who can reboot my
machine.
I have make a script like that:
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate,(Shutdown)}!\\" )
Set colOperatingSystems = objWMIService.ExecQuery _
("Select * from Win32_OperatingSystem")
For Each objOperatingSystem in colOperatingSystems
ObjOperatingSystem.Reboot()
Next
When i execute the script when i'm log, they restart work
perfectly. But when i execute it with Ghost in command
mode, they don't work !!
Have somone to make a reboot with delay ?! Or for forcing
reboot ?
>> Stay informed about: Restart with VBS