P2P aktivieren, während das Gerät über VPN eine Verbindung herstellt: Registrierungswert DOAllowVPNPeerCachingComputerHKLM\SOFTWARE\Policies\Microsoft\Windows\DeliveryOptimization

Richtlinien-ID
AllowVPNPeerCaching
Bereich
Computerkonfiguration
Unterstützt unter
Mindestens Windows Server 2016, Windows 10
Quelle
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (Version 1.0)
Kategorie
Windows-Komponenten › Übermittlungsoptimierung

Registrierung

DOAllowVPNPeerCaching

REG_DWORDComputer
Angekreuzt
1
Nicht angekreuzt
0
Element
P2P aktivieren, während das Gerät über VPN eine Verbindung herstellt
Werttyp
REG_DWORD
Mit .reg · CMD · PowerShell anwenden
.reg
Windows Registry Editor Version 5.00

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

; Optionen (nur eine verwenden)
; Angekreuzt
"DOAllowVPNPeerCaching"=dword:00000001
; Nicht angekreuzt
"DOAllowVPNPeerCaching"=dword:00000000
CMD
:: Optionen (nur eine verwenden)

:: Angekreuzt
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\DeliveryOptimization" /v "DOAllowVPNPeerCaching" /t REG_DWORD /d 1 /f
:: Nicht angekreuzt
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\DeliveryOptimization" /v "DOAllowVPNPeerCaching" /t REG_DWORD /d 0 /f
PowerShell
# Gemeinsam: Schlüssel erstellen
New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\DeliveryOptimization' -Force | Out-Null

# Optionen (nur eine verwenden)
# Angekreuzt
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\DeliveryOptimization' -Name 'DOAllowVPNPeerCaching' -PropertyType DWord -Value 1 -Force | Out-Null
# Nicht angekreuzt
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\DeliveryOptimization' -Name 'DOAllowVPNPeerCaching' -PropertyType DWord -Value 0 -Force | Out-Null