Technical Anshu
Tutorials Blog
💾 WinSxS Cleanup

Never Delete the WinSxS Folder by Hand Use the Supported Cleanup Instead

Open C drive, open Windows, and there it sits: WinSxS, apparently eating ten or fifteen gigabytes. The internet's worst advice says delete it. That advice breaks Windows Update, breaks repairs, and can leave a PC that nothing can fix. The real story is more interesting — the size is partly an illusion, and Microsoft provides a cleanup that actually works.

✍️ Technical Anshu🪟 Windows 11⏱️ 8 minute read
🎥 Watch the full process in the video — the reserved storage check and fix, step-by-step

WinSxS is the component store: every version of every system component Windows needs to service itself, install updates and repair files. It looks enormous in Explorer partly because many of its files are hard links — the same data also counted inside the Windows folder — so the displayed size double-counts. Deleting files by hand corrupts the store's bookkeeping, and a corrupted store means failed updates with no clean way back. The supported route is slower, duller and completely safe: analyse with DISM, then let DISM remove what is genuinely superseded.

Command Prompt (Admin) — analysing the component store
C:\Users\Admin> DISM /Online /Cleanup-Image /AnalyzeComponentStore Windows Explorer Reported Size of Component Store : 11.42 GB Actual Size of Component Store : 10.87 GB Shared with Windows : 6.12 GB Backups and Disabled Features : 4.10 GB Cache and Temporary Data : 0.65 GB Number of Reclaimable Packages : 12 Component Store Cleanup Recommended : Yes

👆 Example analysis output. The gap between the reported size and the actual size is the hard-link illusion — shared files counted twice.

1

Why the Folder Size Is Misleading

Explorer adds up every file it can see. In WinSxS, many entries are hard links to data that physically exists once and is shared with the live Windows folder.

  1. The store must keep previous component versions so updates can be installed and uninstalled safely
  2. Those versions are what let DISM and SFC repair damaged system files
  3. Delete them by hand and servicing loses its map — updates fail, repairs fail, and reinstalling becomes the only exit

The honest question is never how big the folder looks. It is how much DISM says is reclaimable.

2

Measure the Real Size with AnalyzeComponentStore

  1. Open Terminal (Admin)
  2. Run DISM /Online /Cleanup-Image /AnalyzeComponentStore
  3. Read the lines that matter: Actual Size, Shared with Windows, Backups and Disabled Features, Number of Reclaimable Packages and the final verdict — Component Store Cleanup Recommended: Yes or No

If the verdict is No and reclaimable packages are zero, your store is already lean and no cleanup on earth will shrink it further. Believe the report.

3

The Supported Cleanup — StartComponentCleanup

  1. In the same admin window run DISM /Online /Cleanup-Image /StartComponentCleanup
  2. Let it finish — on a spinning hard disk this can take the better part of an hour
  3. Restart and re-run the analysis to see the result

This removes component versions that have been superseded past their grace period — the genuinely dead weight. Gains vary honestly: a few hundred megabytes on a fresh install, several gigabytes on a PC with years of updates.

4

ResetBase — Stronger, and a One-Way Door

Adding /ResetBase goes further: DISM /Online /Cleanup-Image /StartComponentCleanup /ResetBase removes all superseded versions, squeezing the store to its minimum.

The price is permanent and must be understood before running it: after ResetBase, installed updates can no longer be uninstalled. On a stable, fully updated PC that trade is often fine. On a machine you are still troubleshooting, it burns your rollback bridge. Choose deliberately, not by default.

🔴 Hand-deleting WinSxS is the one space trick with no undo. A broken component store cannot be repaired by the tools that depend on it. If a tip tells you to take ownership and delete system folders, close the tab.

🎥 Watch the Complete Video Guide

For the rest of the full-drive rescue order, watch the reserved storage video and work through this series in sequence.

▶️ Watch Full Video
❓ Common Questions (FAQ)

How much space will StartComponentCleanup actually free?

It varies with update history — from a few hundred megabytes to several gigabytes. The analysis report's reclaimable packages count is the best prediction before you run it.

The cleanup seems stuck. Should I close it?

No. On slow drives the cleanup legitimately runs for a long time at high CPU and disk use. Interrupting servicing mid-flight is how component stores get damaged — let it finish.

Is ResetBase safe to use?

It is a supported switch and safe on a healthy, stable system. Its cost is flexibility, not stability: you give up the ability to uninstall updates that were installed before you ran it.

This guide is based on the Technical Anshu reserved storage video • Stuck on any step? Ask in the video comments — you will get a reply there 🙏