Windows Update files stick around after updates, feature upgrades, and broken update downloads, and they take space from the system drive. Start with the built-in Windows cleanup screens, then use Disk Cleanup, component-store cleanup, or update-cache repair only when that specific situation matches what you see on your PC.
1. Start in Temporary files
This is the main Settings path for removable update files in Windows.
- 1.Select Start, then open Settings.
- 2.Select System.
- 3.Select Storage.
- 4.Select Temporary files.
- 5.Select Windows Update Cleanup when it appears.
- 6.Select Remove files.
The Windows Update Cleanup checkbox appears only when Windows has removable update files. In 2026, Windows 10 consumer support has ended, so these cleanup steps mainly apply to version 22H2 PCs still covered by ESU and to supported LTSC or IoT LTSC releases on their own lifecycles.
2. Let Cleanup recommendations group the next targets
After Temporary files, open Start, then Settings, then System, then Storage, then Cleanup recommendations. Review the suggested file categories, select the items to remove, then select Clean up.
On Windows 10, use this route on PCs whose Storage settings expose Cleanup recommendations.
3. Run Disk Cleanup for the classic system files list
- 1.Use the search box on the taskbar and type Disk Cleanup.
- 2.Select Disk Cleanup.
- 3.Select the Windows drive, then select OK.
- 4.Select Clean up system files.
- 5.Select the Windows drive again, then select OK.
- 6.Select Windows Update Cleanup or another system-file category.
- 7.Select OK, then Delete files.
Disk Cleanup remains documented and supported on Windows 11, Windows 10, and supported Windows Server releases. Microsoft positions Storage Sense as the modern path, but Disk Cleanup still gives you the older system-file cleanup window.
To clear Delivery Optimization cache files from the same tool, select Delivery Optimization Files on the Disk Cleanup tab, then select OK and Delete Files. Delivery Optimization handles Microsoft content such as Windows Update and Store app updates.
For the administrator PowerShell route, open PowerShell or Windows Terminal as administrator and run Delete-DeliveryOptimizationCache -Force. To include pinned Delivery Optimization files, run Delete-DeliveryOptimizationCache -Force -IncludePinnedFiles.
4. Remove previous installation files after an upgrade
Remove this category only after you decide to stay on the current Windows version.
- 1.Open Start, then Settings.
- 2.Select System, then Storage.
- 3.Select Temporary files.
- 4.Select Previous Windows Installation(s) or Previous version of Windows.
- 5.Select Remove files.
After a feature upgrade, Windows lists rollback files as Previous Windows Installation(s) or Previous version of Windows while that cleanup category is available. Removing it deletes the files used to go back to the previous Windows version.
5. Switch on Storage Sense to prevent another buildup
Open Start, then Settings, then System, then Storage, and set Storage Sense to On. To configure it, open Start, then Settings, then System, then Storage, then Storage Sense; set Run Storage Sense and choose your temporary-file cleanup preferences.
Storage Sense works on the system drive only. It runs when you are signed in and online for more than 10 minutes.
6. Trim the component store with supported tools
The component store keeps Windows components that updates use.
Windows includes a supported cleanup task for superseded component-store versions, and automatic cleanup waits at least 30 days after an updated component is installed.
For the no-command route, open Task Scheduler, then open Task Scheduler Library\Microsoft\Windows\Servicing\StartComponentCleanup. Under Selected Item, select Run.
For immediate administrator cleanup, open Command Prompt or Windows Terminal as administrator and run Dism.exe /online /Cleanup-Image /StartComponentCleanup. Use Dism.exe /online /Cleanup-Image /StartComponentCleanup /ResetBase only after accepting that update packages installed at completion cannot be uninstalled afterward.
7. Clear SoftwareDistribution only for stuck updates
- 1.Press Win + R.
- 2.Type services.msc, then press Enter.
- 3.In Services, locate Windows Update.
- 4.Right-click Windows Update, then select Stop.
- 5.Open C:\Windows\SoftwareDistribution.
- 6.Delete all files and folders inside SoftwareDistribution.
- 7.Return to Services.
- 8.Right-click Windows Update, then select Start.
Deleting the contents of C:\Windows\SoftwareDistribution is a repair step for corrupt, missing, or stuck update-download files. Use it for update errors, not routine space cleanup.
For update errors rather than disk space, run the Windows Update troubleshooter. On Windows 11, open Start, then Settings, then System, then Troubleshoot, then Other troubleshooters, then Windows Update, then Run. On Windows 10, open Start, then Settings, then Update & Security, then Troubleshoot, then Additional troubleshooters, then Windows Update, then Run the troubleshooter.
8. Avoid old advice and check managed PCs
Do not manually delete C:\Windows\WinSxS. Microsoft warns that manual deletion risks severe Windows damage, boot failure, and broken updating; use Settings, Disk Cleanup, Task Scheduler, or DISM component cleanup instead.
- Skip service-pack cleanup commands on current Windows 10 and Windows 11 PCs. Those commands belong to older Windows releases with service packs, while Windows 10 and Windows 11 use cumulative updates.
- On a work or school PC, use the normal Settings cleanup screens and contact IT before administrator commands. Organizations control Storage Sense and Delivery Optimization policy settings such as automatic cleanup cadence, temporary-file cleanup, cache age, cache size, and cache drive.
Frequently Asked Questions
Does PC Health Check delete Windows Update files?
No. PC Health Check routes you to Manage storage settings; the cleanup happens in Windows Storage settings.
Does Microsoft PC Manager have a verified Windows Update Cleanup button?
Microsoft describes storage management and Storage Sense for PC Manager, but its official page does not provide verified Windows Update Cleanup steps. Use Windows Settings or Disk Cleanup for that cleanup category.
Should I uninstall a Windows update to free space?
No. Uninstalling a Windows update removes an installed update for troubleshooting, not just cached download files. Some updates cannot be uninstalled.
How do I remove a bad update from recovery?
Open Windows RE, then select Troubleshoot, Advanced options, and Uninstall Updates. Choose Uninstall latest quality update or Uninstall latest feature update.
Is the cleanmgr command line still supported?
Yes. Open Command Prompt or Windows Terminal, run cleanmgr /sageset:n to choose cleanup categories, then run cleanmgr /sagerun:n to run that saved cleanup profile.











