Forum Discussion
Everlynokc
May 07, 2024Iron Contributor
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 t...
MonicaMon
May 09, 2024Copper 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.
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
May 14, 2025Copper Contributor
Your solution is from the https://learn.microsoft.com/en-us/windows/deployment/update/waas-restart . Obviously, your answer is incomplete. But that is not important because of that doesn't work several years ago. Do not waste our