fr-FR windows computer

Specify deadline for automatic updates and restarts for quality update

Vérifié avec Windows 11 25H2 — mis à jour le 30 juillet 2026

Windows 11 25H2

Pris en charge sur : Windows Server 2016, Windows 10 version 1709 ou versions supérieures

Chemin dans la console GPO

Configuration ordinateur\Modèles d'administration\Composants Windows\Windows Update\Gérer l’expérience utilisateur final

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

Registre

HKLM Software\Policies\Microsoft\Windows\WindowsUpdate

Nom de valeur : SetComplianceDeadlineForQU

Activé : SetComplianceDeadlineForQU = 1

Désactivé : SetComplianceDeadlineForQU = 0

Plus d'options disponibles

Options

Échéance (jours):
ConfigureDeadlineForQualityUpdates enum
  • 0
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7 (défaut)
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
Période de grâce (jours):
ConfigureDeadlineGracePeriod enum
  • 0
  • 1
  • 2 (défaut)
  • 3
  • 4
  • 5
  • 6
  • 7
Don't auto-restart until end of grace period
ConfigureDeadlineNoAutoRebootForQualityUpdates boolean - défaut : 0

MDM / Intune (CSP)

./Device/Vendor/MSFT/Policy/Config/Update/ConfigureDeadlineForQualityUpdates
Appareil Depuis Windows 10, version 1903 [10.0.18362] and later Mapping officiel (Microsoft Learn)

Plusieurs correspondances CSP possibles ; la première a été retenue.

Documentation Microsoft Learn Données de correspondance : Microsoft Learn (CC BY 4.0)

Générateur d'exports

BETA

Configurez l'état, la portée et les options, puis générez les sorties .reg, PowerShell, Intune et SCCM — ou ajoutez le paramètre à une collection multi-paramètres.

Ces exports écrivent le registre — ce n'est pas une GPO managée.

Fichier .reg

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: Windows Server 2016, Windows 10 version 1709 ou versions supérieures

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

PowerShell

# Exported from gporais.com
# Policy: Specify deadline for automatic updates and restarts for quality update
# State: Enabled
# Supported on: Windows Server 2016, Windows 10 version 1709 ou versions supérieures

$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

Vous construisez une collection multi-paramètres ? Ajoutez ce paramètre et générez des exports combinés (.reg, PowerShell, GPO).

Ouvrir le Builder

Intégrer cette GPO sur votre site

Contenu à intégrer
Thème

Ajoute une ligne de script : le thème suit l’apparence de votre site et la hauteur s’ajuste au contenu. Si votre site bloque les scripts, l’intégration suit le thème du système du visiteur.

Aperçu