Spécifier une transition de redémarrage commencé et une planification des notifications des mises à jour
Vérifié avec Windows 11 25H2 — mis à jour le 30 juillet 2026
Pris en charge sur : Windows Server 2016 via Windows Server 2022 ou Windows 10
Chemin dans la console GPO
Configuration ordinateur\Modèles d'administration\Composants Windows\Windows Update\Stratégies héritées Description
Activez cette stratégie pour contrôler le minutage avant de passer des redémarrages automatiques planifiés en dehors des heures d’activité au redémarrage commencé, qui nécessite la planification de l’utilisateur. La période définie peut être comprise entre 0 et 30 jours à partir du moment où le redémarrage est en attente. Vous pouvez spécifier le nombre de jours pendant lesquels un utilisateur peut répéter les notifications de rappel de redémarrage commencé. La période de répétition définie peut être comprise entre 1 et 3 jours. Vous pouvez spécifier l’échéance en jours avant la planification et l’exécution automatiques d’un redémarrage, quelles que soient les heures d’activité. L’échéance peut être définie entre 2 et 30 jours à partir du moment où le redémarrage est en attente. Si cette stratégie est configurée, le redémarrage en attente passe du redémarrage automatique au redémarrage commencé (planification de l’utilisateur en attente), puis à l’exécution automatique pendant la période spécifiée. Si aucune échéance n’est spécifiée ou que l’échéance est définie sur 0, le PC ne redémarre pas automatiquement et nécessite que la personne le planifie avant le redémarrage. Si vous désactivez cette stratégie ou ne la configurez pas, le PC redémarre conformément à la planification par défaut. Si une des stratégies suivantes est activée, cela remplace la stratégie ci-dessus : 1. Pas de redémarrage automatique avec des utilisateurs connectés pour l'installation planifiée de mises à jour automatiques 2. Toujours redémarrer automatiquement à l’heure planifiée 3. Spécifier une échéance avant le redémarrage automatique pour l’installation des mises à jour
Registre
Software\Policies\Microsoft\Windows\WindowsUpdate Nom de valeur : SetEngagedRestartTransitionSchedule
Activé : SetEngagedRestartTransitionSchedule = 1
Désactivé : SetEngagedRestartTransitionSchedule = 0
MDM / Intune (CSP)
./Device/Vendor/MSFT/Policy/Config/Update/EngagedRestartDeadline 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
BETAConfigurez 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: Spécifier une transition de redémarrage commencé et une planification des notifications des mises à jour
; State: Enabled
; Supported on: Windows Server 2016 via Windows Server 2022 ou Windows 10
[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate]
"SetEngagedRestartTransitionSchedule"=dword:00000001
"EngagedRestartTransitionSchedule"=dword:00000007
"EngagedRestartSnoozeSchedule"=dword:00000003
"EngagedRestartDeadline"=dword:00000000
"EngagedRestartTransitionScheduleForFeatureUpdates"=dword:00000007
"EngagedRestartSnoozeScheduleForFeatureUpdates"=dword:00000003
"EngagedRestartDeadlineForFeatureUpdates"=dword:00000000 Autres formats (PowerShell, Intune, SCCM)
PowerShell
# Exported from gporais.com
# Policy: Spécifier une transition de redémarrage commencé et une planification des notifications des mises à jour
# State: Enabled
# Supported on: Windows Server 2016 via Windows Server 2022 ou Windows 10
$path = 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate'
New-Item -Path $path -Force | Out-Null
Set-ItemProperty -Path $path -Name 'SetEngagedRestartTransitionSchedule' -Value 1 -Type DWord
Set-ItemProperty -Path $path -Name 'EngagedRestartTransitionSchedule' -Value 7 -Type DWord
Set-ItemProperty -Path $path -Name 'EngagedRestartSnoozeSchedule' -Value 3 -Type DWord
Set-ItemProperty -Path $path -Name 'EngagedRestartDeadline' -Value 0 -Type DWord
Set-ItemProperty -Path $path -Name 'EngagedRestartTransitionScheduleForFeatureUpdates' -Value 7 -Type DWord
Set-ItemProperty -Path $path -Name 'EngagedRestartSnoozeScheduleForFeatureUpdates' -Value 3 -Type DWord
Set-ItemProperty -Path $path -Name 'EngagedRestartDeadlineForFeatureUpdates' -Value 0 -Type DWord Intune XML
OMA-URI: ./Device/Vendor/MSFT/Policy/Config/Update/EngagedRestartDeadline
Data type: String
Value:
<enabled/>
<data id="EngagedRestartTransitionSchedule" value="7"/>
<data id="EngagedRestartSnoozeSchedule" value="3"/>
<data id="EngagedRestartDeadline" value="0"/>
<data id="EngagedRestartTransitionScheduleForFeatureUpdates" value="7"/>
<data id="EngagedRestartSnoozeScheduleForFeatureUpdates" value="3"/>
<data id="EngagedRestartDeadlineForFeatureUpdates" value="0"/> Intune Remediation
# === Detection script ===
# Exported from gporais.com
# Policy: Spécifier une transition de redémarrage commencé et une planification des notifications des mises à jour
# State: Enabled
# Supported on: Windows Server 2016 via Windows Server 2022 ou Windows 10
function Test-RegistryValue {
param(
[Parameter(Mandatory = $true)][string]$Path,
[Parameter(Mandatory = $true)][string]$Name,
[object]$Expected,
[ValidateSet('String', 'DWord', 'MultiString')][string]$Kind = 'String',
[switch]$Absent
)
try {
$item = Get-ItemProperty -LiteralPath $Path -Name $Name -ErrorAction Stop
} catch {
return $Absent.IsPresent
}
if ($Absent.IsPresent) { return $false }
$actual = $item.$Name
if ($Kind -eq 'DWord') { return ([int64]$actual) -eq ([int64]$Expected) }
if ($Kind -eq 'MultiString') {
$actualValues = @($actual)
$expectedValues = @($Expected)
if ($actualValues.Count -ne $expectedValues.Count) { return $false }
for ($i = 0; $i -lt $expectedValues.Count; $i++) {
if ([string]$actualValues[$i] -ne [string]$expectedValues[$i]) { return $false }
}
return $true
}
return [string]$actual -eq [string]$Expected
}
$checks = @(
(Test-RegistryValue -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'SetEngagedRestartTransitionSchedule' -Expected 1 -Kind DWord)
(Test-RegistryValue -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartTransitionSchedule' -Expected 7 -Kind DWord)
(Test-RegistryValue -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartSnoozeSchedule' -Expected 3 -Kind DWord)
(Test-RegistryValue -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartDeadline' -Expected 0 -Kind DWord)
(Test-RegistryValue -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartTransitionScheduleForFeatureUpdates' -Expected 7 -Kind DWord)
(Test-RegistryValue -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartSnoozeScheduleForFeatureUpdates' -Expected 3 -Kind DWord)
(Test-RegistryValue -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartDeadlineForFeatureUpdates' -Expected 0 -Kind DWord)
)
if ($checks -notcontains $false) {
Write-Output 'Compliant'
exit 0
}
Write-Output 'Non-compliant'
exit 1
# === Remediation script ===
# Exported from gporais.com
# Policy: Spécifier une transition de redémarrage commencé et une planification des notifications des mises à jour
# State: Enabled
# Supported on: Windows Server 2016 via Windows Server 2022 ou Windows 10
$path = 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate'
New-Item -Path $path -Force | Out-Null
Set-ItemProperty -Path $path -Name 'SetEngagedRestartTransitionSchedule' -Value 1 -Type DWord
Set-ItemProperty -Path $path -Name 'EngagedRestartTransitionSchedule' -Value 7 -Type DWord
Set-ItemProperty -Path $path -Name 'EngagedRestartSnoozeSchedule' -Value 3 -Type DWord
Set-ItemProperty -Path $path -Name 'EngagedRestartDeadline' -Value 0 -Type DWord
Set-ItemProperty -Path $path -Name 'EngagedRestartTransitionScheduleForFeatureUpdates' -Value 7 -Type DWord
Set-ItemProperty -Path $path -Name 'EngagedRestartSnoozeScheduleForFeatureUpdates' -Value 3 -Type DWord
Set-ItemProperty -Path $path -Name 'EngagedRestartDeadlineForFeatureUpdates' -Value 0 -Type DWord Scripts SCCM
# Exported from gporais.com
# Policy: Spécifier une transition de redémarrage commencé et une planification des notifications des mises à jour
# State: Enabled
# Supported on: Windows Server 2016 via Windows Server 2022 ou Windows 10
# SCCM Configuration Item guidance:
# Create a Configuration Item of type "Setting: Script".
# Discovery script: use the Detection script below.
# Remediation script: use the Remediation script below.
# Compliance rule: the Discovery script output equals 'Compliant'.
# === Detection script ===
# Exported from gporais.com
# Policy: Spécifier une transition de redémarrage commencé et une planification des notifications des mises à jour
# State: Enabled
# Supported on: Windows Server 2016 via Windows Server 2022 ou Windows 10
function Test-RegistryValue {
param(
[Parameter(Mandatory = $true)][string]$Path,
[Parameter(Mandatory = $true)][string]$Name,
[object]$Expected,
[ValidateSet('String', 'DWord', 'MultiString')][string]$Kind = 'String',
[switch]$Absent
)
try {
$item = Get-ItemProperty -LiteralPath $Path -Name $Name -ErrorAction Stop
} catch {
return $Absent.IsPresent
}
if ($Absent.IsPresent) { return $false }
$actual = $item.$Name
if ($Kind -eq 'DWord') { return ([int64]$actual) -eq ([int64]$Expected) }
if ($Kind -eq 'MultiString') {
$actualValues = @($actual)
$expectedValues = @($Expected)
if ($actualValues.Count -ne $expectedValues.Count) { return $false }
for ($i = 0; $i -lt $expectedValues.Count; $i++) {
if ([string]$actualValues[$i] -ne [string]$expectedValues[$i]) { return $false }
}
return $true
}
return [string]$actual -eq [string]$Expected
}
$checks = @(
(Test-RegistryValue -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'SetEngagedRestartTransitionSchedule' -Expected 1 -Kind DWord)
(Test-RegistryValue -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartTransitionSchedule' -Expected 7 -Kind DWord)
(Test-RegistryValue -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartSnoozeSchedule' -Expected 3 -Kind DWord)
(Test-RegistryValue -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartDeadline' -Expected 0 -Kind DWord)
(Test-RegistryValue -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartTransitionScheduleForFeatureUpdates' -Expected 7 -Kind DWord)
(Test-RegistryValue -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartSnoozeScheduleForFeatureUpdates' -Expected 3 -Kind DWord)
(Test-RegistryValue -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate' -Name 'EngagedRestartDeadlineForFeatureUpdates' -Expected 0 -Kind DWord)
)
if ($checks -notcontains $false) {
Write-Output 'Compliant'
exit 0
}
Write-Output 'Non-compliant'
exit 1
# === Remediation script ===
# Exported from gporais.com
# Policy: Spécifier une transition de redémarrage commencé et une planification des notifications des mises à jour
# State: Enabled
# Supported on: Windows Server 2016 via Windows Server 2022 ou Windows 10
$path = 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate'
New-Item -Path $path -Force | Out-Null
Set-ItemProperty -Path $path -Name 'SetEngagedRestartTransitionSchedule' -Value 1 -Type DWord
Set-ItemProperty -Path $path -Name 'EngagedRestartTransitionSchedule' -Value 7 -Type DWord
Set-ItemProperty -Path $path -Name 'EngagedRestartSnoozeSchedule' -Value 3 -Type DWord
Set-ItemProperty -Path $path -Name 'EngagedRestartDeadline' -Value 0 -Type DWord
Set-ItemProperty -Path $path -Name 'EngagedRestartTransitionScheduleForFeatureUpdates' -Value 7 -Type DWord
Set-ItemProperty -Path $path -Name 'EngagedRestartSnoozeScheduleForFeatureUpdates' -Value 3 -Type DWord
Set-ItemProperty -Path $path -Name 'EngagedRestartDeadlineForFeatureUpdates' -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).