Open in the explorer

Allow updates to be downloaded automatically over metered connections

Autoriser le téléchargement automatique des mises à jour sur les connexions limitées

Type
Computer
GPO path
Computer Configuration › Policies › Administrative Templates › Windows Components › Windows Update › Manage end user experience FR: Configuration ordinateur › Stratégies › Modèles d'administration › Composants Windows › Windows Update › Gérer l’expérience utilisateur final
Supported on
At least Windows Server 2016, Windows 10 FR: Au moins Windows Server 2016, Windows 10
ADMX file
WindowsUpdate.admx
Internal name
WindowsUpdate/AllowAutoWindowsUpdateDownloadOverMeteredNetwork

Explanation

Enabling this policy will automatically download updates, even over metered data connections (charges may apply)

French text from Windows 11 26H2

L'activation de cette stratégie téléchargera automatiquement les mises à jour, même sur des connexions limitées (des frais peuvent s'appliquer)

Use cases

Allows automatic update downloads on metered connections (cellular, mobile hotspot). Microsoft recommends the value 1 so that users with only a cellular connection still receive their patches.

Weigh it against the data plans of mobile devices: a cumulative update can weigh several hundred MB.

Microsoft source: Update policies

Registry

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate
Value name
AllowAutoWindowsUpdateDownloadOverMeteredNetwork
StateValue written
EnabledREG_DWORD = 1
DisabledREG_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/AllowAutoWindowsUpdateDownloadOverMeteredNetwork
$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 'AllowAutoWindowsUpdateDownloadOverMeteredNetwork' -Value 1 -Type DWord

Disable

# Disable: WindowsUpdate/AllowAutoWindowsUpdateDownloadOverMeteredNetwork
$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 'AllowAutoWindowsUpdateDownloadOverMeteredNetwork' -Value 0 -Type DWord

Revert to "Not configured"

# Revert to "Not configured": WindowsUpdate/AllowAutoWindowsUpdateDownloadOverMeteredNetwork
$k = 'HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate'
Remove-ItemProperty -Path $k -Name 'AllowAutoWindowsUpdateDownloadOverMeteredNetwork' -ErrorAction SilentlyContinue

Availability

Windows Server