•In the Start Menu go to Run type “gpedit.msc” and press Enter
•Now a Group Policy editor will open. In this window navigate to: Computer Configuration -> Administrative Template -> Windows Components -> Windows Update
•Double click on No auto-restart for scheduled Automatic Updates installations
•In the settings window Choose Enabled and click OK
•Close Group Policy Editor
Home users can try the following:
Go to registry editor and navigate to the following registry key:
HKEY_LOCAL_MACHINE SoftwarePolicies MicrosoftWindows WindowsUpdateAU
Change the “NoAutoRebootWithLoggedOnUsers” DWord value to the required number.
0 = False (Allow auto-reboot)
1 = True (Disallow auto-reboot)