Turn Off Windows P2P Settings – Simple Step‑by‑Step Guide
In this article
Yes, you can turn off Windows peer‑to‑peer (P2P) settings, and the quickest way is to disable the Delivery Optimization toggle in Windows Update settings.
What You'll Need
- Administrator access on the PC (standard user accounts cannot change system‑wide update settings).
- Windows 10 version 1709 or later, or Windows 11 (the steps are the same across these versions).
Step‑by‑Step
- Open the Settings app. You can do this by pressing Win + I or by clicking the Start menu and selecting the gear icon.
- Navigate to Update & Security. In Windows 11 this section is labeled Windows Update under System.
- Click Advanced options. On Windows 11 you may need to scroll down a little to find the link.
- Select Delivery Optimization. This opens the page that controls how Windows obtains updates and apps from the internet.
- Locate the switch labeled Allow downloads from other PCs. The wording may vary slightly (e.g., “Allow downloads from other PCs on the Internet” or “Allow downloads from other PCs on my local network”).
- If the switch is On, click it to turn it Off. This stops Windows from using P2P to download updates or Microsoft Store apps.
- Close the Settings window. The change takes effect immediately; Windows will now download updates only from Microsoft servers.
If you manage multiple computers in a corporate environment, you may prefer to enforce the setting via Group Policy or the Registry.
Using Group Policy (Windows Pro, Enterprise, or Education)
- Press Win + R, type
gpedit.msc, and press Enter to launch the Local Group Policy Editor. - Navigate to
Computer Configuration > Administrative Templates > Windows Components > Delivery Optimization. - Double‑click the policy named Download mode.
- Select Enabled, then choose 0 – HTTP only from the drop‑down list. This forces Windows to ignore any P2P sources.
- Click Apply and then OK. Close the Group Policy Editor.
- Open a Command Prompt as administrator and run
gpupdate /forceto apply the policy immediately.
Using the Registry (All Editions)
- Press Win + R, type
regedit, and press Enter. Accept the UAC prompt if it appears. - Navigate to
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\DeliveryOptimization. If theDeliveryOptimizationkey does not exist, right‑click theWindowsfolder, choose New > Key, and name itDeliveryOptimization. - Right‑click the right pane, select New > DWORD (32‑bit) Value, and name it
DownloadMode. - Double‑click
DownloadModeand set the value data to0. Click OK. - Close the Registry Editor and restart the computer for the change to take effect.
Common Mistakes
- Turning off the wrong toggle. Some guides mention “Allow downloads from other PCs on my local network.” Disabling only the local‑network option still permits internet‑based P2P. Make sure the main “Allow downloads from other PCs” switch is off.
- Editing the wrong registry path. The Delivery Optimization settings live under
…\Windows\DeliveryOptimization. A common error is to edit a similarly named key underHKCUinstead ofHKLM, which has no effect on system‑wide behavior. - Forgetting to apply Group Policy. After changing a policy, you must run
gpupdate /forceor restart. Skipping this step leaves the old setting active. - Using a standard user account. Without admin rights the Settings page will grey out the toggle, and any registry or policy changes will be blocked.
Tips
- After disabling P2P, monitor Windows Update history for longer download times. If you notice significant delays, consider re‑enabling the feature on a metered network only.
- Use the
Settings > Network & Internet > Data usagepage to set your connection as “Metered.” Windows automatically limits P2P on metered connections, providing a safety net. - If you manage many devices, deploy the Group Policy or Registry method through your existing configuration management tool (Intune, SCCM, etc.) to keep settings consistent.
- Check the “Delivery Optimization” diagnostic page (type
deliveryoptimization://statusin the Run dialog) to confirm that the “Downloads from other PCs” status shows “Disabled.”
Troubleshooting
If the toggle reverts to “On” after a restart, or you still see P2P traffic in your network monitor, follow these steps:
- Restart the Windows Update service. Open a Command Prompt as admin and run:
net stop wuauserv && net start wuauserv - Verify the policy hierarchy. In a domain environment, a higher‑level Group Policy can overwrite local settings. Run
gpresult /h gpresult.htmland inspect the resulting HTML for any Delivery Optimization policies. - Check for conflicting third‑party software. Some network‑optimizing utilities (e.g., peer‑to‑peer accelerators) may re‑enable P2P features. Disable or uninstall such tools temporarily.
- Confirm the registry value. Open Regedit again, navigate to the
DownloadModeDWORD, and ensure the data is still0. If it has changed, a script or policy is resetting it. - Run the Windows Update troubleshooter. Go to Settings > Update & Security > Troubleshoot > Additional troubleshooters > Windows Update, then click “Run the troubleshooter.”
- Update Windows. Occasionally a bug in a specific build prevents the toggle from persisting. Installing the latest cumulative update often resolves the issue.
If none of the above fixes the problem, consider resetting Windows Update components. This process deletes temporary update files but does not affect personal data. Microsoft provides a step‑by‑step “Reset Windows Update components” script that can be run from an elevated Command Prompt.
Frequently Asked Questions
Will turning off P2P affect the speed of Windows updates?
Disabling P2P forces the PC to download updates only from Microsoft’s servers, which can be slower on low‑bandwidth connections because you lose the benefit of downloading chunks from nearby PCs.
Does disabling Delivery Optimization also stop Microsoft Store app updates?
Yes. Store apps use the same Delivery Optimization service, so turning the toggle off stops P2P for both Windows updates and Store app downloads.
Can I keep P2P enabled on a home network but disable it on a work network?
Yes. In the Delivery Optimization settings you can choose “Allow downloads from other PCs on my local network” separately from the internet option, giving you granular control.
Is there a way to schedule when P2P traffic is allowed?
Windows does not provide a built‑in schedule for Delivery Optimization. You would need to use third‑party network‑policy tools or scripts that toggle the setting at specific times.
Do I need to restart after changing the registry?
A restart is recommended because the Delivery Optimization service reads the registry at startup. Without a restart, the change may not be applied until the service restarts automatically.
Will disabling P2P affect other Microsoft services like Xbox Live?
No. Xbox Live uses separate networking protocols; turning off Delivery Optimization only influences Windows Update and Store downloads.