Last Updated on by
If a Windows update installed via automatic updates requires a restart of the computer, Windows will display a prompt notifying you of this. You can postpone the restart as many times as you wish. If you’re not at your computer when the restart prompt is displayed, Windows will restart after 10 minutes. If you have files that are open but not saved, you’ll lose your changes.
To disable Auto-Restart for Scheduled Automatic Updates, follow these steps:
- Open a Command Prompt, (Run As Administrator)
- Type gpedit.msc then press the <enter> key
- Go to Local Computer Policy > Computer Configuration > Administrative Templates > Windows Components > Windows Update
- Change the setting of “No auto-restart with logged on users for scheduled automatic updates installations“
- To “Enabled“
- Close the Local Group Policy Editor
- Reboot the computer
Copied from gpedit.msc
Specifies that to complete a scheduled installation, Automatic Updates will wait for the computer to be restarted by any user who is logged on, instead of causing the computer to restart automatically.
If the status is set to Enabled, Automatic Updates will not restart a computer automatically during a scheduled installation if a user is logged in to the computer. Instead, Automatic Updates will notify the user to restart the computer.
Be aware that the computer needs to be restarted for the updates to take effect.
If the status is set to Disabled or Not Configured, Automatic Updates will notify the user that the computer will automatically restart in 5 minutes to complete the installation.
Note: This policy applies only when Automatic Updates is configured to perform scheduled installations of updates. If the “Configure Automatic Updates” policy is disabled, this policy has no effect.
- Open a Command Prompt
- Type regedit.exe and press <Enter>
- Navigate to the following key, creating new keys if they don’t exist:
- Create a new 32-bit DWORD value named NoAutoRebootWithLoggedOnUsers
- Set its value of 1
- Reboot the PC
Note: Windows 7 (Home Premium, Home Basic and Starter) don’t come with Group Policy Editor, so you’ll have to use the Registry Hack.