Windows Delivery Optimization P2P Registry Settings
Windows Delivery Optimization uses peer-to-peer (P2P) technology to distribute Windows updates, apps, and drivers between local devices and over the internet. This article details the exact Windows Registry keys and values used to manage, configure, and disable peer-to-peer Delivery Optimization behaviors in Windows 10 and Windows 11.
The Primary Delivery Optimization Registry Key
To manage Delivery Optimization settings through the Windows Registry, navigate to the following policy key:
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\DeliveryOptimization
If the DeliveryOptimization key does not exist under the
Windows folder, you must create it manually.
Key Value: DODownloadMode
The primary value that dictates peer-to-peer sharing behavior is
DODownloadMode.
- Value Type:
REG_DWORD - Value Name:
DODownloadMode
Set the value data to one of the following numeric options based on your desired network behavior:
0(HTTP Only): Disables peer-to-peer sharing entirely. Updates are downloaded directly from Microsoft servers or WSUS.1(LAN / Local Network): Enables P2P sharing only among devices on the same local subnet or local area network.2(Group): Enables P2P sharing within the same Active Directory Domain Services domain, site, or custom group ID.3(Internet): Enables P2P sharing across both the local network and with external devices across the internet.99(Simple Mode): Disables cloud services entirely; Delivery Optimization uses only HTTP and ignores P2P components.100(Bypass Mode): Completely bypasses Delivery Optimization and relies on standard BITS (Background Intelligent Transfer Service).
Step-by-Step Configuration in Regedit
- Press Win + R, type
regedit, and press Enter to open the Registry Editor. - Navigate to:
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\ - Right-click the
Windowskey, select New > Key, and name itDeliveryOptimization. - Select the
DeliveryOptimizationkey, right-click in the right pane, and choose New > DWORD (32-bit) Value. - Name the new value
DODownloadMode. - Double-click
DODownloadMode, set the Base to Hexadecimal or Decimal, enter the desired mode number (e.g.,0to disable P2P,1for local LAN only), and click OK. - Restart the computer or restart the Delivery
Optimization service (
DoSvc) for the changes to take effect.