What Are Delivery Optimization Files in Windows 10 & 11?
Delivery Optimization (DO) is a built-in Windows component that has been part of the operating system since Windows 10 version 1511. Its primary purpose is to make the download of Windows Updates, Microsoft Store apps, and other Microsoft content faster and more bandwidth-efficient by using peer-to-peer (P2P) technology โ similar in concept to BitTorrent.
When Windows downloads an update or an app, Delivery Optimization can cache a copy of those downloaded files on your local drive. These cached files are what Windows refers to as Delivery Optimization Files. They serve two purposes:
โฆ What they help with
- Sharing downloaded updates with other PCs on your local network, reducing total bandwidth used
- Allowing other Windows PCs on the internet to download update pieces from your PC
- Resuming interrupted downloads without re-downloading everything
- Speeding up update delivery across corporate or home networks with multiple Windows devices
โฆ The trade-offs
- Can consume several gigabytes of precious disk space over time
- Uploading to strangers on the internet may use your internet bandwidth
- Files accumulate silently without visible notification to the user
- Can grow especially large on SSDs with limited capacity
How Does Windows Delivery Optimization Work?
Delivery Optimization operates as a background Windows service (DoSvc). When your PC needs to download a Windows Update, a Microsoft Store app, drivers, or other Microsoft content, DO can split the download into chunks and retrieve those chunks from multiple sources simultaneously:
๐ก Download Sources
| Source Type | Description | Enabled by Default |
|---|---|---|
| Microsoft Servers | The traditional update server โ always used as the primary source | โ Yes |
| Local Network PCs | Other Windows 10/11 PCs on the same LAN that already have the file cached | โ Yes |
| Internet PCs (P2P) | Other Windows PCs anywhere on the internet with the cached content | โ Yes (can be disabled) |
| Microsoft Connected Cache | A cache server on your ISP's or company's network (if supported) | Depends on ISP |
After a successful download, Delivery Optimization keeps a local copy of the content in its cache folder. This cache can later be "uploaded" (seeded) in pieces to other Windows devices that need the same update โ both on your local network and across the internet, depending on your settings.
Where Are Delivery Optimization Files Stored on Your PC?
Windows stores Delivery Optimization cache files in a hidden system folder. You cannot browse this folder with File Explorer under normal settings, as it is protected by the operating system. The default location is:
C:\Windows\SoftwareDistribution\DeliveryOptimization\Cache
Additionally, related database and configuration files are kept at:
C:\Windows\SoftwareDistribution\DeliveryOptimization
DoSvc service is running can corrupt the cache database and cause update errors.
๐ How to View the Cache Size Without Deleting
You can check how much space Delivery Optimization is using through PowerShell without touching the files:
PowerShell โ Run as Administrator
Get-DeliveryOptimizationStatus
This command outputs a detailed status report, including cache size, upload/download statistics, and peer connectivity information.
How Much Disk Space Do Delivery Optimization Files Use?
The size of the Delivery Optimization cache varies widely depending on how long your PC has been running, how many updates have been downloaded, and how Windows manages the cache on your specific drive.
By default, Windows automatically limits the Delivery Optimization cache to 10% of your total drive capacity. On a 256 GB SSD, that means up to ~25 GB could be reserved. However, Windows is also supposed to clean up old cache entries automatically when disk space runs low โ though in practice this doesn't always happen reliably.
Is It Safe to Delete Delivery Optimization Files?
Think of the Delivery Optimization cache like a browser cache. Clearing your browser cache doesn't break websites โ it just means the browser has to re-download page assets the next time you visit. The same principle applies here.
โก What Happens After You Delete Them
| Scenario | What Happens |
|---|---|
| Windows checks for updates | Works normally โ downloads from Microsoft servers as usual |
| Microsoft Store app update | Downloads from Microsoft servers directly โ no issues |
| Sharing updates with LAN peers | Temporarily unavailable until the cache refills after new downloads |
| Your current installed updates | Completely unaffected โ DO cache is separate from installed update files |
| System stability | No impact whatsoever |
How to Delete Delivery Optimization Files: 3 Methods
There are three official, safe ways to clear the Delivery Optimization cache in Windows 10 and Windows 11. Choose the one that best fits your comfort level.
๐๏ธ Using Storage Sense / Disk Cleanup (Recommended for Most Users)
Windows 11 โ via Settings:
- Open Settings โ System โ Storage
- Click Temporary files (Windows may take a moment to scan)
- Check the box next to Delivery Optimization Files
- Click Remove files and confirm
Windows 10 โ via Disk Cleanup:
- Press
Win + S, type Disk Cleanup, and open it - Select your C: drive and click OK
- Wait for the scan to complete
- Scroll the list and check Delivery Optimization Files
- Click OK โ Delete Files to confirm
๐ป Using PowerShell (Recommended for Advanced Users)
This method uses a dedicated PowerShell cmdlet that safely stops the DO service, clears the cache, and restarts the service:
PowerShell โ Run as Administrator
# View current cache size first (optional)
Get-DeliveryOptimizationStatus
# Delete all cached Delivery Optimization files
Delete-DeliveryOptimizationCache -Force
-Force flag suppresses the confirmation prompt. You can omit it to review what will be deleted before confirming.
โ๏ธ Enable Storage Sense to Delete Automatically
Storage Sense can automatically delete Delivery Optimization files on a schedule so you never have to think about it:
- Open Settings โ System โ Storage
- Toggle Storage Sense to On
- Click Configure Storage Sense or run it now
- Under "Delete files in my recycle bin if they have been there for over:", set your preferred schedule
- Scroll down and click Run Storage Sense now for an immediate cleanup
How to Disable or Limit Delivery Optimization in Windows 10 & 11
If you'd rather prevent the cache from accumulating in the first place, you can configure or disable Delivery Optimization. Note that Microsoft does not recommend fully disabling it, as it can slow down update downloads on networks with multiple Windows PCs.
๐ง Option A โ Limit Bandwidth and Cache Size (Recommended)
- Open Settings โ Windows Update โ Advanced options
- Click Delivery Optimization
- Click Advanced options
- Under Upload settings, set the monthly upload limit (e.g., 5 GB) and limit background bandwidth
- Under Download settings, optionally cap the download bandwidth percentage
๐ง Option B โ Disable Internet P2P Sharing Only
- Open Settings โ Windows Update โ Advanced options
- Click Delivery Optimization
- Toggle Allow downloads from other PCs to On
- Select Devices on my local network (this disables internet P2P while keeping LAN sharing)
๐ง Option C โ Disable Delivery Optimization Completely
- Open Settings โ Windows Update โ Advanced options
- Click Delivery Optimization
- Toggle Allow downloads from other PCs to Off
๐ง Limit Cache Size via PowerShell
You can also set a hard cap on how much disk space the cache is allowed to use:
PowerShell โ Run as Administrator
# Set max cache size to 5 GB (5120 MB)
Set-DeliveryOptimizationStatus -CacheMaxSizeInGB 5
# Set max cache age to 7 days (files older than this are auto-purged)
Set-DeliveryOptimizationStatus -MaxCacheAgeDays 7
Frequently Asked Questions About Delivery Optimization Files
Q Will deleting Delivery Optimization files break Windows Update? โผ
Q Why does the Delivery Optimization cache keep coming back after I delete it? โผ
Q Is Delivery Optimization spyware? Does it upload my personal files? โผ
Q How often should I delete Delivery Optimization files? โผ
Q Can I delete Delivery Optimization files directly from File Explorer? โผ
Delete-DeliveryOptimizationCache PowerShell cmdlet instead.
Q Does Delivery Optimization work differently on Windows 10 vs Windows 11? โผ
๐ Bottom Line
Delivery Optimization files are harmless cache files that Windows uses to speed up update distribution across multiple PCs. They are completely safe to delete โ Windows will simply rebuild the cache over time as new updates are downloaded. For most users, the best approach is to enable Storage Sense and let Windows manage the cleanup automatically. If you're on a small SSD or a metered internet connection, consider limiting the cache size or disabling internet P2P sharing via the Delivery Optimization settings to keep disk usage and bandwidth under control.