How to Turn Off Automatic Restart on Windows 10

You may have already noticed that Windows 10 sometimes decides to simply restart itself in the worst possible time. Users sometimes leave their computers turned on to download something or to buffer a video but Windows forcefully restarts itself if a new update has been downloaded.

The option to turn off automatic restarts is present by setting the active hours on your PC but users have reported that Windows sometimes overrides these settings and restarts no matter what. There are several solutions to this problem and they will completely prevent this functionality from occurring on your PC ever again.

Losing data to this feature has angered plenty of users and that is the reason why they are constantly urging Microsoft to stop enforcing updates and restarts on its users. Follow the solutions presented below in order to prevent Windows 10 from restarting automatically.

Solution 1: Tweaking the Group Policy Settings or Registry

The first solution on display is quite a powerful one and it lets you access certain settings which are not available through the regular method in Settings or in Control Panel. This way you can choose several extra settings on how the updates are delivered to your computer and hopefully prevent Windows 10 from restarting without notifying you.

  1. Hold the Windows key and press the R button from your keyboard.
  2. Enter “gpedit.msc” in the Run dialog box, and press the OK button in order to open the Group Policy Editor.

  1. On the left section of Local Group Policy Editor, under Computer Configuration, double click on Administrative Templates, and navigate to the Windows Components >> Windows Update.
  2. Select the Windows Update folder, and navigate to its right side section. Double-click on the Configure Automatic Updates option and enable this policy by switching the radio button at the top of the windows to Enabled.

  1. Check under the Configure automatic updating and choose the option which works the best for you. The optimal option is the Auto download and notify to install which will download the updates automatically but wait for your approval to install.
  2. In order to check if the setting has been applied, open up the Settings app by clicking on the Start menu button and tapping the gear icon. Navigate to Update & Security >> Windows Update >> Advanced Options. You should see the option you set in grey, unable to be changed.

Alternative: If you are somehow unable to access the Local Group Policy Settings on your computer, the second method is to simply use the Registry Editor for the same process. Note that you should be quite careful when editing the registry as a simple unwanted change can cause system instability.

Follow the instructions on this backup registry article in order to safely backup your registry!

  1. Open the Registry Editor by typing this into the Start menu or in the search bar located at the left part of the taskbar. You can also open the Run dialog box and type in “regedit”.

  1. Navigate to the following key in the registry editor:

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate\AU

Note: If some of these keys do not exist, you will need to create them manually by clicking on the destination key, right-clicking on the empty space in the right section of the screen and choosing the New >> Key option. Make sure you name it correctly.

  1. Right-click on the right section of the Registry Editor window and click on New >> DWORD (32-bit) Value.
  2. Set its name to AUOptions and set its value to either 2 or 3 according to the option you want.

2 = Notify before download
3 = Automatically download and notify of installation

  1. Restart your PC in order to save the changes. In order to check if the setting has been applied, open up the Settings app by clicking on the Start menu button and tapping the gear icon. Navigate to Update & Security >> Windows Update >> Advanced Options. You should see the option you set in grey, unable to be changed.

Solution 2: Another Registry and Group Policy Fix

If the solution above did not work for you, you can always try this one out as plenty of users have suggested that this did the trick on their PC instantly. There are also two ways to approach this problem: via registry or via Group Policy settings.

  1. Hold the Windows key and press the R button from your keyboard.
  2. Enter “gpedit.msc” in the Run dialog box, and press the OK button in order to open the Group Policy Editor.

  1. On the left section of Local Group Policy Editor, under Computer Configuration, double click on Administrative Templates, and navigate to the Windows Components >> Windows Update.
  2. Double-click on the No auto-restart with logged on users for scheduled automatic updates installations and enable this policy by switching the radio button at the top of the windows to Enabled.

Via Registry:

  1. Open the Registry Editor by typing this into the Start menu or in the search bar located at the left part of the taskbar. You can also open the Run dialog box and type in “regedit”.
  2. Navigate to the following key in the registry editor:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update

Note: If some of these keys do not exist, you will need to create them manually.

  1. Right-click on the right section of the Registry Editor window and click on New >> DWORD (32-bit) Value.

  1. Set its name to NoAutoRebootWithLoggedOnUsers and set its value to 1.
  2. Restart your PC in order to save the changes.

Solution 3: Disabling a Task in Task Scheduler

Windows 10’s UpdateOrchestrator scheduled task folder contains a task called “reboot”. This task will wake your computer up to install updates regardless of whether or not any are available. Simply removing its permission to wake the computer is not sufficient; Windows will just edit it to give itself permission again after you leave the Task Scheduler.

  1. From the Control Panel, enter Administrative Tools and open your Task Scheduler.
  2. The task is located under Task Scheduler Library >> Microsoft >> Windows >> UpdateOrchestrator. You need to understand that changing the options in Task Scheduler won’t do any good as Windows will immediately revert them after you exit.

  1. From here, you will need to change the permissions for the task so that Windows can’t use it at all. The task is located in the following location:

C:\Windows\System32\Tasks\Microsoft\Windows\UpdateOrchestrator.

  1. It’s called “Reboot and it does not have an extension.

You will need to make yourself the owner of the file by following the instructions below. This is somewhat difficult to follow but it’s necessary in order to disable the task from occurring.

  1. Right click on the Reboot file and select Properties from context menu.
  2. Now select the Security tab to access the NTFS permissions and click on the Advanced button.

  1. Once in the Advanced security window, click on “Change” located at the front of Owner filed.
  2. Now click on the Advanced button on the next window that comes forth.
  3. Now you will be on the “select user or group” page. Click on Advanced so we can select which accounts are available.
  4. Click on “Find Now” to search for an account to which you can grant the ownership to.

  1. Once you have selected the user to whom you wish to transfer the ownership to, press Ok and save changes.
  2. Now we need to grant your account full access. Right click on the file/folder and click on Properties from the list of options.
  3. Navigate to the Security tab so we can access the NTFS permissions.
  4. Click on the Advanced
  5. Now you will see all the permissions listed regarding each account in front of you. Under the Permission tab, click on Add.

  1. Now you should click on Select a Principal so we can add your account.
  2. Again you will be seeing the “Select User or Group” window in front of you. Click on Advanced so we can browse through all the accounts.
  3. Click on the Find Now button to list all the account to whom permission can be granted.
  4. Locate your account from the list and click on Ok and save changes. Make sure you click on Disable inheritance in the Advanced Security Settings window.

Make it so that no account has write access, not even your own. Please also ensure you disable any inherited permissions for the file from the “Advanced” button on this screen, to override any existing permissions on the root folder.

  1. You can do this by accessing the Reboot’s properties and checking the permissions for each user. Click on the SYSTEM option at the top and deny all permissions except Read & execute and Read.

  1. Repeat the same process for all users.
  2. Once this has been set, you won’t need to worry about that scheduled task any more.
ABOUT THE AUTHOR

Kevin Arrows


Kevin Arrows is a highly experienced and knowledgeable technology specialist with over a decade of industry experience. He holds a Microsoft Certified Technology Specialist (MCTS) certification and has a deep passion for staying up-to-date on the latest tech developments. Kevin has written extensively on a wide range of tech-related topics, showcasing his expertise and knowledge in areas such as software development, cybersecurity, and cloud computing. His contributions to the tech field have been widely recognized and respected by his peers, and he is highly regarded for his ability to explain complex technical concepts in a clear and concise manner.