Windows Delivery Optimization is a feature that helps reduce bandwidth usage by downloading Windows updates and Microsoft Store apps from other PCs on your local network or the internet. While this peer-to-peer sharing system can be efficient, it accumulates cache files over time that may consume significant disk space and potentially slow down your system. Here's how to clear the Delivery Optimization cache in Windows 10 and 11 to reclaim storage and maintain optimal performance.

Understanding Delivery Optimization Cache

Delivery Optimization works by:
- Downloading update fragments from multiple sources
- Storing downloaded fragments for sharing with other PCs
- Creating temporary files during the update process

These cached files typically reside in the C:\Windows\SoftwareDistribution\DeliveryOptimization folder and can grow to several gigabytes in size. While Windows automatically manages this cache, manual cleaning may be necessary when:
- You're running low on disk space
- System performance has degraded
- You want to ensure privacy by removing shared update fragments

Methods to Clear Delivery Optimization Cache

Method 1: Using Windows Settings

  1. Open Settings (Win + I)
  2. Navigate to System > Storage
  3. Click Temporary files
  4. Check Delivery Optimization Files
  5. Click Remove files

Method 2: Via Disk Cleanup Utility

  1. Search for and open Disk Cleanup
  2. Select your system drive (usually C:)
  3. Click Clean up system files
  4. Check Delivery Optimization Files
  5. Click OK to confirm

Method 3: Using Command Prompt (Advanced)

For power users, you can clear the cache via Command Prompt:

net stop bits
net stop wuauserv
net stop dosvc
rd /s /q "%SystemDrive%\Windows\SoftwareDistribution\DeliveryOptimization"
net start bits
net start wuauserv
net start dosvc

Additional Optimization Tips

  • Limit cache size: In Settings > Update & Security > Delivery Optimization > Advanced options, set a maximum cache size
  • Disable peer sharing: If bandwidth isn't a concern, turn off "Allow downloads from other PCs"
  • Schedule regular cleanups: Use Task Scheduler to automate cache clearing
  • Monitor storage: Check Storage Sense settings to automatically remove temporary files

Troubleshooting Common Issues

If you encounter problems after clearing the cache:
- Windows Update errors: Run wuauclt /updatenow in Command Prompt
- Missing cleanup option: Ensure you're running the latest Windows version
- Permission denied errors: Run Disk Cleanup as Administrator

When to Keep the Cache

Consider maintaining the cache if:
- You're on a metered connection
- Your network has multiple Windows devices
- You frequently reinstall the same updates

Regular maintenance of your Delivery Optimization cache can significantly improve system performance and free up valuable disk space. For most users, performing this cleanup every 3-6 months is sufficient to balance between storage efficiency and update performance.