4 Ways to Disable Windows 10 Automatic Restart

Disable system restart after Windows Updates installationDisable system restart after Windows Updates installation

With Windows 10, Microsoft makes it difficult to turn off or disable the Windows Update function . While it is important to keep your operating system updated, the automatic system restart after every update makes it more annoying.

In this article, we will discuss possible ways to disable Windows 10 automatic restart, especially after installing the update or on system failure. This will save you from annoyance and sudden data loss.

Please note that the following tips are to disable Windows 10 automatic restart for future updates. If you have already installed Windows updates and want to disable the restart process, you may refer to the following article:

Disable or Bypass Pending Updates On Restart/Shutdown In Windows 10

Disable Automatic Restart Using Group Policy Editor

There are two ways to prevent automatic restart of the computer using the Group Policy Editor.

5 Ways To Check If Your Account Has...
5 Ways To Check If Your Account Has Admin Rights On Windows
  • By configuring the automatic updates policy
  • By configuring the No Auto-Restart Policy

We will discuss both ways here.

Enable the Configure Automatic Updates Policy

  1. Open the Group Policy editor by typing in gpedit.msc in the Run Command box.

    gpedit msc
    Open Group Policy editor
  2. Now navigate to the following from the left pane:

    Computer Configuration >> Administrative Templates >> Windows Components >> Windows Update
  3. Here, double-click the policy “Configure automatic updates.”

    Open policy
    Open policy
  4. Select the Enabled radio button, and then click Apply and Ok.

    Enable the policy
    Enable the policy
  5. Now run the following cmdlet in an elevated Command Prompt for the changes to be implemented.

    gpupdate /force
    gpupdate force latest
    Implement changes
  6. Now open the Windows Update Settings page and you shall see the following written there:

    Some settings are managed by your organization
    advanced option group policy
    Settings managed by organization message

    This means that the group policy we had previously enabled has been applied. You may now click Check for Updates, and the updates will be installed, but will only apply when you click Install Now.

  7. When you are ready to update your PC, click Install now, and then manually restart your computer to finalize it.

Enable the No Auto-Restart Policy

  1. Open the Group Policy editor by typing in gpedit.msc in the Run Command box.

    gpedit msc
    Open Group Policy editor
  2. Now navigate to the following from the left pane:

    Computer Configuration >> Administrative Templates >> Windows Components >> Windows Update
  3. In the right pane, double-click “No auto-restart with logged on users for scheduled automatic update installations.”

    Open policy 2
    Open policy settings
  4. From the Policy Properties window, select the Enabled radio button, and then click Apply and Ok.

    Enable the policy 2
    Enable the policy
  5. Now run the following cmdlet in an elevated Command Prompt for the changes to be implemented.

    gpupdate /force
    gpupdate force latest
    Implement changes

Now, your computer won’t restart automatically and the Windows updates will be enforced when you reboot it manually.

Disable Automatic Restart Using Registry Editor

You can also prevent your Windows PC from rebooting automatically through the Registry editor. Adopting this method will ensure that the computer doesn’t restart as long as a user is logged in.

Note: Misconfiguration of critical values in the system’s registry could be fatal for your operating system. Therefore, we insist that you create a system restore point before proceeding forward with the process.

  1. Open the Windows Registry editor by typing in regedit in the Run Command box.

    regedit
    Open Registry editor
  2. Now paste the following in the address bar at the top for quick navigation:

    Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows
    Quick navigation in Registry editor 2
    Quick navigation in Registry editor
  3. Now right-click on the Windows key, expand New, and then click Key from the context menu. Name this key “WindowsUpdate.”

    Create new WindowsUpdate key
    Create new WindowsUpdate key
  4. Now right-click the newly-created “WindowsUpdate” key, expand New, and then click Key again. Name this key “AU.”

    Create new AU key
    Create new “AU” key
  5. Now right-click on the newly-created “AU” key, expand New, and then click DWORD (32-bit) Value from the context menu. Name this DWRD “NoAutoBootWithLoggedOnUsers.”

    Create new NoAutoBootWithLoggedOnUsers DWORD
    Create new NoAutoBootWithLoggedOnUsers DWORD
  6. Now double-click on the “NoAutoBootWithLoggedOnUsers” DWORD, change its Value Data to 1, and then click Ok.

    Configure Value Data
    Configure Value Data
  7. Now restart your computer for the changes to take effect

This will disable automatic Windows 10 restart when a user is logged on to the computer.

