Différer les mises à niveau et les mises à jour
Defer Upgrades and Updates
Explication
Enable this policy in order to defer upgrades for up to eight months.
You can also choose to delay updates for up to one month. If you do not delay updates, your PC will remain up to date with security updates as they become available.
If an issue arises with an update or upgrade, select "Pause Upgrades and Updates". This will delay updates and upgrades until the next monthly update or upgrade becomes available. Once a new update or upgrade it available, the value will go back to the previously selected option, re-enabling your validation groups.
Note: Definition updates will not be impacted by this policy.
Note: If the "Specify intranet Microsoft update service location" policy is enabled, then the “Defer upgrades by”, “Defer updates by” and “Pause Updates and Upgrades” settings have no effect.
Note: If the “Allow Telemetry” policy is enabled and the Options value is set to 0, then the “Defer upgrades by”, “Defer updates by” and “Pause Updates and Upgrades” settings have no effect.
To stay informed about new features in Windows 10, see go.microsoft.com/fwlink/?LinkID=529169.
Enable this policy in order to defer upgrades for up to eight months.
You can also choose to delay updates for up to one month. If you do not delay updates, your PC will remain up to date with security updates as they become available.
If an issue arises with an update or upgrade, select "Pause Upgrades and Updates". This will delay updates and upgrades until the next monthly update or upgrade becomes available. Once a new update or upgrade it available, the value will go back to the previously selected option, re-enabling your validation groups.
Note: Definition updates will not be impacted by this policy.
Note: If the "Specify intranet Microsoft update service location" policy is enabled, then the “Defer upgrades by”, “Defer updates by” and “Pause Updates and Upgrades” settings have no effect.
Note: If the “Allow Telemetry” policy is enabled and the Options value is set to 0, then the “Defer upgrades by”, “Defer updates by” and “Pause Updates and Upgrades” settings have no effect.
To stay informed about new features in Windows 10, see go.microsoft.com/fwlink/?LinkID=529169.
Registre
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate- Nom de la valeur
DeferUpgrade
| État | Valeur écrite |
|---|---|
| Activé | REG_DWORD = 1 |
| Désactivé | REG_DWORD = 0 |
PowerShell
Commandes PowerShell qui écrivent dans le registre ce que la stratégie écrirait. Les valeurs entre chevrons (<…>) sont à remplacer.
Écrire directement dans le registre contourne la stratégie de groupe : si une GPO gère cette valeur, elle sera réécrite au prochain gpupdate ; sinon la valeur reste en place (effet « tatouage »). Préférez une GPO ou, en local, LGPO.exe. Exécutez PowerShell en administrateur pour HKLM. Certaines stratégies demandent un redémarrage ou gpupdate /force.
Activer
# Activer : WindowsUpdate/DeferUpgrade
$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 'DeferUpgrade' -Value 1 -Type DWord
# durée (mois)
Set-ItemProperty -Path $k -Name 'DeferUpgradePeriod' -Value 0 -Type DWord # entre 0 et 8
# durée (semaines)
Set-ItemProperty -Path $k -Name 'DeferUpdatePeriod' -Value 0 -Type DWord # entre 0 et 4
# Suspendre les mises à niveau et les mises à jour
# valeur non définie dans l'ADMX (l'éditeur GPO écrit en général 1/0)
# 1 = coché, 0 = décoché ; état par défaut de la case repris de l’ADML
Set-ItemProperty -Path $k -Name 'PauseDeferrals' -Value 0 -Type DWordDésactiver
# Désactiver : WindowsUpdate/DeferUpgrade
$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 'DeferUpgrade' -Value 0 -Type DWordRevenir à « Non configuré »
# Revenir à « Non configuré » : WindowsUpdate/DeferUpgrade
$k = 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate'
Remove-ItemProperty -Path $k -Name 'DeferUpgrade' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'DeferUpgradePeriod' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'DeferUpdatePeriod' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'PauseDeferrals' -ErrorAction SilentlyContinueOptions (3)
| Libellé | Contrôle | Valeur de registre | Type REG | Contraintes / détails |
|---|---|---|---|---|
| durée (mois) :duration (months):DeferUpgradePeriodId | Zone numériquedecimal | DeferUpgradePeriod | REG_DWORD | Obligatoire · Min : 0 · Max : 8 · Défaut (interface) : 0 |
| durée (semaines) :duration (weeks):DeferUpdatePeriodId | Zone numériquedecimal | DeferUpdatePeriod | REG_DWORD | Obligatoire · Min : 0 · Max : 4 · Défaut (interface) : 0 |
| Suspendre les mises à niveau et les mises à jourPause Upgrades and UpdatesPauseDeferralsId | Case à cocherboolean | PauseDeferrals | REG_DWORD | Défaut (interface) : false Coché : implicite : 1Décoché : implicite : 0 |