Re-prompt for restart with scheduled installations
Redemander un redémarrage avec les installations planifiées
Explanation
Specifies the amount of time for Automatic Updates to wait before prompting again with a scheduled restart.
If the status is set to Enabled, a scheduled restart will occur the specified number of minutes after the previous prompt for restart was postponed.
If the status is set to Disabled or Not Configured, the default interval is 10 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. This policy has no effect on Windows RT
Spécifie la durée pendant laquelle les mises à jour automatiques doivent attendre avant de redemander confirmation en cas de 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é, l’intervalle par défaut sera de 10 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. Cette stratégie n’a aucun impact sur Windows RT.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate\AU- Value name
RebootRelaunchTimeoutEnabled
| 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/RebootRelaunchTimeout_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 'RebootRelaunchTimeoutEnabled' -Value 1 -Type DWord
# restart (minutes)
Set-ItemProperty -Path $k -Name 'RebootRelaunchTimeout' -Value 10 -Type DWord # between 1 and 1440Disable
# Disable: WindowsUpdate/RebootRelaunchTimeout_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 'RebootRelaunchTimeoutEnabled' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": WindowsUpdate/RebootRelaunchTimeout_Title
$k = 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU'
Remove-ItemProperty -Path $k -Name 'RebootRelaunchTimeoutEnabled' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'RebootRelaunchTimeout' -ErrorAction SilentlyContinueOptions (1)
| Label | Control | Registry value | REG type | Constraints / details |
|---|---|---|---|---|
| restart (minutes):planifié (minutes) :RebootRelaunchTimeout_Minutes3 | Numeric boxdecimal | RebootRelaunchTimeout | REG_DWORD | Required · Min: 1 · Max: 1440 · Default (UI): 10 |