Policy
Enable P2P while the device connects via VPN
Microsoft Windows
Policy overview
Key metadata and intent for this policy.
Supported OS tags: Windows10, Windows10RT, Windows11, WindowsServer2016
Specifies whether the device, with an active VPN connection, is allowed to participate in P2P or not.
Internal name
AllowVPNPeerCaching
Policy ID
47c5ca95967d
Elements
1
Registry values
How enabled and disabled states update the registry.
No explicit registry values are set for enabled or disabled states.
Policy elements
Inputs and configuration options exposed by this policy.
| Scope | Element | Type | Registry mapping | Constraints & behavior | Copy |
|---|---|---|---|---|---|
| Computer | Enable P2P while the device connects via VPN ID AllowVPNPeerCaching | boolean | Path SOFTWARE\Policies\Microsoft\Windows\DeliveryOptimization Value name DOAllowVPNPeerCaching Type REG_DWORD | Options: true (1), false (0) True: Set value = 1 · False: Set value = 0 |
Enable P2P while the device connects via VPN
Registry mapping
Path
SOFTWARE\Policies\Microsoft\Windows\DeliveryOptimization
Value name
DOAllowVPNPeerCaching
Type
REG_DWORD
Details
Options: true (1), false (0)
True: Set value = 1 · False: Set value = 0