How to Disable Automatic Forced Restart After Windows Update
Volkan Kaban
MBA MIS Realtor? | Investor | Entrepreneur | Advocate for Autism, ADHD & related disorders
Disable Active Hours for Windows 10 Update via Registry
1.Press Windows Key + R then type regedit and hit Enter to open Registry Editor.
2.Navigate to the following registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsUpdate\UX\Settings
3.Right-click on Settings then select New > DWORD (32-bit) Value.
4.Name this new DWORD as IsActiveHoursEnabled then double-click on it and change it’s value to:
To Enable Active Hours for Windows Update: 0
To Disable Active Hours for Windows Update: 1
5.Close Everything and restart your PC to save changes.
6. Open Settings and you won’t see Active Hours under Windows Update.
Open an elevated powershell prompt and run this (it's one line):
New-ItemProperty "HKLM:SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\au" -Name "NoAutoRebootWithLoggedOnUsers" -PropertyType "DWord" -Value 1
Or this, if you don't want to use powershell, open an elevated command prompt and run this (all one line):
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /v NoAutoRebootWithLoggedOnUsers /t REG_DWORD /d 1 /f