Frequently restarting your computer on a weekly or regular schedule can boost its performance by eliminating temporary files, refreshing the RAM, and closing unnecessary applications. Moreover, a reboot enhances reliability by ensuring the system operates with optimal resources, free from unwanted running applications.
This article provides a step-by-step guide on scheduling a restart for your Windows VPS server 2008/2012 using the Windows Task Scheduler.
Please refer to the scheduled reboot on windows server 2012.
1. Log in to your Window VPS remote desktop. Please refer to how to connect windows VPS using RDP for more details.
2. Open Run prompt, type taskschd.msc, and click ok.
3. Now Go to Action >> Create task.
4. Set your task name and select your Windows VPS operating system from the dropdown.
5. Now, Go to the Trigger tab and schedule the reboot time. 
6. Now set the reboot action by adding the command C:\Windows\System32\shutdown.exe with add argument /r and click ok. 
Finally done!! This VPS is now set to reboot every weekend.
→ Looking to set a scheduled task in SolidCP? Please refer to set scheduled task in SolidCP for more details.
→ Looking to set a scheduled task in Plesk? Please refer to set scheduled task in Plesk for more details.
That's all.