en-US windows computer

Specify deadline for automatic updates and restarts for quality update

Verified with Windows 11 25H2 — updated on July 30, 2026

Windows 11 25H2

Supported on: At least Windows Server 2016, Windows 10 Version 1709

Path in the GPO console

Computer Configuration\Administrative Templates\Windows Components\Windows Update\Manage end user experience

Description

This policy lets you specify the number of days before quality updates are installed on devices automatically, and a grace period after which required restarts occur automatically. Set deadlines for 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 quality 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

Registry

HKLM Software\Policies\Microsoft\Windows\WindowsUpdate

Value name: SetComplianceDeadlineForQU

Enabled: SetComplianceDeadlineForQU = 1

Disabled: SetComplianceDeadlineForQU = 0

More options available

Options

Deadline (days):
ConfigureDeadlineForQualityUpdates enum
  • 0
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7 (default)
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
Grace period (days):
ConfigureDeadlineGracePeriod enum
  • 0
  • 1
  • 2 (default)
  • 3
  • 4
  • 5
  • 6
  • 7
Don't auto-restart until end of grace period
ConfigureDeadlineNoAutoRebootForQualityUpdates boolean - default: 0

MDM / Intune (CSP)

./Device/Vendor/MSFT/Policy/Config/Update/ConfigureDeadlineForQualityUpdates
Device Since Windows 10, version 1903 [10.0.18362] and later Official mapping (Microsoft Learn)

Multiple CSP matches are possible; the first one was selected.

Microsoft Learn documentation Mapping data: Microsoft Learn (CC BY 4.0)

Export Builder

BETA

Configure the state, scope and options, then generate .reg, PowerShell, Intune and SCCM outputs — or add the setting to a multi-setting collection.

These exports write the registry — this is not a managed GPO.

.reg file

Windows Registry Editor Version 5.00

; Exported from gporais.com
; Policy: Specify deadline for automatic updates and restarts for quality update
; State: Enabled
; Supported on: At least Windows Server 2016, Windows 10 Version 1709

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate]
"SetComplianceDeadlineForQU"=dword:00000001
"ConfigureDeadlineForQualityUpdates"=dword:00000007
"ConfigureDeadlineGracePeriod"=dword:00000002
"ConfigureDeadlineNoAutoRebootForQualityUpdates"=dword:00000000
More formats (PowerShell, Intune, SCCM)

PowerShell

# Exported from gporais.com
# Policy: Specify deadline for automatic updates and restarts for quality update
# State: Enabled
# Supported on: At least Windows Server 2016, Windows 10 Version 1709

$path = 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate'
New-Item -Path $path -Force | Out-Null
Set-ItemProperty -Path $path -Name 'SetComplianceDeadlineForQU' -Value 1 -Type DWord
Set-ItemProperty -Path $path -Name 'ConfigureDeadlineForQualityUpdates' -Value 7 -Type DWord
Set-ItemProperty -Path $path -Name 'ConfigureDeadlineGracePeriod' -Value 2 -Type DWord
Set-ItemProperty -Path $path -Name 'ConfigureDeadlineNoAutoRebootForQualityUpdates' -Value 0 -Type DWord

Building a multi-setting collection? Add this setting and generate combined .reg / PowerShell / GPO scripts.

Open the Builder

Embed this policy on your site

What to embed
Theme

Adds one script line: the theme follows your site’s appearance and the height fits the content. If your site blocks scripts, the embed follows the visitor’s system theme.

Preview