Policy overview

Key metadata and intent for this policy.

ClassComputer
CategoryWindows Components > Windows Update > Legacy Policies
Supported onWindows 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.

Registry locationTypeEnabled valueDisabled value
HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate\SetAutoRestartDeadlineREG_DWORD
1
0

Policy elements

Inputs and configuration options exposed by this policy.

ElementTypeRegistry mappingConstraints & 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.

View all policies in this category