Reschedule Automatic Updates scheduled installations
Replanifier les installations planifiées des mises à jour automatiques
Explanation
Specifies the amount of time for Automatic Updates to wait, following system startup, before proceeding with a scheduled installation that was missed previously.
If the status is set to Enabled, a scheduled installation that did not take place earlier will occur the specified number of minutes after the computer is next started.
If the status is set to Disabled, a missed scheduled installation will occur with the next scheduled installation.
If the status is set to Not Configured, a missed scheduled installation will occur one minute after the computer is next started.
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.
Spécifie la durée d’attente des mises à jour automatiques suite à l’arrêt du système avant de poursuivre une installation planifiée qui a été manquée précédemment.
Si le statut est configuré à Activé, une installation planifiée qui n’a pas eu lieu plus tôt va avoir lieu au nombre de minutes spécifiées après le prochain démarrage de l’ordinateur.
Si l’état Désactivé est sélectionné, une installation planifiée manquée se produira lors de la prochaine installation planifiée.
Si l’état Non configuré est sélectionné, une installation planifiée manquée se produira une minute après le prochain démarrage de l’ordinateur.
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.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate\AU- Value name
RescheduleWaitTimeEnabled
| 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/RescheduleWaitTime_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 'RescheduleWaitTimeEnabled' -Value 1 -Type DWord
# startup (minutes)
Set-ItemProperty -Path $k -Name 'RescheduleWaitTime' -Value 1 -Type DWord # between 1 and 60Disable
# Disable: WindowsUpdate/RescheduleWaitTime_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 'RescheduleWaitTimeEnabled' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": WindowsUpdate/RescheduleWaitTime_Title
$k = 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU'
Remove-ItemProperty -Path $k -Name 'RescheduleWaitTimeEnabled' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'RescheduleWaitTime' -ErrorAction SilentlyContinueOptions (1)
| Label | Control | Registry value | REG type | Constraints / details |
|---|---|---|---|---|
| startup (minutes):du système (minutes) :RescheduleWaitTime_Minutes2 | Numeric boxdecimal | RescheduleWaitTime | REG_DWORD | Required · Min: 1 · Max: 60 |