Restarting your computer periodically is a good idea, especially if it’s a computer that is left on much of the time. In Windows 7, you can easily schedule an after hours reboot by following these steps:
Press Start, and in the search box type “Task Scheduler.” Atop your list of choices will be the Task Scheduler. Click it.
Click theAction menu and then selectCreate Basic task.
Choose a name for the task (like AutoReboot), type it in theNamebox and clickNext.
SelectDaily (if you want a daily reboot) and clickNext
Type the time you want to restart the computer, set recurrence to your liking, and clickNext.
SelectStart a programand clickNext.
ClickBrowseand navigate to%SystemRoot%\System32 (that’s going to be C:\Windows\System32 for most people). Find the file named Shutdown (.exe) and clickOpen. Type /F /Rin theAdd arguments (optional)box and clickNext.
Now your computer will automatically restart at the date, time, and frequency you specified.
If you’re going to have a scheduled task like this in place, make sure to develop the habit of closing documents and programs when you’re done using them, so the reboot won’t close them for you and cause you to lose unsaved work.