Specify deadline before auto-restart for update installation
Jump to overview

Policy overview

Key metadata and intent for this policy.

Computer
Category
Windows Components > Windows Update > Legacy Policies
Supported on
Windows Server 2016 through Windows Server 2022, or Windows 10​

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.

Internal name
AutoRestartDeadline
Policy ID
21ec06fc1590
Elements
2

Registry values

How enabled and disabled states update the registry.

ScopeRegistry locationTypeEnabled valueDisabled valueCopy
Computer
Path
Software\Policies\Microsoft\Windows\WindowsUpdate
Value name
SetAutoRestartDeadline
REG_DWORD
HKLM
1
HKLM
0
Registry location
Type REG_DWORD · Computer
Path
Software\Policies\Microsoft\Windows\WindowsUpdate
Value name
SetAutoRestartDeadline
Hive
HKLM
Enabled value
1
Disabled value
0

Policy elements

Inputs and configuration options exposed by this policy.

ScopeElementTypeRegistry mappingConstraints & behaviorCopy
Computer
Quality Updates (days):
ID AutoRestartDeadline
enum
Path
Software\Policies\Microsoft\Windows\WindowsUpdate
Value name
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
Computer
Feature Updates (days):
ID AutoRestartDeadlineForFeatureUpdates
enum
Path
Software\Policies\Microsoft\Windows\WindowsUpdate
Value name
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
Quality Updates (days):
Computer · Type enum
Registry mapping
Path
Software\Policies\Microsoft\Windows\WindowsUpdate
Value name
AutoRestartDeadlinePeriodInDays
Type
REG_DWORD
Details
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):
Computer · Type enum
Registry mapping
Path
Software\Policies\Microsoft\Windows\WindowsUpdate
Value name
AutoRestartDeadlinePeriodInDaysForFeatureUpdates
Type
REG_DWORD
Details
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