Windows stores update files on your hard drive even after installation, and deleting that cache can free up several gigabytes of space
When Windows installs updates, it keeps copies of the old files and installation packages in a folder called the Windows Update cache. This is meant as a safety net — if something goes wrong, Windows can roll back to the previous version. But once you're confident an update is working, those files just sit there taking up room. On a typical system, this cache can grow to 5 to 20 gigabytes over time.
You have two safe ways to clear it: the built-in Disk Cleanup tool, which is the simpler route for most people, or manual deletion through File Explorer if you want more control. Both are safe because Windows won't delete files it still needs to run.
Key Takeaways
- The Windows Update cache lives in the Windows folder and can grow to several gigabytes, but Windows won't delete files it actively uses.
- Disk Cleanup is the safest method because it only removes files Windows has marked as safe to delete.
- You can also manually delete the SoftwareDistribution folder through File Explorer, but you must stop the Windows Update service first.
- After clearing the cache, Windows will re-download updates if you ever need to reinstall them, so this is not a permanent loss.
- Restart your computer after clearing the cache to ensure all services restart cleanly.
Using Disk Cleanup to remove update files
Disk Cleanup is built into Windows and handles the cache deletion safely. Open it by pressing the Windows key, typing "Disk Cleanup", and pressing Enter. The tool will scan your drive for files it considers safe to remove.
When the Disk Cleanup window opens, look for a checkbox labeled "Windows Update Cleanup" or "Previous Windows Installation(s)". Check that box. You may also see other options like temporary files or recycle bin contents — you can check those too if you want to free up more space. Click "OK" and confirm when prompted. The process usually takes a few minutes.
This method is the least risky because Disk Cleanup only removes files that Windows has already flagged as removable. You don't have to think about which files matter and which don't.
Manually deleting the SoftwareDistribution folder
If you want direct control, you can delete the update cache folder yourself. The cache lives at C:\Windows\SoftwareDistribution\Download. Before you delete it, you must stop the Windows Update service, otherwise Windows will lock the files and prevent deletion.
Press the Windows key, type "Services", and press Enter. Find "Windows Update" in the list, right-click it, and select "Stop". Wait a few seconds for the service to shut down. Now open File Explorer, navigate to C:\Windows\SoftwareDistribution\Download, select all files inside (Ctrl+A), and delete them. Empty the recycle bin afterward.
After deletion, go back to Services, right-click "Windows Update" again, and select "Start" to turn the service back on. Restart your computer. Windows will rebuild the SoftwareDistribution folder the next time it checks for updates, which is normal.
What happens after you clear the cache
Clearing the cache does not uninstall updates or break Windows. The updates remain installed on your system. What you're removing is only the installation files that Windows kept as a backup. If you ever need to roll back an update or reinstall Windows, it will re-download those files from Microsoft's servers.
You may notice Windows Update running in the background after you clear the cache — this is Windows re-downloading the current update files so it has a fresh copy. This is normal and expected. The re-download usually completes within an hour depending on your internet speed.
How much space you'll actually free up
The amount of space varies depending on how many updates Windows has accumulated. On a system that hasn't been cleaned in a year or more, you might free up 10 to 20 gigabytes. On a newer system with fewer updates, it could be 2 to 5 gigabytes. The only way to know for certain is to check your drive space before and after.
To see how much space the cache is currently using, open File Explorer, navigate to C:\Windows\SoftwareDistribution\Download, right-click the folder, select "Properties", and look at the size shown. That's what you'll reclaim by deleting it.
When not to clear the cache
If you're planning to roll back a recent update in the next few days, keep the cache intact. Once you delete it, rolling back becomes harder because Windows has to re-download the old version. If you've had an update for weeks or months with no problems, the risk of needing to roll back is very low, so clearing the cache is safe.
Also avoid clearing the cache if your internet connection is slow or metered. Since Windows will re-download the files, you'll use bandwidth unnecessarily. If you have a fast, unlimited connection, this isn't a concern.
Automating cache cleanup
Windows doesn't have a built-in automatic cleanup for the update cache, but you can set up a scheduled task to run Disk Cleanup periodically. Press the Windows key, type "Task Scheduler", and press Enter. Click "Create Basic Task" on the right side. Give it a name like "Monthly Update Cache Cleanup", set it to run monthly, and in the "Action" step, point it to the Disk Cleanup executable at C:\Windows\System32\cleanmgr.exe.
This approach is optional — most people just run Disk Cleanup manually once or twice a year when they notice their drive is getting full. Automation is only worth setting up if you're managing multiple computers or you want to be hands-off about it.
Frequently Asked Questions
Will deleting the cache break Windows or my updates?
No. The cache contains only backup copies of installation files. Your updates remain installed and working. Windows will simply re-download the files if it needs them later, which is rare unless you're rolling back an update.
Is it safe to delete files in the SoftwareDistribution folder manually?
Yes, as long as you stop the Windows Update service first. If you try to delete while the service is running, Windows will lock the files and prevent deletion. Always restart the service and your computer after deletion.
How often should I clear the update cache?
There's no set schedule. Clear it when your drive is getting full or once or twice a year as maintenance. Since the cache grows slowly, most people only need to clear it every 12 to 18 months.
Can I delete the entire SoftwareDistribution folder, not just the Download subfolder?
You can, but it's not necessary. The Download subfolder contains the cached files. Deleting the entire folder forces Windows to rebuild it from scratch, which takes longer. Stick to deleting just the Download subfolder or use Disk Cleanup instead.
What if Disk Cleanup doesn't show a Windows Update option?
Some older systems or custom Windows installations don't display this option. In that case, use the manual method instead: stop Windows Update, delete the SoftwareDistribution\Download folder, restart the service, and reboot your computer.