Disable Windows Update Automatic Restart

Open POWERSHELL window with administrative privileges and run the following command to disable Windows Automatic Restart


Set-ItemProperty -Path HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU -Name "NoAutoRebootWithLoggedOnUsers" -Value 1

Source: NinjaOne - How to Disable Automatic Restart in Windows 10


Supported By Cosmos Hosting