Disable Automatic Restart using the Task Scheduler

By default, Windows 10 is bound to reboot after it has downloaded and installed Windows updates. This is a task that is already scheduled in the Task Scheduler. This utility is used to perform a series of tasks in a routine, or if they are triggered by an event.

This method is especially useful for Windows 10 Home users who don’t have a Group Policy editor on their systems.

Learn how to install gpedit.msc in Windows 10 Home.

  1. Open the Task Scheduler by typing in taskschd.msc in the Run Command box.

    taskschd
    Open Task Scheduler
  2. In the Task Scheduler, navigate to the following in the left pane:

    Task Scheduler Library >> Microsoft >> Windows >> UpdateOchestrator
  3. In the middle pane, right-click Reboot_AC and click Disable.

  4. Then right-click Reboot_Battery and click Disable.

    Disable automated tasks
    Disable automated tasks

By performing the above steps, the computer will not restart without your input.

Stop Automatic Restart on System Failure (BSOD)

Follow these steps to stop automatic restart if there is a critical system failure or if the system encounters a Blue Screen of Death.

  1. Open the Advanced System Settings window by typing in systempropertiesadvanced in the Run Command box. This will open the Advanced tab directly.

    systempropertiesadvanced
    Open Advanced System Properties

    You can also open Advanced System Properties by going to Windows Settings > System > About > Advanced System Settings.

  2. Here, click Settings under Startup and Recovery.

    Startup and Recovery settings
    Startup and Recovery settings
  3. Now uncheck the box next to Automatic restart under System failure and then click Ok

    Disable automatic restart
    Disable automatic restart

    This stops the computer to restart on system failure.

  4. Click Ok again on the System Properties window to close it.

Now your computer will not reboot even if it fails entirely, and you will likely not see a Blue Screen of Death. However, we do not recommend that you do this since the BSoD is there to prevent permanent damage to your system.

How many times have you been drawn back by the automatic restart feature in Windows 10?

If you liked this post, Share it on:

Get Updates in Your Inbox

Sign up for the regular updates and be the first to know about the latest tech information

Subhan Zafar is an established IT professional with interests in Windows and Server infrastructure testing and research, and is currently working with Itechtics as a research consultant. He has studied Electrical Engineering and is also certified by Huawei (HCNA & HCNP Routing and Switching).

8 comments

  • Joe

    Wow, that’s a lot of complicated steps just to stop my computer from automatically restarting itself every night after it automatically updates itself.

  • WK

    This is the best article I have found on disabling auto restart. One issue: the HTML markup for the following commands is not displayed correctly. It comes out as:
    gpupdate /force
    gpedit.msc
    (disregard previous message)

  • Mistee

    I just tried doing this and it told me that ‘under this account you do not have permission to perform this action’ or some such. But I am the administrator as it is /my/ computer. How do I not have access, and how do I give myself access to do this? This is literally the only thing I can’t change to stop my computer from rebooting every single night due to an update that continuously fails to go through.

  • Carlos

    Does this methods also prevent Windows 10 from auto-restarting while in hibernation / sleep mode? I always put my computer on hibernation / deep sleep before I go to sleep. Sometimes, I wake up and see that it’s on, and on the log-on screen.

    When entering the Event Viewer, I see that auto restart due to update(s) has taken place during night. I have the “No auto-restart with logged on users..” in gpedit.msc before, but this doesn’t seem to have had effect.

    Maybe users are not considered “logged in” when session is disconnected (computer is in sleep mode*) … ? Can’t find any other logical explanation to this!

  • SZ

    @Clayto
    My advise is to avoid Windows Home completely. Computers where Windows Home is preinstalled are usually consumer grade quality and thus build-quality is substantially lower, especially for laptops.
    Computers which have Windows Professional (previously Windows Business) pre-installed are usually business grade computers. Next to better build-quality they are easier for maintenance, e.g. for repair of a defective hard disk, upgrading memory or installing extra storage (an extra hard-disk or ssd inside a desktop pc of 17″ laptop, replacing hdd/ssd with a larger one in a 15″ or smaller laptop) is easier on a business grade computer. Business grade computers often can be opened with less or without tools, and especially on laptops one needs to remove less components to reach the memory slotss, storage bays or defective components.

  • bepi

    none of the proposed options worked for me , it still reboots itself whenever it wants

  • Clayto

    At least you do mention GPEditor is not by default available in Home. My only attempt to install and use it years ago ended in a mess. I was advice to keep clear of it in Home.

Leave your comment