How to Set the Computer to be Rebooted Weekly
It is advisable to reboot your PCs periodically. A PC running IVM for instance should be rebooted weekly. To do so, just follow the instructions below.
- First off be clear which operating system you are using Windows 98, Windows Me, Windows NT, Windows 2000, Windows XP (home or professional), Windows 2003 Server. The process varies with your operating system
- A utility program is required for Windows NT based operating systems. Windows NT and 2000 do not usually ship with this utility program. You can download a version here.
- Unzip the file downloaded from above and copy it into the following folder: (do not overwrite any existing file if prompted)
For Windows 2000 - C:\Windows\System32 or For Windows NT - C:\WINNT\System32
Then...
A) For Windows NT Only
- First get the shutdown.zip utility as detailed above.
- Open the Dos Command prompt and type:
AT 01:00 /EVERY:Sunday CMD "SHUTDOWN.EXE -r -f -t 01"
Note: 01:00 is 1am (24 hour clock) and is the time the shutdown happens.
That's it!
or...
B) For Windows 98/2000/XP/2003 Server
- Start the Task Scheduler. Under Windows 2000/XP this is located in Start Menu > Programs > Accessories > System Tools.
- Check that the Task Scheduler is running. You may do this by checking the Advanced menu and seeing if it lists 'Stop Using Task Scheduler'. If it is listed, this means the Task Scheduler is running. If it says 'Start Using Task Scheduler' then the Task Scheduler is not running. Click on the option to start it.
- Now create a new task by selecting the File menu and then the sub-option New and then the sub-sub-option Scheduled Task. Rename the new task something like Reboot. Double click on the new task
- First lets set the time. Click on the tab Schedule and select Weekly for 'Schedule Task'. Now select the day and time. Normally a weekend day (Sunday say) and a time at night (say 1am) to ensure no-one is using the system at the time.
- Now to set what is to run. Click back on the tab Task. Click set password and enter the password you use to log-on to Windows. This will ensure the reboot happens even if you are not logged on at the time.
- In the field 'Run' you now enter:
For Windows 98/ME - RUNONCE.EXE -q
For Windows 2000/XP/2003 Server - SHUTDOWN.EXE -r -f -t 01
That's it! Click the Ok button and you are done.
This Applies to the Following Programs