Open in the explorer

Delay Restart for scheduled installations

Délai de redémarrage pour les installations planifiées

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 7, Windows Server 2008 R2, Windows Vista, Windows Server 2003, Windows XP SP2, Windows XP SP1 , Windows 2000 SP4, Windows 2000 SP3 FR: Windows 7, Windows Server 2008 R2, Windows Vista, Windows Server 2003, Windows XP SP2, Windows XP SP1, Windows 2000 SP4, Windows 2000 SP3
ADMX file
WindowsUpdate.admx
Internal name
WindowsUpdate/RebootWarningTimeout_Title

Explanation

Specifies the amount of time for Automatic Updates to wait before proceeding with a scheduled restart.

If the status is set to Enabled, a scheduled restart will occur the specified number of minutes after the installation is finished.

If the status is set to Disabled or Not Configured, the default wait time is 15 minutes.

Note: This policy applies only when Automatic Updates is configured to perform scheduled installations of updates. If the "Configure Automatic Updates" policy is disabled, this policy has no effect.

French text from Windows 11 26H2

Indique la durée pendant laquelle les mises à jour automatiques doivent attendre avant de procéder à un redémarrage planifié.

Si l’état Activé est sélectionné, un redémarrage planifié se produira au bout du nombre de minutes spécifié, après le report de la première demande de redémarrage.

Si l’état est Désactivé ou Non configuré, la durée d’attente par défaut sera de 15 minutes.

Remarque : cette stratégie s’applique uniquement lorsque le service Mises à jour automatiques est configuré pour effectuer des installations planifiées de mises à jour. Si la stratégie Configuration du service Mises à jour automatiques est désactivée, cette stratégie n’a aucun effet.

Use cases

Sets how long (15 minutes by default) Windows waits before performing a scheduled restart after installation, giving the user time to save their work. It only applies with scheduling option 4.

Microsoft source: Step 4: Configure Group Policy settings for automatic updates

Registry

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate\AU
Value name
RebootWarningTimeoutEnabled
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/RebootWarningTimeout_Title
$k = 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'RebootWarningTimeoutEnabled' -Value 1 -Type DWord
# restart (minutes)
Set-ItemProperty -Path $k -Name 'RebootWarningTimeout' -Value 5 -Type DWord  # between 1 and 30

Disable

# Disable: WindowsUpdate/RebootWarningTimeout_Title
$k = 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'RebootWarningTimeoutEnabled' -Value 0 -Type DWord

Revert to "Not configured"

# Revert to "Not configured": WindowsUpdate/RebootWarningTimeout_Title
$k = 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU'
Remove-ItemProperty -Path $k -Name 'RebootWarningTimeoutEnabled' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'RebootWarningTimeout' -ErrorAction SilentlyContinue

Options (1)

LabelControlRegistry valueREG typeConstraints / details
restart (minutes):planifié (minutes) :RebootWarningTimeout_Minutes3Numeric boxdecimalRebootWarningTimeoutREG_DWORD
Required · Min: 1 · Max: 30 · Default (UI): 5

Availability