Specify Engaged restart transition and notification schedule for updates
Spécifier une transition de redémarrage commencé et une planification des notifications des mises à jour
Explanation
Enable this policy to control the timing before transitioning from Auto restarts scheduled outside of active hours to Engaged restart, which requires the user to schedule. The period can be set between 0 and 30 days from the time the restart becomes pending.
You can specify the number of days a user can snooze Engaged restart reminder notifications. The snooze period can be set between 1 and 3 days.
You can specify the deadline in days before automatically scheduling and executing a pending restart regardless of active hours. The deadline can be set between 2 and 30 days from the time the restart becomes pending. If configured, the pending restart will transition from Auto-restart to Engaged restart (pending user schedule) to automatically executed, within the specified period.
If you do not specify a deadline or if the deadline is set to 0, the PC won't automatically restart and will require the person to schedule it prior to restart.
If you disable or do not configure this policy, the PC will restart following the default schedule.
Enabling any of the following 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
3. Specify deadline before auto-restart for update installation
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
Use cases
Controls when Windows moves from automatic restarts outside active hours to "engaged restart", the period where users must schedule the restart themselves (7 days by default). It tunes how patient you are with users before prompting them.
Like the other engaged-restart settings, it is legacy and does not apply to Windows 11.
Microsoft source: Manage device restarts after updates
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate- Value name
SetEngagedRestartTransitionSchedule
| State | Value written |
|---|---|
| Enabled | REG_DWORD = 1 |
| Disabled | REG_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/EngagedRestartTransitionSchedule
$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 'SetEngagedRestartTransitionSchedule' -Value 1 -Type DWord
# Transition (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 'EngagedRestartTransitionSchedule' -Value 7 -Type DWord
# Snooze (days)
# Possible options:
# 1 = 1
# 2 = 2
# 3 = 3
Set-ItemProperty -Path $k -Name 'EngagedRestartSnoozeSchedule' -Value 3 -Type DWord
# Deadline (days)
# Possible options:
# 0 = 0; 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 'EngagedRestartDeadline' -Value 0 -Type DWord
# Transition (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 'EngagedRestartTransitionScheduleForFeatureUpdates' -Value 7 -Type DWord
# Snooze (days)
# Possible options:
# 1 = 1
# 2 = 2
# 3 = 3
Set-ItemProperty -Path $k -Name 'EngagedRestartSnoozeScheduleForFeatureUpdates' -Value 3 -Type DWord
# Deadline (days)
# Possible options:
# 0 = 0; 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 'EngagedRestartDeadlineForFeatureUpdates' -Value 0 -Type DWordDisable
# Disable: WindowsUpdate/EngagedRestartTransitionSchedule
$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 'SetEngagedRestartTransitionSchedule' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": WindowsUpdate/EngagedRestartTransitionSchedule
$k = 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate'
Remove-ItemProperty -Path $k -Name 'SetEngagedRestartTransitionSchedule' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'EngagedRestartTransitionSchedule' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'EngagedRestartSnoozeSchedule' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'EngagedRestartDeadline' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'EngagedRestartTransitionScheduleForFeatureUpdates' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'EngagedRestartSnoozeScheduleForFeatureUpdates' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'EngagedRestartDeadlineForFeatureUpdates' -ErrorAction SilentlyContinueOptions (6)
| Label | Control | Registry value | REG type | Constraints / details | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Transition (days) :Transition (jours) :EngagedRestartTransitionSchedule | Drop-down listenum | EngagedRestartTransitionSchedule | REG_DWORD | Required · Default choice (UI): #7
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Snooze (days) :Répéter (jours) :EngagedRestartSnoozeSchedule | Drop-down listenum | EngagedRestartSnoozeSchedule | REG_DWORD | Required · Default choice (UI): #2
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Deadline (days) :Échéance (jours) :EngagedRestartDeadline | Drop-down listenum | EngagedRestartDeadline | REG_DWORD | Required · Default choice (UI): #0
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Transition (days) :Transition (jours) :EngagedRestartTransitionScheduleForFeatureUpdates | Drop-down listenum | EngagedRestartTransitionScheduleForFeatureUpdates | REG_DWORD | Required · Default choice (UI): #7
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Snooze (days) :Répéter (jours) :EngagedRestartSnoozeScheduleForFeatureUpdates | Drop-down listenum | EngagedRestartSnoozeScheduleForFeatureUpdates | REG_DWORD | Required · Default choice (UI): #2
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Deadline (days) :Échéance (jours) :EngagedRestartDeadlineForFeatureUpdates | Drop-down listenum | EngagedRestartDeadlineForFeatureUpdates | REG_DWORD | Required · Default choice (UI): #0
|