Windows Update Cache: Why It Grows and How to Clear It Safely


If you have ever run a disk space analyzer and found a mysterious folder called SoftwareDistribution holding 20 GB or more, you have met the Windows Update cache. It is not junk exactly — it holds downloaded updates — but it is also not something Windows is in a hurry to clean up. Deleting the wrong part of it can break updates until the service is reset, so it pays to know what you are removing.

This guide explains what the update cache contains, why it grows so large, three safe ways to clear it, and how to keep it from ballooning again.

PAGE CONTENT

What the Windows Update Cache Contains

Three different stores are often lumped together under this name, and they are not the same thing:

Only the first two are safe to clear, and even then the recommended route is Windows' own tools rather than manual deletion.

Why It Grows So Large

Step 1: See How Much Space It Uses

Step 1. Open File Explorer and paste C:\Windows\SoftwareDistribution into the address bar.

Step 2. Right-click the Download folder, choose Properties, and note the size. This is the most common culprit.

Step 3. For a broader view, open Settings > System > Storage and look at the Temporary files category. It reports Windows Update Cleanup and Delivery Optimization Files separately, which tells you which store to target.

Step 4. If you want a full picture of what fills your drive, a disk space analyzer makes the big folders obvious in seconds.

Step 2: Clear It with the Built-In Tools

Start here. These tools understand what is safe to remove, and they do not require stopping services.

Step 1. Open Settings > System > Storage > Temporary files.

Step 2. Tick Windows Update Cleanup, and Delivery Optimization Files if it is listed. Check the reported size before confirming.

Step 3. Click Remove files and let it finish. This can take several minutes because it interacts with the servicing stack.

Step 4. For a deeper pass, search for Disk Cleanup, select your system drive, and click Clean up system files. Tick Windows Update Cleanup there as well. Disk Cleanup sometimes offers more detail about older update packages.

Note
After cleaning, Windows may take longer to check for updates once, because it re-scans what is installed. That is normal and happens only on the next check.

Step 3: Clear the Delivery Optimization Cache

If peer-to-peer sharing has cached a lot of data, clear it separately. You need an administrator session.

Step 1. Press Win + X and choose Terminal (Admin) or PowerShell (Admin).

Step 2. Run Delete-DeliveryOptimizationCache -Force. This removes the cached blocks without affecting your own installed updates.

Step 3. If the cmdlet is unavailable on your edition, delete the contents of the Delivery Optimization folder inside C:\Windows\SoftwareDistribution and the cache folder under C:\Windows\ServiceProfiles\NetworkService\AppData\Local\Microsoft\Windows\DeliveryOptimization, leaving the folders themselves in place.

Step 4. Restart the PC so the service recreates a clean cache.

Stop It Growing Back, and What Never to Delete

Prevention is mostly about settings and habits:

FAQs About the Update Cache

Is it safe to delete the SoftwareDistribution folder?

Do not delete the folder. Deleting its Download contents is generally safe when the update services are stopped, but removing the whole folder can leave update components in an inconsistent state.

Will clearing the cache remove installed updates?

No. Installed updates are part of the system, not the download cache. Cleaning only removes packages and cached blocks that are no longer needed for installing.

Why did my update cache grow again after cleaning?

Because the next round of updates downloads new packages, and peer sharing may cache blocks again. Cleaning is a periodic task, not a one-time fix. See Windows 11 Thumbnail Cache for the same reasoning applied to Explorer caches.

Is the WinSxS folder a cache I can delete?

No. It is the component store that makes Windows updates and repairs work. Use DISM to clean it properly, and never delete files inside it by hand.

Freeing this space made my PC faster, why?

Because a nearly full system drive slows everything down. Once there is free space, Windows has room for its caches, page file, and temporary files, which is where tools such as Qiling Fast Cache help by keeping the data you read most in faster storage.

How often should I clean the update cache?

When your free space gets tight, or after a major feature update. There is no benefit to clearing it weekly; the cache exists to make updates reliable.

Back Up Windows Before You Change Settings

Cleaning caches is safe, but changing update services and system folders carries some risk. Qiling Disk Master creates a full Windows image you can restore from if anything goes wrong.

Part 1: Create a Full System Backup

Step 1. Install and open Qiling Disk Master. On the home screen, open "Backup and Recovery" and choose "System Backup". This option automatically includes Windows and the hidden boot partitions, so you do not have to select them one by one.

open Backup and Recovery in Qiling Disk Master

Step 2. Check the source. The disk where Windows is installed and its system partitions are already ticked for you. If you only need your personal documents, run a separate "File Backup" task instead.

choose System Backup to protect Windows 11

Step 3. Click the destination box and choose where the image should be saved. Use an external HDD or SSD, a NAS, or any drive other than the one Windows is installed on, and make sure it has enough free space.

select an external drive as the system backup destination

Step 4. Review the task summary and click "Proceed". Wait until the progress bar reaches 100%. Do not unplug the drive or turn off the PC while the backup is running.

click Proceed to start the system backup

Part 2: Restore Windows from the Backup

Step 1. Open Qiling Disk Master again, go to "Backup and Recovery", and select the recovery option. Your backup images are listed, so pick the one you created before the changes began.

select the system backup image to restore

Step 2. Choose the target disk or partition. Normally you restore to the original system disk. If the drive was replaced, select the new disk instead, and the restore rebuilds Windows together with its boot partitions.

choose the target disk for the system restore

Step 3. Preview the restore plan, click "Proceed", and confirm the warning. The PC restarts to finish the job, and Windows comes back exactly as it was on the day the image was created, with your files and programs intact.

preview the restore plan before proceeding

Note
Keep the backup image on a separate drive, and refresh it before stopping update services or deleting folder contents.

Conclusion

The Windows Update cache is not junk; it is the storage that makes updates install reliably. It grows because feature updates are large, interrupted installs leave packages behind, and Delivery Optimization caches blocks for other PCs. Clear it with Windows' own tools first — Settings > System > Storage > Temporary files and Disk Cleanup — and use Delete-DeliveryOptimizationCache for peer data. Never remove the SoftwareDistribution folder or delete files inside WinSxS by hand. Once space is free again, keep it that way with Storage Sense and an occasional DISM component cleanup, and let Qiling Fast Cache keep the data you actually read on faster storage.

Protect your PC with Qiling Backup—create a system image before your next round of settings changes.

For more Windows 11 performance guides, see Windows 11 Thumbnail Cache, Windows 11 Fast Cache, Cache vs Buffer, How to Check Cache Hit Rate, and Does Caching Leave Your Data Behind?.

Related Articles


Is this information helpful?     

What can we do to improve this information? (Optional)
Refresh Please enter the verification code!


QilingTech uses cookies to ensure you get the best experience on our website.  Learn more  Got it