Tip: Schedule Restart After Hours

Filed under: — By Aviran Mordo @ 4:20 am

When you run a server or even you own desktop you probably do not want to restart your machine during work hours, this especially concern servers which should run 24/7. However sometimes when you install a new program or after you run Windows Update you need to restart the machine in order to complete the installation. Fortunately you can schedule the time your machine restart by using Windows own task scheduler.

Here is how you do it:

  • Go to Start->All Programs->Accessories->System Tools->Scheduled Tasks
  • Double-click Add Scheduled Task
  • Click Next and on the next screen click Browse
  • Under %SystemRoot%\System32 folder, select the program called Shutdown.exe
  • In the next screen choose the name and select One time only
  • Click Next and fill in the time you want this shutdown (and restart) task to run
  • Click Next and fill in your user name and password
  • Click Nextand CHECK the box named: “Open advanced properties for this task when I click Finish”
  • Click Finish - Now the advance screen will appear
  • This is very important step: In the Run box you need to add parameters to the command line in order for the system to restart. After shutdown.exe add the parameters -r -t 00 so you’ll end up with something like this in the Run box: C:\WINDOWS\System32\Shutdown.exe -r -t 00
  • Click OK and you are done. (You may need to enter your user name and password again)


Leave a Reply

You must have Javascript enabled in order to submit comments.

All fields are optional (except comment).
Some comments may be held for moderation (depends on spam filter) and not show up immediately.
Links will automatically get rel="nofollow" attribute to deter spammers.

Powered by WordPress