Open in the explorer

Specify deadline for automatic updates and restarts for feature update

Specify deadline for automatic updates and restarts for feature update

Type
Computer
GPO path
Computer Configuration › Policies › Administrative Templates › Windows Components › Windows Update › Manage end user experience FR: Configuration ordinateur › Stratégies › Modèles d'administration › Composants Windows › Windows Update › Gérer l’expérience utilisateur final
Supported on
At least Windows Server 2016, Windows 10 Version 1709 FR: Windows Server 2016, Windows 10 version 1709 ou versions supérieures
ADMX file
WindowsUpdate.admx
Internal name
WindowsUpdate/ComplianceDeadlineForFU

Explanation

This policy lets you specify the number of days before feature updates are installed on devices automatically, and a grace period after which required restarts occur automatically.

Set deadlines for feature updates and quality updates to meet your compliance goals. Updates will be downloaded and installed as soon as they are offered and automatic restarts will be attempted outside of active hours. Once the deadline has passed, restarts will occur regardless of active hours, and users will not be able to reschedule. If the deadline is set to 0 days, the update will be installed immediately upon offering, but might not finish within the day due to device availability and network connectivity.

Set a grace period for feature updates to guarantee users a minimum time to manage their restarts once updates are installed. Users will be able to schedule restarts during the grace period and Windows can still automatically restart outside of active hours if users choose not to schedule restarts. The grace period might not take effect if users already have more than the number of days set as grace period to manage their restart, based on deadline configurations.

You can set the device to delay restarting until both the deadline and grace period have expired.

If you disable or do not configure this policy, devices will get updates and will restart according to the default schedule.

This policy will override the following policies:
1. Specify deadline before auto restart for update installation
2. Specify Engaged restart transition and notification schedule for updates
3. Always automatically restart at the scheduled time
4. Configure Automatic Updates

French text from Windows 11 26H2

This policy lets you specify the number of days before feature updates are installed on devices automatically, and a grace period after which required restarts occur automatically.

Set deadlines for feature updates and quality updates to meet your compliance goals. Updates will be downloaded and installed as soon as they are offered and automatic restarts will be attempted outside of active hours. Once the deadline has passed, restarts will occur regardless of active hours, and users will not be able to reschedule. If the deadline is set to 0 days, the update will be installed immediately upon offering, but might not finish within the day due to device availability and network connectivity.

Set a grace period for feature updates to guarantee users a minimum time to manage their restarts once updates are installed. Users will be able to schedule restarts during the grace period and Windows can still automatically restart outside of active hours if users choose not to schedule restarts. The grace period might not take effect if users already have more than the number of days set as grace period to manage their restart, based on deadline configurations.

You can set the device to delay restarting until both the deadline and grace period have expired.

If you disable or do not configure this policy, devices will get updates and will restart according to the default schedule.

This policy will override the following policies:
1. Specify deadline before auto restart for update installation
2. Specify Engaged restart transition and notification schedule for updates
3. Always automatically restart at the scheduled time
4. Configure Automatic Updates

Use cases

The counterpart for feature updates: days before forced install and a grace period before the forced restart. Microsoft cites 2 days of deadline and 7 days of grace as defaults.

Pair it with Select the target Feature Update version to plan a migration (for example to a new Windows 11 release) with an end date known to your teams.

Microsoft sources: Enforcing compliance deadlines for updates · Update policies

Registry

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate
Value name
SetComplianceDeadlineForFU
StateValue written
EnabledREG_DWORD = 1
DisabledREG_DWORD = 0

PowerShell

PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.

Writing directly to the registry bypasses Group Policy: if a GPO manages this value, it will be rewritten at the next gpupdate; otherwise the value stays in place (the "tattooing" effect). Prefer a GPO or, locally, LGPO.exe. Run PowerShell as administrator for HKLM. Some policies need a restart or gpupdate /force.

Enable

