Policy
No auto-restart with logged on users for scheduled automatic updates installations
Windows 11 25H2
Policy overview
Key metadata and intent for this policy.
Supported OS tags: Windows10, Windows10RT, Windows11, Windows2000, Windows7, Windows8, Windows81, WindowsRT, WindowsRT81, WindowsServer2003, WindowsServer2008, WindowsServer2012, WindowsServer2012R2, WindowsServer2016, WindowsVista, WindowsXP
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.
Registry values
How enabled and disabled states update the registry.
| Registry location | Type | Enabled value | Disabled value |
|---|---|---|---|
| HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate\AU\NoAutoRebootWithLoggedOnUsers | REG_DWORD | 1 | 0 |
Policy elements
Inputs and configuration options exposed by this policy.
This policy has no additional user input fields.
Other policies in this category
Explore related policies at the same level.
- ComputerAllow Automatic Updates immediate installationAt least Windows XP Professional Service Pack 1 or At least Windows 2000 Service Pack 3 through Windows 8.1 or Windows Server 2012 R2 with most current service pack. Not supported on Windows 10 and above.
- ComputerAllow non-administrators to receive update notificationsAt least Windows XP Professional Service Pack 1 or At least Windows 2000 Service Pack 3 through Windows 8.1 or Windows Server 2012 R2 with most current service pack. Not supported on Windows 10 and above.
- ComputerAlways automatically restart at the scheduled timeAt least Windows Server 2012, Windows 8 or Windows RT
- ComputerConfigure auto-restart reminder notifications for updatesWindows Server 2016 through Windows Server 2022, or Windows 10
- ComputerConfigure auto-restart required notification for updatesWindows Server 2016 through Windows Server 2022, or Windows 10
- ComputerConfigure auto-restart warning notifications schedule for updatesWindows Server 2016 through Windows Server 2022, or Windows 10
- ComputerDelay Restart for scheduled installationsWindows 7, Windows Server 2008 R2, Windows Vista, Windows Server 2003, Windows XP SP2, Windows XP SP1 , Windows 2000 SP4, Windows 2000 SP3
- UserDo not adjust default option to 'Install Updates and Shut Down' in Shut Down Windows dialog boxWindows 7, Windows Server 2008 R2, Windows Vista, Windows XP SP2
- ComputerDo not adjust default option to 'Install Updates and Shut Down' in Shut Down Windows dialog boxWindows 7, Windows Server 2008 R2, Windows Vista, Windows XP SP2
- ComputerDo not allow update deferral policies to cause scans against Windows UpdateAt least Windows Server 2016, Windows 10 Version 1607
- UserDo not display 'Install Updates and Shut Down' option in Shut Down Windows dialog boxWindows 7, Windows Server 2008 R2, Windows Vista, Windows XP SP2
- ComputerDo not display 'Install Updates and Shut Down' option in Shut Down Windows dialog boxWindows 7, Windows Server 2008 R2, Windows Vista, Windows XP SP2