How often have you sat down at your computer and your logged off? What happened you say to yourself? You log back in and Windows kindly mentions to you that it had restarted because of Windows updates. Well what if you had a bunch of stuff open? Yeah Windows doesn’t care, it just reboots. Well I am here to help solve all your problems and put a smile on your face. Lets start with Enabling the No Automatic Restart if User is logged in option.
Click the Start menu and type “gpedit.msc” (without quotes) in the search line and press the enter key. This will launch the Local Group Policy Editor. On the left side of Local Group Policy Editor, expand to Computer Configuration > Administrative Templates > Windows Components. Then scroll down and select Windows Update. Double click “No auto-restart with logged on users for scheduled automatic updates installations” option. In the properties window that appears, change the option from “Not Configured” to “Enabled”. Click “OK” and close Local Group Policy Editor.
Here is the Microsoft Explanation of the Group Policy Object
Specifies that to complete a scheduled installation, Automatic Updates will wait for the computer to be restarted by any user who is logged on, instead of causing the computer to restart automatically.
If the status is set to Enabled, Automatic Updates will not restart a computer automatically during a scheduled installation if a user is logged in to the computer. Instead, Automatic Updates will notify the user to restart the computer.
Be aware that the computer needs to be restarted for the updates to take effect.
There is also a switch that lets you modify how often Windows reminds you with a pop up that a restart needs to be performed. The setting is called, ” Re-Prompt for restart with scheduled installations” Set this to enabled and specify say 60 minutes.
Now open command prompt and type “gpupdate /force” like below.
User Policy update has completed successfully.
Computer Policy update has completed successfully.
Your PC will now NOT restart automatically, but will remind you every 60 minutes to restart. Much better than coming to your PC and its restarting, or you see that it has restarted, so annoying sometimes!
Have a great weekend!