Download Mode
Mode de téléchargement
Explanation
Specifies the method that Delivery Optimization can use to download content on behalf of various Microsoft products.
0 = HTTP only, no peering
1 = HTTP blended with peering behind the same NAT
2 = HTTP blended with peering across a private group
3 = HTTP blended with Internet peering
99 = HTTP only, no peering, no use of DO cloud service
100 = Bypass mode, deprecated in Windows 11
Spécifie la méthode que Optimisation de la distribution pouvez utiliser pour télécharger du contenu au nom de différents produits Microsoft.
0 = HTTP uniquement, aucun peering
1 = HTTP fusionné avec peering derrière le même NAT
2 = HTTP fusionné avec peering dans un groupe privé
3 = HTTP fusionné avec appairage Internet
99 = HTTP uniquement, pas d’appairage, aucune utilisation du service cloud DO
100 = Mode de contournement, déconseillé dans Windows 11
Use cases
Defines where update downloads come from: 0 HTTP only (no peer-to-peer), 1 LAN (default), 2 Group (the option Microsoft recommends for most organisations, including remote offices), 3 Internet, 99 Simple (turns off the Delivery Optimization cloud services, for offline environments). Group mode shares content among machines in the same group, which optimises bandwidth.
Do not choose mode 100 (Bypass), deprecated in Windows 11: use 0 to disable peering or 99 for offline devices. AD, site or tenant based groups must not be relied on to authenticate devices.
Microsoft source: Delivery Optimization reference
Registry
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\DeliveryOptimization- Value name
- not defined in the ADMX
Enable / disable values: not defined in the ADMX (see the options below).
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: DeliveryOptimization/DownloadMode
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\DeliveryOptimization'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Download Mode
# Possible options:
# HTTP only (0) = 0
# LAN (1) = 1
# Group (2) = 2
# Internet (3) = 3
# Simple (99) = 99
# Bypass (100) = 100
Set-ItemProperty -Path $k -Name 'DODownloadMode' -Value 1 -Type DWordDisable
# Disable: DeliveryOptimization/DownloadMode
# No value is written in the "Disabled" state (nothing defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": DeliveryOptimization/DownloadMode
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\DeliveryOptimization'
Remove-ItemProperty -Path $k -Name 'DODownloadMode' -ErrorAction SilentlyContinueOptions (1)
| Label | Control | Registry value | REG type | Constraints / details | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Download Mode:Mode de téléchargement :DownloadMode | Drop-down listenum | DODownloadMode | REG_DWORD | Default choice (UI): #1
|