To delete old Windows Update files safely, open Settings > System > Storage > Temporary files, tick Windows Update Cleanup and Delivery Optimization Files, and click Remove files. In Windows 10, or if you prefer the classic tool, open Disk Cleanup, click Clean up system files and tick the same items. Both methods only remove update files Windows no longer needs. Do not delete anything from C:\Windows\SoftwareDistribution or C:\Windows\WinSxS by hand: that is the quickest way to break future updates.
Below is what each kind of update file is, how much space it usually takes, the step-by-step methods, and what to do when the cleanup does not free as much as you expected.
What "old Windows Update files" actually are
Several different things get called update files, and they live in different places. Knowing which is which tells you how to clear each one safely.
| Item | What it is | Typical size | Safe way to clear it |
|---|---|---|---|
| Windows Update Cleanup | Older versions of system components replaced by newer updates | Hundreds of MB to several GB | Settings or Disk Cleanup |
| Delivery Optimization Files | Downloaded update files kept to share with other PCs | Up to a few GB | Settings or Disk Cleanup |
| Windows upgrade log files | Logs from a feature update | Small to a few hundred MB | Disk Cleanup |
| Temporary Windows installation files | Setup files left by an upgrade | Can be several GB | Settings or Disk Cleanup |
| Previous Windows installation(s) | The Windows.old folder after an upgrade | 10 - 30 GB | Settings or Disk Cleanup |
Windows.old has its own guide: see how to delete Windows.old safely. This article focuses on the routine update leftovers that build up month after month.
Method 1: Delete update files from Settings
This is the method Microsoft recommends in Windows 11, and it works in recent versions of Windows 10 too.
- Press Windows + I to open Settings.
- Go to System > Storage.
- Click Temporary files and wait while Windows calculates the sizes.
- Tick Windows Update Cleanup and Delivery Optimization Files.
- Untick Downloads and Recycle Bin unless you have checked them first.
- Click Remove files and confirm.
If Windows Update Cleanup does not appear in the list, there is nothing for it to remove right now. That is normal on a PC that has been cleaned recently or freshly installed.
Method 2: Use Disk Cleanup
Disk Cleanup shows a few extra categories, such as upgrade log files, and works the same way on Windows 10 and 11.
- Click Start, type Disk Cleanup and open it.
- Choose drive C: and click OK.
- Click Clean up system files and choose C: again. This step is what adds the update categories.
- Tick Windows Update Cleanup, Delivery Optimization Files and, after a feature update, Windows upgrade log files.
- Click OK, then Delete Files.
Windows Update Cleanup can take a long time, sometimes 30 minutes or more on a slow drive. Leave it running. If it seems frozen for much longer, our guide to Disk Cleanup not working in Windows 11 has the fixes.
After cleaning update files, Windows may ask you to restart. Some of the work happens during the restart, so the full space may only show up afterwards.
The trade-off: uninstalling older updates
Windows Update Cleanup removes older versions of components that newer updates have replaced. The only practical downside is that you may no longer be able to uninstall some of the updates whose older versions were removed. On a PC that is working well, that rarely matters.
If you have just installed an update and are not yet sure it behaves, wait a week or two before running the cleanup. You can see and remove recent updates in Settings > Windows Update > Update history > Uninstall updates.
Delivery Optimization files explained
Delivery Optimization lets your PC fetch update pieces from other PCs on your local network, and optionally from PCs on the internet, and share pieces it already has. To make that possible it keeps a cache of downloaded update files.
These files are always safe to delete. If Windows needs them again it downloads them. You can also limit the feature itself:
- Open Settings > Windows Update > Advanced options > Delivery Optimization (in Windows 10: Settings > Update & Security > Delivery Optimization).
- Turn off Allow downloads from other PCs, or leave it on and choose Devices on my local network only.
- Under Advanced options, you can cap the bandwidth used for uploads and downloads.
Turning sharing off does not stop updates. Windows simply downloads everything from Microsoft directly.
Why you should not delete SoftwareDistribution or WinSxS by hand
Many older guides suggest stopping the Windows Update service and emptying C:\Windows\SoftwareDistribution, or deleting files from C:\Windows\WinSxS. Skip that advice.
- SoftwareDistribution is Windows Update's working area. It holds the update database and history as well as downloads in progress. Clearing it by hand can lose your update history and leave half-installed updates in a broken state.
- WinSxS is the component store Windows uses to repair and update itself. Much of its apparent size is shared with C:\Windows through hard links, so Explorer overstates it, and deleting from it can make Windows unrepairable.
The built-in cleanup tools already remove what is safe to remove from both places. If WinSxS still looks huge, our guide to a WinSxS folder that looks too large explains the DISM component cleanup, which is the supported way to shrink it further.
When update cleanup does not free much space
It is common to run Windows Update Cleanup, wait half an hour and recover only a few hundred megabytes. That usually means update files were never the main problem. Check these instead:
- A recent feature update. Windows.old and temporary installation files are far larger than monthly update leftovers. See C drive full after a Windows update.
- Restore points. System Protection can use several percent of the drive.
- Your own files. Duplicates, old downloads and big videos almost always outweigh update files on a PC that has been in use for a few years.
This is where Drive Sweeper helps. It clears update leftovers and temporary junk in the same sweep as everything else, but it also finds duplicate files, huge forgotten files and downloads you have not opened in months. It never picks Windows or program files, it labels every item safe, review or keep, and removed files sit in a restore area for 30 days in case you change your mind.
A simple routine for update files
- Let Windows install updates as normal. Do not pause them for long to save space.
- About two weeks after the monthly updates, once you are happy everything works, run Windows Update Cleanup from Settings or Disk Cleanup.
- After a feature update, give it ten days, then remove Previous Windows installation(s) and the upgrade logs if you will not roll back.
- Turn on Storage Sense so temporary files are cleared on a schedule in between.
Done this way, update files never grow large enough to fill your drive, and you never risk the stability of Windows Update itself. Drive Sweeper can also run a weekly or monthly sweep and warn you when the drive is getting full, so the problem is caught before Windows starts complaining.
Frequently asked questions
Is Windows Update Cleanup safe to delete?
Yes. It removes older versions of updated components that Windows no longer needs. The trade-off is that you may not be able to uninstall some older updates afterwards.
What are Delivery Optimization files?
They are update files your PC keeps so it can share them with other PCs on your network or the internet. They are safe to delete and will be downloaded again only if needed.
Can I delete the SoftwareDistribution folder?
Do not delete it by hand. It holds Windows Update's working files. Use Windows Update Cleanup in Disk Cleanup, or the Temporary files page in Settings, to clear old update files safely.
