Forum Discussion

Everlynokc's avatar
Everlynokc
Iron Contributor
May 07, 2024

How to turn off automatic restart in Windows 11?

I frequently have long running tasks that can take days or even weeks running on my Windows 11 Home PC. Because of this, it should not restart without asking me first.

 

My solution is to disable the windows update service, but I keep forgetting to reenable it and check for updates before starting another long running task. As such, I either never end up getting any updates, or I end up losing progress on a task that has been running for a week+.

5 Replies

  • MonicaMon's avatar
    MonicaMon
    Copper Contributor
    You can use Registry Editor:
    Press Win + R to open the Run dialog.
    Type regedit and press Enter to open the Registry Editor.
    Navigate to the following key: HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU
    If the AU key doesn't exist, you may need to create it.
    Create a new DWORD (32-bit) Value named NoAutoRebootWithLoggedOnUsers if it doesn't already exist.
    Set its value to 1.
    • scott_wang_123's avatar
      scott_wang_123
      Copper Contributor

      Your solution is from the link. Obviously, your answer is incomplete. But that is not important because of that doesn't work several years ago.

    • scott_wang_123's avatar
      scott_wang_123
      Copper Contributor

      Your solution is from the link . Obviously, your answer is incomplete. But that is not important because of that doesn't work several years ago. Do not waste our

    • Bob1234566's avatar
      Bob1234566
      Copper Contributor

      This doesn't work. My laptop rebooted last night and I already have this set.

Resources