You want reboot your PC automatically, on a schedule that you specify.
Using a graphical user interface
Some people believe a periodic reboot is required to keep Windows snappy. Indeed, some updates for virus protection and security policies require a reboot to either take effect or poll network resources for updates and policy changes. So it's a good idea to reboot Windows every once in a while, even if it doesn't seem as if it's needed.
Recipe 10.12 for scheduling a task and Recipe Recipe 6.16 for creating a reboot or shutdown shortcut