Interdire les téléchargements à partir de serveurs Microsoft Cache connecté lorsque l’appareil se connecte via VPN : valeur de Registre DODisallowCacheServerDownloadsOnVPNOrdinateurHKLM\SOFTWARE\Policies\Microsoft\Windows\DeliveryOptimization

ID de stratégie
DisallowCacheServerDownloadsOnVPN
Étendue
Configuration ordinateur
Pris en charge sur
Au moins Windows 11 version 22H2
Source
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (version 1.0)
Catégorie
Composants Windows › Optimisation de la distribution

Registre

DODisallowCacheServerDownloadsOnVPN

REG_DWORDOrdinateur
Cochée
1
Décochée
0
Élément
Interdire le téléchargement à partir de MCC sur VPN
Type de valeur
REG_DWORD
Appliquer avec .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\DeliveryOptimization]

; Options (en utiliser une seule)
; Cochée
"DODisallowCacheServerDownloadsOnVPN"=dword:00000001
; Décochée
"DODisallowCacheServerDownloadsOnVPN"=dword:00000000
CMD
:: Options (en utiliser une seule)

:: Cochée
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\DeliveryOptimization" /v "DODisallowCacheServerDownloadsOnVPN" /t REG_DWORD /d 1 /f
:: Décochée
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\DeliveryOptimization" /v "DODisallowCacheServerDownloadsOnVPN" /t REG_DWORD /d 0 /f
PowerShell
# Commun : créer la clé
New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\DeliveryOptimization' -Force | Out-Null

# Options (en utiliser une seule)
# Cochée
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\DeliveryOptimization' -Name 'DODisallowCacheServerDownloadsOnVPN' -PropertyType DWord -Value 1 -Force | Out-Null
# Décochée
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\DeliveryOptimization' -Name 'DODisallowCacheServerDownloadsOnVPN' -PropertyType DWord -Value 0 -Force | Out-Null