Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Automatic Restarts

Status
Not open for further replies.

tdenitti

MIS
Aug 24, 2001
68
US
How can i create Automatic Restarts with Windows 2003> I want windows to restart every saturday morning.
 
Create a scheduled task for the time you want the server restarted...point it to a batch file containing the line:

"shutdown -r -f -c "Saturday morning restart" (This will log the shutdown in Event Viewer with the description in quotes).
 
Good question! the "-r" switch specifies RESTART.

Might want to test it at a time that you can easily access the server physically to turn it back on, if you're worried.

"shutdown -?" at the command line will give you all of the associated options.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top