Defer Upgrades and Updates
Différer les mises à niveau et les mises à jour
Explanation
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.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate- Value name
DeferUpgrade
| 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/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
# duration (months)
Set-ItemProperty -Path $k -Name 'DeferUpgradePeriod' -Value 0 -Type DWord # between 0 and 8
# duration (weeks)
Set-ItemProperty -Path $k -Name 'DeferUpdatePeriod' -Value 0 -Type DWord # between 0 and 4
# Pause Upgrades and Updates
# value not defined in the ADMX (the GPO editor usually writes 1/0)
# 1 = checked, 0 = unchecked; default state taken from the ADML
Set-ItemProperty -Path $k -Name 'PauseDeferrals' -Value 0 -Type DWordDisable
# Disable: 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 DWordRevert to "Not configured"
# Revert to "Not configured": 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)
| Label | Control | Registry value | REG type | Constraints / details |
|---|---|---|---|---|
| duration (months):durée (mois) :DeferUpgradePeriodId | Numeric boxdecimal | DeferUpgradePeriod | REG_DWORD | Required · Min: 0 · Max: 8 · Default (UI): 0 |
| duration (weeks):durée (semaines) :DeferUpdatePeriodId | Numeric boxdecimal | DeferUpdatePeriod | REG_DWORD | Required · Min: 0 · Max: 4 · Default (UI): 0 |
| Pause Upgrades and UpdatesSuspendre les mises à niveau et les mises à jourPauseDeferralsId | Check boxboolean | PauseDeferrals | REG_DWORD | Default (UI): false Checked: implicit: 1Unchecked: implicit: 0 |