forcing a reboot via GPO

G

Guest

Is it possible to force a reboot at a specified time of Windows 2000 machines in AD using a GPO. I am looking to assign a package but I dont believe some of the machines are ever switched off, so the package will never be applied (at startup). It is important that all the machines have it installed so I was hoping I could force a reboot during the night sometime.

Is this possible?

Many Thanks
John
 
C

Chriss3

Assign the VB script within a Group Policy , within a Startup Script.

HOW TO: Assign Scripts in Windows 2000:
http://support.microsoft.com/default.aspx?scid=kb;en-us;322241

strComputer = "."
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")
Set objNewJob = objWMIService.Get("Win32_ScheduledJob")
errJobCreated = objNewJob.Create _
("shutdown -r", "********123000.000000-420", _
True , 1 OR 4 OR 16, , , JobID)
Wscript.Echo errJobCreated

Note the shutdown.exe utility are included within WindowsXP and Windows
Server 2003, How you can obtain the tool from Windows 2000 RESKIT for
windows2000 computers.

--
Regards,

Christoffer Andersson
No email replies please - reply in the newsgroup
If the information was help full, you can let me know at:
http://www.itsystem.se/employers.asp?ID=1

john said:
Is it possible to force a reboot at a specified time of Windows 2000
machines in AD using a GPO. I am looking to assign a package but I dont
believe some of the machines are ever switched off, so the package will
never be applied (at startup). It is important that all the machines have
it installed so I was hoping I could force a reboot during the night
sometime.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top