Open in the explorer

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

Type
Computer
GPO path
Computer Configuration › Policies › Administrative Templates › Windows Components › Windows Update › Legacy Policies FR: Configuration ordinateur › Stratégies › Modèles d'administration › Composants Windows › Windows Update › Stratégies héritées
Supported on
Windows Server 2016 through Windows Server 2022, or Windows 10​ FR: Windows Server 2016 via Windows Server 2022 ou Windows 10
ADMX file
WindowsUpdate.admx
Internal name
WindowsUpdate/EngagedRestartTransitionSchedule

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

French text from Windows 11 26H2

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
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/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 DWord

Disable

# 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 DWord

Revert 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 SilentlyContinue

Options (6)

LabelControlRegistry valueREG typeConstraints / details
Transition (days) :Transition (jours) :EngagedRestartTransitionScheduleDrop-down listenumEngagedRestartTransitionScheduleREG_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
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
Snooze (days) :Répéter (jours) :EngagedRestartSnoozeScheduleDrop-down listenumEngagedRestartSnoozeScheduleREG_DWORD
Required · Default choice (UI): #2
LabelValue
1REG_DWORD = 1
2REG_DWORD = 2
3REG_DWORD = 3
Deadline (days) :Échéance (jours) :EngagedRestartDeadlineDrop-down listenumEngagedRestartDeadlineREG_DWORD
Required · Default choice (UI): #0
LabelValue
0REG_DWORD = 0
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
Transition (days) :Transition (jours) :EngagedRestartTransitionScheduleForFeatureUpdatesDrop-down listenumEngagedRestartTransitionScheduleForFeatureUpdatesREG_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
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
Snooze (days) :Répéter (jours) :EngagedRestartSnoozeScheduleForFeatureUpdatesDrop-down listenumEngagedRestartSnoozeScheduleForFeatureUpdatesREG_DWORD
Required · Default choice (UI): #2
LabelValue
1REG_DWORD = 1
2REG_DWORD = 2
3REG_DWORD = 3
Deadline (days) :Échéance (jours) :EngagedRestartDeadlineForFeatureUpdatesDrop-down listenumEngagedRestartDeadlineForFeatureUpdatesREG_DWORD
Required · Default choice (UI): #0
LabelValue
0REG_DWORD = 0
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

Availability

Windows Server