Allow Automatic Updates immediate installation
Autoriser l’installation immédiate des mises à jour automatiques
Explanation
Specifies whether Automatic Updates should automatically install certain updates that neither interrupt Windows services nor restart Windows.
If the status is set to Enabled, Automatic Updates will immediately install these updates once they are downloaded and ready to install.
If the status is set to Disabled, such updates will not be installed immediately.
Note: If the "Configure Automatic Updates" policy is disabled, this policy has no effect.
Indique si les mises à jour automatiques doivent automatiquement installer certaines mises à jour qui n’interrompent pas les services Windows et qui ni redémarrent pas Windows.
Si l’état Activé est sélectionné, les mises à jour automatiques installeront immédiatement ces mises à jour dès qu’elles seront téléchargées et prêtres à être installées.
Si l’état Désactivé est sélectionné, ce type de mise à jour ne sera pas installé immédiatement.
Remarque : 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
AutoInstallMinorUpdates
| 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/ImmediateInstall_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 'AutoInstallMinorUpdates' -Value 1 -Type DWordDisable
# Disable: WindowsUpdate/ImmediateInstall_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 'AutoInstallMinorUpdates' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": WindowsUpdate/ImmediateInstall_Title
$k = 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate\AU'
Remove-ItemProperty -Path $k -Name 'AutoInstallMinorUpdates' -ErrorAction SilentlyContinue