How to Clean Up the WinSxS Folder on Windows
Reduce WinSxS folder size and reclaim disk space safely with Kudu’s cleanup guidance for Windows systems.
By Kudu Team
Fix this automatically with Kudu
Run a free system scan to detect and resolve this issue automatically — no manual steps required.
Download Kudu Free →What Causes This?
The WinSxS folder stores Windows component files used for updates, repairs, rollbacks, and optional features. Over time, it grows as Windows keeps older component versions after cumulative updates and feature changes. That does not always mean all of the space is actively wasted, but outdated components and superseded update files can build up and consume a noticeable amount of disk space.
Common Symptoms
- Your C: drive keeps losing free space after Windows updates
- Storage settings shows system files using a large amount of space
- The
C:\Windows\WinSxSfolder appears unusually large - Disk Cleanup or Storage Sense does not seem to reclaim enough space
- Low disk space warnings appear on a small SSD
How to Fix It Manually
-
Check your available disk space first
- Press
Windows + Eto open File Explorer. - Select This PC.
- Look at the free space on your Local Disk (C:) so you can compare before and after cleanup.
- Press
-
Run the built-in Component Store cleanup
- Click Start, type
cmd. - Right-click Command Prompt and choose Run as administrator.
- Enter this command and press
Enter:DISM /Online /Cleanup-Image /StartComponentCleanup - Wait for the process to finish. This removes older component versions that Windows no longer needs.
- Click Start, type
-
Use a deeper cleanup if disk space is very low
- In the same elevated Command Prompt, run:
DISM /Online /Cleanup-Image /StartComponentCleanup /ResetBase - This can free more space by removing superseded component versions permanently.
- Important: After using
/ResetBase, you will not be able to uninstall existing Windows updates that are currently installed.
- In the same elevated Command Prompt, run:
-
Run Disk Cleanup for update-related files
- Press
Windows + R, typecleanmgr, and pressEnter. - Select drive C: and click OK.
- Click Clean up system files.
- Select C: again if prompted.
- Check items such as:
- Windows Update Cleanup
- Temporary Windows installation files
- Delivery Optimization Files
- Temporary files
- Click OK, then Delete Files.
- Press
-
Restart your PC
- Click Start > Power > Restart.
- A restart helps Windows finish cleanup tasks and release space that may still be in use.
-
Verify the result
- Open File Explorer again with
Windows + E. - Go back to This PC and compare your free disk space.
- If you still see low space, check Settings > System > Storage for other large categories like temporary files, apps, or hibernation data.
- Open File Explorer again with
-
Avoid manually deleting files from WinSxS
- Do not delete files directly from
C:\Windows\WinSxS. - Removing files by hand can break Windows updates, repairs, and built-in features. Always use DISM or Disk Cleanup instead.
- Do not delete files directly from
Fix It Automatically with Kudu
Kudu can detect bloated system cleanup targets, including update leftovers and other safe-to-remove Windows files that often contribute to low disk space. Instead of hunting through DISM commands and cleanup menus yourself, Kudu helps you identify and remove unnecessary files safely in a few clicks.
Fix this automatically with Kudu
Run a free system scan to detect and resolve this issue automatically — no manual steps required.
Download Kudu Free →Related guides
How to Clean Up the Downloads Folder on Windows
Organize and clear old files from your Windows Downloads folder with Kudu to free space and reduce clutter.
How to Fix a Large AppData Folder on Windows
If AppData is too large, Kudu can help clean app caches and temporary files to free up space safely.
How to Fix a Large Windows Installer Folder
If the Windows Installer folder is huge, Kudu can help clean related clutter and recover disk space.
How to Fix a Large ProgramData Folder on Windows
Reduce ProgramData bloat on Windows by cleaning old app data and leftover files with Kudu.