Is it possible to schedule automatic reboots in Windows Server 2003? I'm looking for a way to have my servers automatically reboot themselves every other night. Thanks.
<---Begin of file @shutdown /r /t 2 /f /c "Message recorded in Event"
<---End of file
place file into the \winnt or \windows directory
then from Control Panel->Scheduled Tasks
Setup a schedule to execute the batch file
the /r means shutdown and Restart
the /t # means how long to wait in seconds
the /f means force any running apps to close
the /c "*%#$%" means the comment to place in Event Log
not including the /c will cause a dialog to appere after restart waiting for you to tell the server why the system rebooted. You can turn this off however placing the comment in the event log is a good idea.
<---Begin of file @shutdown /r /t 2 /f /c "Message recorded in Event"
<---End of file
place file into the \winnt or \windows directory
then from Control Panel->Scheduled Tasks
Setup a schedule to execute the batch file
the /r means shutdown and Restart
the /t # means how long to wait in seconds
the /f means force any running apps to close
the /c "*%#$%" means the comment to place in Event Log
not including the /c will cause a dialog to appere after restart waiting for you to tell the server why the system rebooted. You can turn this off however placing the comment in the event log is a good idea.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.