Pcornel
Browse topics
Options
Recent
Favorites
Windows · Technical reference

WinSxS

Direct answer

WinSxS (C:\Windows\WinSxS) is the folder holding the component store. It looks huge because of hard links; clean superseded versions safely with DISM /Online /Cleanup-Image /StartComponentCleanup, never by deleting files.

When to use this

Use this when WinSxS looks huge or needs cleanup.

First 30 seconds

1. Size reported by Explorer overcounts (hard links).

2. Real size: /AnalyzeComponentStore.

3. Cleanup recommended? run /StartComponentCleanup.

4. Never delete files there.

5. Health check.

Operational verification

WinSxS = component store with hard links to system files

Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common mistakes
  • Deleting WinSxS files manually — breaks updates and features.
  • Trusting Explorer's size for WinSxS; hard links make it look larger than it is (use /AnalyzeComponentStore).
  • /ResetBase on systems where you may need to uninstall updates.
Platform / version applicability
Windows servicing, deployment and recovery
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformWindows servicing, deployment and recovery
Scope / prerequisiteUse this when WinSxS looks huge or needs cleanup.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

1 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Checks Verify boundary
Dism /Online /Cleanup-Image /AnalyzeComponentStore

Actual Size of Component Store is the real size after hard links; Reclaimable Packages > 0 means cleanup will help.

Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Key points
  • Hard links make WinSxS size look larger than real use.
  • StartComponentCleanup safely removes superseded versions.
  • Never delete WinSxS files by hand.
Key checks
  • DISM /Online /Cleanup-Image /CheckHealth — quick corruption flag check
  • DISM /Online /Cleanup-Image /ScanHealth — full scan
  • DISM /Online /Cleanup-Image /RestoreHealth — repair from Windows Update or /Source
  • sfc /scannow — verify/repair system files
  • Get-Content C:\Windows\Logs\CBS\CBS.log -Tail 50 — servicing log
ReferenceWhy it matters1 section · depth on demand

Size and cleanup

DISM /Online /Cleanup-Image /AnalyzeComponentStore
DISM /Online /Cleanup-Image /StartComponentCleanup

Explorer double-counts hard-linked files, so WinSxS looks bigger than it is; AnalyzeComponentStore shows the real size and whether cleanup is recommended. Never delete files from WinSxS manually.

ReferenceImportant terms & boundaries2 sections · depth on demand

Why WinSxS looks big

Most files in WinSxS are hard-linked into C:\Windows\System32 and elsewhere, so Explorer counts them twice. Only superseded versions and backups use extra space, which StartComponentCleanup removes after a grace period (about 30 days by the scheduled task).

In depth

WinSxS appears huge in Explorer because most files are hard-linked into System32 and counted twice. Measure correctly:

Dism /Online /Cleanup-Image /AnalyzeComponentStore
# Actual Size of Component Store, Shared with Windows, Backups and Disabled Features, Cache and Temporary Data

Never delete files from WinSxS manually — it breaks servicing. Reclaim space with component cleanup, removing unused roles/features (Uninstall-WindowsFeature -Remove on servers) and Disk Cleanup's "Windows Update Cleanup".

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docWindows servicing, deployment and recovery current

Authoritative/upstream documentation reviewed for bounded claims in DISM & System Repair → WinSxS. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://learn.microsoft.com/en-us/windows-hardware/manufacture/desktop/what-is-dism · confidence 94%
Confirmation

Confirm action

Continue?