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.

Set the value data to one of the following numeric options based on your desired network behavior:


Step-by-Step Configuration in Regedit

  1. Press Win + R, type regedit, and press Enter to open the Registry Editor.
  2. Navigate to: HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\
  3. Right-click the Windows key, select New > Key, and name it DeliveryOptimization.
  4. Select the DeliveryOptimization key, right-click in the right pane, and choose New > DWORD (32-bit) Value.
  5. Name the new value DODownloadMode.
  6. Double-click DODownloadMode, set the Base to Hexadecimal or Decimal, enter the desired mode number (e.g., 0 to disable P2P, 1 for local LAN only), and click OK.
  7. Restart the computer or restart the Delivery Optimization service (DoSvc) for the changes to take effect.