# Enable: WindowsUpdate/ComplianceDeadlineForFU
$k = 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'SetComplianceDeadlineForFU' -Value 1 -Type DWord
# Deadline (days)
# Possible options:
#   0 = 0; 1 = 1; 2 = 2; 3 = 3; 4 = 4; 5 = 5; 6 = 6; 7 = 7; 8 = 8; 9 = 9; 10 = 10; 11 = 11
#   12 = 12; 13 = 13; 14 = 14; 15 = 15; 16 = 16; 17 = 17; 18 = 18; 19 = 19; 20 = 20; 21 = 21
#   22 = 22; 23 = 23; 24 = 24; 25 = 25; 26 = 26; 27 = 27; 28 = 28; 29 = 29; 30 = 30
Set-ItemProperty -Path $k -Name 'ConfigureDeadlineForFeatureUpdates' -Value 2 -Type DWord
# Grace Period (days)
# Possible options:
#   0 = 0
#   1 = 1
#   2 = 2
#   3 = 3
#   4 = 4
#   5 = 5
#   6 = 6
#   7 = 7
Set-ItemProperty -Path $k -Name 'ConfigureDeadlineGracePeriodForFeatureUpdates' -Value 7 -Type DWord
# Don't auto-restart until end of grace period
# value not defined in the ADMX (the GPO editor usually writes 1/0)
# 1 = checked, 0 = unchecked; default state taken from the ADML
Set-ItemProperty -Path $k -Name 'ConfigureDeadlineNoAutoRebootForFeatureUpdates' -Value 0 -Type DWord

Disable

# Disable: WindowsUpdate/ComplianceDeadlineForFU
$k = 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'SetComplianceDeadlineForFU' -Value 0 -Type DWord

Revert to "Not configured"

# Revert to "Not configured": WindowsUpdate/ComplianceDeadlineForFU
$k = 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate'
Remove-ItemProperty -Path $k -Name 'SetComplianceDeadlineForFU' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'ConfigureDeadlineForFeatureUpdates' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'ConfigureDeadlineGracePeriodForFeatureUpdates' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'ConfigureDeadlineNoAutoRebootForFeatureUpdates' -ErrorAction SilentlyContinue

Options (3)

LabelControlRegistry valueREG typeConstraints / details
Deadline (days):Échéance (jours):ConfigureDeadlineForFeatureUpdatesDrop-down listenumConfigureDeadlineForFeatureUpdatesREG_DWORD
Required · Default choice (UI): #2
LabelValue
0REG_DWORD = 0
1REG_DWORD = 1
2REG_DWORD = 2
3REG_DWORD = 3
4REG_DWORD = 4
5REG_DWORD = 5
6REG_DWORD = 6
7REG_DWORD = 7
8REG_DWORD = 8
9REG_DWORD = 9
10REG_DWORD = 10
11REG_DWORD = 11
12REG_DWORD = 12
13REG_DWORD = 13
14REG_DWORD = 14
15REG_DWORD = 15
16REG_DWORD = 16
17REG_DWORD = 17
18REG_DWORD = 18
19REG_DWORD = 19
20REG_DWORD = 20
21REG_DWORD = 21
22REG_DWORD = 22
23REG_DWORD = 23
24REG_DWORD = 24
25REG_DWORD = 25
26REG_DWORD = 26
27REG_DWORD = 27
28REG_DWORD = 28
29REG_DWORD = 29
30REG_DWORD = 30
Grace Period (days):Période de grâce (jours):ConfigureDeadlineGracePeriodForFeatureUpdatesDrop-down listenumConfigureDeadlineGracePeriodForFeatureUpdatesREG_DWORD
Required · Default choice (UI): #7
LabelValue
0REG_DWORD = 0
1REG_DWORD = 1
2REG_DWORD = 2
3REG_DWORD = 3
4REG_DWORD = 4
5REG_DWORD = 5
6REG_DWORD = 6
7REG_DWORD = 7
Don't auto-restart until end of grace periodConfigureDeadlineNoAutoRebootForFeatureUpdatesCheck boxbooleanConfigureDeadlineNoAutoRebootForFeatureUpdatesREG_DWORD
Default (UI): false
Checked: implicit: 1
Unchecked: implicit: 0

Availability

Windows 11

✓ 26H2✓ 25H2✓ 24H2— 23H2— 22H2— 21H2

Windows 10

— 22H2— 21H2— 21H1— 20H2— 2004— 1909— 1903— 1809— 1803— 1709— 1703— 1607— 1511— 1507

Windows Server

✓ 2025— 2022— 2016