Discussion Locked

Scheduled reboot of server

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Is it possible to schedule an automatic reboot of NT server on a nightly basis?
If so, how?

3 replies

by syscokid

Yes, using the AT command and the shutdown.exe utility that comes with the Resource Kit.

Make sure the Schedule service is running on the server, and that shutdown is installed somewhere.

At the command prompt type:

AT 23:00 /every:Su,M,Tu,W,Th,F,Sa "C:
\wherever\shutdown.exe /R /Y"

This would reboot the server every night at 11:00PM.

You can get full syntax for the commands by typing AT /? and shutdown /? at the prompt.

This discussion is closed to new replies.