Stop Windows from restarting automatically after Windows Update

One of the annoying things about Windows 10/8 is the “Windows Update will restart” message. I have seen some users reporting that it restarts when you are in the middle of doing something or it may say that I will automatically restart after 1 day. Well, there are ways to disable Windows auto-restart after Windows Updates. One by using the Group Policy Editor and the other via the Windows Registry. Windows 10 also offers you an additional option.

Stop automatic restarts after Windows Update

pc will restart

Disable automatic reboot after Windows Update using Group Policy

This is how you proceed:

  • Press Win + R and type in gpedit.msc

Stop automatic restarts after Windows Update

  • Go to Computer Configuration –> Administrative Template –> Windows Component –> Windows Update


  • Right click on “No auto-restart with logged on users for scheduled automatic updates installations


  • Select “Enable” click on Apply and click on OK.

Prevent Windows Update Automatic Restart using Registry Editor

Open the Registry Editor and navigate to the following key:


If you don’t see it, create one. You may have to create \WindowsUpdate\AU.

Now under this key, create a new 32-bit DWORD called NoAutoRebootWithLoggedOnUsers and give it a hexadecimal value data of 1. This will prevent automatic reboot while users are logged on.

This should stop Windows from automatically restarting your computer after Windows Updates.

Use Quiet Hours in Windows 10

Windows 10, in its Windows Update Settings, offers an option to Notify to schedule restart. However, in Windows 10 Anniversary Update you will have to use Quiet Hours.

Did you know? Windows 10/8 now lets you force automatic restart after Windows Updates.

Posted by on , in Category Windows with Tags
Shyam aka “Captain Jack” is a Microsoft MVP alumnus and a Windows Enthusiast with an interest in Advanced Windows troubleshooting. Suggestions made and opinions expressed by him here are his personal one's and not of his current employers. He blogs at


  1. Phil

    This should be the default. it is shameful that we need to jump through this level of configuration to prevent an invasaive, work-losing reboot.

  2. Kate

    Once the updates have been done, sometimes your machine is in a weird state (eg one DLL has been replaced but a companion one has not, and will be during the restart) and you really should reboot sooner rather than later. If you change your update settings to “download and notify me” not only can you control when you install them (picking a time when a reboot would be ok) but after doing them it will not reboot until you let it. No need to go into group policy or registry. Do try to reboot as soon after the updates as you can, but control it yourself so you can save everything first.

  3. Exactly. A simple notification stating, “Windows has been updated. Save opened files and restart as soon as possible” or something similar would suffice.

  4. ulan bat

    This was designed by idiots. What in the world they were thinking.

  5. Kyle

    using regedit, I found the NoAutoRebootWithLoggedOnUsers – and its hexadecimal is already set to 1, and yet my computer force restarts after every update. I do not have gpedit.msc so I cannot try that method.

  6. George Tomlinson

    Yeah this is such a ridiculous setup. What if someone is trading in the stock market when it happens for example: they could lose a ton of momey. Worse still, in an emergency situation someone could die.

  7. George Tomlinson

    Yeah the message I used to see which said a restart is required and an automatic restart will take place in 1 day if you choose not to restart now was fine I thought.

  8. Amit Kulkarni

    Doing as mentioned above does not work. I still got rebooted after a Windows Update

  9. Luke Chavers

    I have followed both approaches; policy editor and regedit (they both do the same thing, anyway) and my comp still reboots every few days, fails to update, and rolls back the update. I am literally about to drop Windows and go Linux over this.

Leave a Reply

Your email address will not be published. Required fields are marked *

9 + 5 =