Policy
Specify deadline before auto-restart for update installation
Windows 11 25H2
Policy overview
Key metadata and intent for this policy.
Supported OS tags: Windows10, WindowsServer2016
Specify the deadline before the PC will automatically restart to apply updates. The deadline can be set 2 to 14 days past the default restart date. The restart may happen inside active hours. If you disable or do not configure this policy, the PC will restart according to the default schedule. Enabling either of the following two policies will override the above policy: 1. No auto-restart with logged on users for scheduled automatic updates installations. 2. Always automatically restart at scheduled time.
Registry values
How enabled and disabled states update the registry.
| Registry location | Type | Enabled value | Disabled value |
|---|---|---|---|
| HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate\SetAutoRestartDeadline | REG_DWORD | 1 | 0 |
Policy elements
Inputs and configuration options exposed by this policy.
| Element | Type | Registry mapping | Constraints & behavior |
|---|---|---|---|
Quality Updates (days): ID AutoRestartDeadline | enum | HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate\AutoRestartDeadlinePeriodInDays Type REG_DWORD | Options: $(string.AutoRestartDeadlineDay2) (2), $(string.AutoRestartDeadlineDay3) (3), $(string.AutoRestartDeadlineDay4) (4), $(string.AutoRestartDeadlineDay5) (5), $(string.AutoRestartDeadlineDay6) (6), $(string.AutoRestartDeadlineDay7) (7), $(string.AutoRestartDeadlineDay8) (8), $(string.AutoRestartDeadlineDay9) (9) … +21 more |
Feature Updates (days): ID AutoRestartDeadlineForFeatureUpdates | enum | HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate\AutoRestartDeadlinePeriodInDaysForFeatureUpdates Type REG_DWORD | Options: $(string.AutoRestartDeadlineDay2) (2), $(string.AutoRestartDeadlineDay3) (3), $(string.AutoRestartDeadlineDay4) (4), $(string.AutoRestartDeadlineDay5) (5), $(string.AutoRestartDeadlineDay6) (6), $(string.AutoRestartDeadlineDay7) (7), $(string.AutoRestartDeadlineDay8) (8), $(string.AutoRestartDeadlineDay9) (9) … +21 more |
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