{"id":2095,"date":"2022-11-03T09:10:58","date_gmt":"2022-11-03T15:10:58","guid":{"rendered":"https:\/\/www.RiptideHosting.com\/blog\/?p=2095"},"modified":"2022-11-03T10:54:56","modified_gmt":"2022-11-03T16:54:56","slug":"how-to-create-a-scheduled-task-for-windows-reboots","status":"publish","type":"post","link":"https:\/\/www.RiptideHosting.com\/blog\/how-to-create-a-scheduled-task-for-windows-reboots\/","title":{"rendered":"How to create a scheduled task for Windows Reboots"},"content":{"rendered":"\n<p>Creating a scheduled task to reboot your Windows machine every night or once per week may help avoid issues such as frozen applications, windows issues where CPU or ram usage gets stuck at a high level, windows updates problems, and especially if you have an older database application that can benefit from frequent reboots. <\/p>\n\n\n\n<p>Note: the scheduled task will reboot the machine even if other users are active &#8211; they will get message on the desktop saying &#8220;you will be signed out in approx 1 minute&#8221; or something like that.<\/p>\n\n\n\n<p>STEPS TO CREATE  A SCHEDULE TASK FOR AUTOMATIC REBOOTS<\/p>\n\n\n\n<p>Login to machine with an account with admin rights.<br>Open &#8220;Task Scheduler&#8221;, then Action &#8211;&gt; create task<\/p>\n\n\n\n<p>GENERAL TAB:<br>Name: call it Reboot Server Nightly or use another name you want<br>Author: administrator <br>Description: Reboot Server [Nightly at Xpm\/am]<br>Security Options:<br>Select: run whether user is logged in or not<br>Select: run with highest privileges<\/p>\n\n\n\n<p>TRIGGERS TAB:<br>Run \u201cdaily\u201d at Xpm\/am \u2013 make sure &#8220;enabled&#8221; is checked at the bottom <\/p>\n\n\n\n<p>ACTIONS TAB:<br>Action = start a program<br>Details, in program\/script field = c:\\Windows\\System32\\shutdown.exe<br>Details, in add arguments (optional) field = \/r<\/p>\n\n\n\n<p>That is all you need to do.  You can monitor the machine to verify that it is working.  If you ever want to see when the last time the server was rebooted, you can type this command to see that.<br>Open command prompt and type:<br>systeminfo | find \/i \u201cBoot Time\u201d<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Creating a scheduled task to reboot your Windows machine every night or once per week may help avoid issues such as frozen applications, windows issues where CPU or ram usage gets stuck at a high level, windows updates problems, and especially if you have an older database application that can benefit from frequent reboots. Note: [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,99,111],"tags":[113,112],"class_list":["post-2095","post","type-post","status-publish","format-standard","hentry","category-all-posts","category-windows-server-2019","category-windows-server-2022","tag-windows-automatic-reboot","tag-windows-schedule-task"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.RiptideHosting.com\/blog\/wp-json\/wp\/v2\/posts\/2095","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.RiptideHosting.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.RiptideHosting.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.RiptideHosting.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.RiptideHosting.com\/blog\/wp-json\/wp\/v2\/comments?post=2095"}],"version-history":[{"count":2,"href":"https:\/\/www.RiptideHosting.com\/blog\/wp-json\/wp\/v2\/posts\/2095\/revisions"}],"predecessor-version":[{"id":2097,"href":"https:\/\/www.RiptideHosting.com\/blog\/wp-json\/wp\/v2\/posts\/2095\/revisions\/2097"}],"wp:attachment":[{"href":"https:\/\/www.RiptideHosting.com\/blog\/wp-json\/wp\/v2\/media?parent=2095"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.RiptideHosting.com\/blog\/wp-json\/wp\/v2\/categories?post=2095"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.RiptideHosting.com\/blog\/wp-json\/wp\/v2\/tags?post=2095"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}