{"id":1658,"date":"2022-02-02T10:14:33","date_gmt":"2022-02-02T08:14:33","guid":{"rendered":"https:\/\/helia.ee\/koolitus\/?page_id=1658"},"modified":"2022-02-02T10:14:33","modified_gmt":"2022-02-02T08:14:33","slug":"windows-server-2019-schedule-pc-reboot-via-group-policy","status":"publish","type":"page","link":"https:\/\/helia.ee\/koolitus\/?page_id=1658","title":{"rendered":"Windows Server 2019 &#8211; Schedule PC reboot via group policy"},"content":{"rendered":"<div class=\"widget widget-nopad smallmargin\">\n<div class=\"widget-content\">\n<div id=\"question-container-256565\" class=\"post-container question-container\">\n<div id=\"question-256565\" class=\"question post col-sm-11\">\n<h2 class=\"question-title\">Schedule PC reboot via group policy with user interactoins<\/h2>\n<div class=\"question-body post-body\" data-markup-language=\"wmd-escaped\">\n<p>Good day everyone,I have been asked to schedule a reboot of all PCs on a network once a week. I implemented the standard Group Policy which deploys a scheduled task pointing to shutdown.exe, but the client isn&#8217;t happy that the users don&#8217;t receive warnings etc&#8230;So the parameters which they have set out are as follows:<\/p>\n<p>&#8220;What we looking for is<\/p>\n<ol>\n<li>Warning to the user that the system will reboot ..eg 15min<\/li>\n<li>Count down showing when the system will reboot<\/li>\n<li>snooze option that will reschedule the reboot for another day or so<\/li>\n<li>if the user didn\u2019t reboot during the snooze period then he will be forced to reboot<\/li>\n<\/ol>\n<p>&#8221;<\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"widget widget-nopad answer-list\">\n<div class=\"widget-content\">\n<div id=\"answer-container-256966\" class=\"post-container answer-container \">\n<div id=\"answer-256966\" class=\"answer post col-sm-11\">\n<div class=\"answer-body\" data-markup-language=\"wmd-escaped\">\n<p>1.Create an OU and put domain user accounts into this OU.<br \/>\n2.Create a GPO and link this GPO to OU above.<br \/>\n3.Edit the GPO as below.<\/p>\n<p>4. User Configuration\\Preferences\\Control Panel Settings\\Scheduled Tasks\\right click Scheduled Tasks\\New\\Scheduled Tasks(at least Windows 7)<br \/>\n<img decoding=\"async\" src=\"https:\/\/docs.microsoft.com\/answers\/storage\/attachments\/63472-s1.png\" alt=\"63472-s1.png\" \/><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/docs.microsoft.com\/answers\/storage\/attachments\/63405-s2.png\" alt=\"63405-s2.png\" \/><\/p>\n<p>In my case, it it 20 seconds (you can set 900 seconds).<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/docs.microsoft.com\/answers\/storage\/attachments\/63419-s3.png\" alt=\"63419-s3.png\" \/><\/p>\n<p>4.Logon one domain client using one account in the OU above.<\/p>\n<p>5.When the machine update the GPO and it will prompt the user in 20 seconds when the machine will restart.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/docs.microsoft.com\/answers\/storage\/attachments\/63420-s4.png\" alt=\"63420-s4.png\" \/><\/p>\n<p>Hope the information above is helpful.<\/p>\n<p>Should you have any question or concern, please feel free to let us know.<\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Schedule PC reboot via group policy with user interactoins Good day everyone,I have been asked to schedule a reboot of all PCs on a network once a week. I implemented the standard Group Policy which deploys a scheduled task pointing to shutdown.exe, but the client isn&#8217;t happy that the users don&#8217;t receive warnings etc&#8230;So the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":1304,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"class_list":["post-1658","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/helia.ee\/koolitus\/index.php?rest_route=\/wp\/v2\/pages\/1658","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/helia.ee\/koolitus\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/helia.ee\/koolitus\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/helia.ee\/koolitus\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/helia.ee\/koolitus\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1658"}],"version-history":[{"count":1,"href":"https:\/\/helia.ee\/koolitus\/index.php?rest_route=\/wp\/v2\/pages\/1658\/revisions"}],"predecessor-version":[{"id":1659,"href":"https:\/\/helia.ee\/koolitus\/index.php?rest_route=\/wp\/v2\/pages\/1658\/revisions\/1659"}],"up":[{"embeddable":true,"href":"https:\/\/helia.ee\/koolitus\/index.php?rest_route=\/wp\/v2\/pages\/1304"}],"wp:attachment":[{"href":"https:\/\/helia.ee\/koolitus\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1658"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}