How to fix and clear the Windows Delivery Optimization cache to resolve stuck Windows Updates
Summary
This guide helps you troubleshoot and resolve: How to fix and clear the Windows Delivery Optimization cache to resolve stuck Windows Updates. Follow the steps below to fix the issue.
Common Causes
Windows Delivery Optimisation (DO) is a built-in feature that lets your computer share update files with other PCs on your network or online, reducing Microsoft's bandwidth load. Sometimes the DO cache becomes corrupted or bloated, causing Windows Updates to stall at "Downloading," fail repeatedly, or get stuck at 0%. Clearing the cache forces Windows to re-download the update files cleanly. This guide walks you through the process on Windows 10 and Windows 11.
Quick Fix Steps
- Stop the Delivery Optimisation service.
- Stop the Windows Update service to prevent file-in-use errors.
- Delete the contents of the Delivery Optimisation cache folder.
- Restart the Delivery Optimisation service.
- Restart the Windows Update service.
- Re-run Windows Update.
net stop DoSvc
net stop wuauserv
del /f /s /q "%SystemDrive%\Windows\ServiceProfiles\LocalService\AppData\Local\Microsoft\Windows\DeliveryOptimization\Cache\*"
net start DoSvc
net start wuauserv
If that resolves your issue, you're done. If not, continue to the detailed instructions below.
Detailed Instructions
Stop the Delivery Optimisation Service
- Press
Win + R, typeservices.msc, and press Enter. - Scroll down and double-click Delivery Optimisation (the service name is
DoSvc). - Click Stop.
- Set the Startup type to Manual for now — you can change it back later.
- Click Apply, then OK.
Stop the Windows Update Service
- In the Services window (
services.msc), scroll down and double-click Windows Update (the service name iswuauserv). - Click Stop.
- Click Apply, then OK.
Delete the Delivery Optimisation Cache
The Delivery Optimisation cache is stored in a hidden system folder. You may need to enable Show hidden files, folders, and drives in File Explorer to access this path:
%SystemDrive%\Windows\ServiceProfiles\LocalService\AppData\Local\Microsoft\Windows\DeliveryOptimization\Cache
- Press
Win + R, paste the path above, and press Enter. - Press
Ctrl + Ato select all files and folders inside theCachefolder. - Press
Shift + Deleteto permanently remove them (skip the Recycle Bin). - If Windows reports any files are in use, return to Services and confirm both the Delivery Optimisation and Windows Update services are stopped, then try again.
DeliveryOptimization folder itself. Only clear the contents of the Cache subfolder.Restart the Services
- Return to Services (
services.msc) and double-click Delivery Optimisation. - Set the Startup type back to Manual.
- Click Start, then OK.
- Double-click Windows Update.
- Set the Startup type back to Manual.
- Click Start, then OK.
Re-run Windows Update
- Open Settings with
Win + I. - Navigate to Windows Update.
- Click Check for updates.
- Allow the download to complete. If the update was previously stuck, it should now download from scratch.
Delivery Optimisation Settings to Review
Windows lets you control how updates are shared. If updates keep failing on a metered or slow connection, restrict sharing:
- Open Settings > Windows Update > Advanced options > Delivery Optimisation.
- Select Allow downloads from other PCs: Off to use Microsoft servers only.
- Alternatively, choose Local network only if you trust your network.
Still Having Issues?
💻 Open a Ticket