Why File Explorer lies about WinSxS and why manual cleanup breaks Windows
Running low on free space on C: does more than turn the drive bar red in File Explorer: it stalls Windows 11 monthly cumulative updates, chokes swap and hibernation files, and forces constant background paging. Every week I see advice telling users to jump straight into C:\Windows\WinSxS, nuke folders by hand, or run /ResetBase immediately to shave off gigabytes.
Both shortcuts backfire. Microsoft Learn explains explicitly why File Explorer makes WinSxS look bloated: most files inside the component store are NTFS hard links pointing to the same underlying system files already used by Windows, so Explorer counts them twice. Deleting anything manually inside C:\Windows\WinSxS can make Windows unbootable and break future servicing. Instead, measure real overhead first, let built-in Windows 11 tools clear safe temporary layers, and escalate to Dism.exe only when the component store reports reclaimable packages. If your drive is nearly full purely because of 4K videos, Steam libraries, or local LLM checkpoints on a 256 GB SSD, I would skip aggressive OS-folder tuning and move user data to secondary or external storage first.
Diagram: Original vector workflow authored for Tech Oblivion (CC BY 4.0), based on Microsoft Support and Microsoft Learn storage and WinSxS guides.
Prerequisites and rollback warnings
Check two items before deleting system caches or update artifacts:
- Administrator rights on Windows 11 (required for
Windows.oldremoval, Disk Cleanup system-files mode, andDism.exe). - Back up irreplaceable files first, and double-check
Recycle BinandDownloadsbefore enabling automated deletion rules.
Warning: DeletingPrevious version of Windows(Windows.old) within 10 days of a major update cannot be undone and permanently removes your option to roll back to your prior Windows release. Likewise, adding/ResetBaseto DISM cleanup prevents uninstalling any existing Windows updates already applied to your machine.
Step-by-step disk cleanup on Windows 11
Step 1: Turn on Storage Sense and review Cleanup recommendations
Start in Windows Settings rather than legacy dialogs. Open Start > Settings > System > Storage, switch Storage Sense to On, and click Storage Sense to review its rules.
Per Microsoft Support, Storage Sense applies per user, operates only on the system drive (C:), and requires being signed in and online for more than 10 minutes to run automatically. Two smart defaults protect you from surprises: Storage Sense skips your Downloads folder unless you explicitly configure an age threshold, and starting in Windows 11 22H2 and later, inactive OneDrive files become online-only after 30 days unless marked Always keep on this device.
Next, step back to Settings > System > Storage > Cleanup recommendations. Review Temporary files, Large or unused files, Files synced to the cloud, and Unused apps, checking only categories you actually want removed, then select Clean up. If you upgraded to Windows 11 25H2 or 26H2 within the last 10 days and everything works cleanly (audio, VPN, docking stations), you can remove Previous Windows installation(s) here; otherwise let Windows purge Windows.old automatically after day 10.
Step 2: Run Disk Cleanup for residual system update caches
If Storage Sense leaves older update caches or delivery optimization leftovers behind, use Disk Cleanup in elevated system-files mode:
- Search disk cleanup from the taskbar and open it.
- Select
C:and click OK. - Click Clean up system files, select
C:again, and click OK. - Review checkboxes carefully (clear Downloads if you do not want it emptied), select items like Windows Update Cleanup and Temporary Internet Files, then select OK and Delete files.
Step 3: Measure true WinSxS overhead with DISM before touching it
Before touching the component store, measure how much space WinSxS actually wastes versus what is hard-linked by Windows. Open Command Prompt as administrator and run:
Dism.exe /Online /Cleanup-Image /AnalyzeComponentStoreInspect these specific lines in the output, as documented on Microsoft Learn:
- Windows Explorer Reported Size of Component Store: What Explorer guesses without accounting for hard links.
- Actual Size of Component Store: Real disk usage factoring in hard links.
- Backups and Disabled Features plus Cache and Temporary Data: Adding these two lines gives your real reclaimable component-store overhead.
- Component Store Cleanup Recommended: Reads
YesorNo.
If Component Store Cleanup Recommended reads No and overhead is only a few hundred megabytes, stop here and do not force component cleanup.
Step 4: Clean up superseded components safely with DISM
When AnalyzeComponentStore recommends cleanup (for example, several gigabytes sitting in superseded update backups), run standard cleanup from an elevated Command Prompt:
Dism.exe /online /Cleanup-Image /StartComponentCleanupUnlike the automatic Task Scheduler job (which waits 30 days after updates and stops after a 1-hour timeout), /StartComponentCleanup deletes previous versions of updated components immediately without waiting 30 days.
Only if disk space remains critically tight and you have already confirmed your current Windows build is completely stable, consider the irreversible /ResetBase variant:
Dism.exe /online /Cleanup-Image /StartComponentCleanup /ResetBaseNote Microsoft Learn's exact boundary: /ResetBase permanently prevents uninstalling currently installed update packages (though future updates installed later can still be uninstalled). Never force /ResetBase right after a risky cumulative update you might need to roll back.
Expected result: Re-running Dism.exe /Online /Cleanup-Image /AnalyzeComponentStore now reports Number of Reclaimable Packages : 0 and Component Store Cleanup Recommended : No.
Step 5: Move future user downloads and check non-OS drives
Storage Sense only clears C:. To inspect other partitions, open Settings > System > Storage > Advanced storage settings > Storage used on other drives. To stop future media or installers from filling C:, open Settings > System > Storage > Advanced storage settings > Where new content is saved and point new documents, apps, or media toward a larger secondary drive.
Troubleshooting post-cleanup storage snags
| Symptom | Likely cause | Fix |
|---|---|---|
Low Disk Space alert returns immediately after cleanup | Microsoft Store .appx staging loop filling %Temp% | Run Windows Store Apps and Windows Update troubleshooters under Settings > System > Troubleshoot > Other troubleshooters, then press Win + R and run wsreset.exe |
Windows.old missing from Temporary files | 10-day retention already expired and Windows auto-deleted it | Confirm free space in File Explorer; no manual cleanup needed |
StartComponentCleanup barely shrinks WinSxS | Files are active Windows hard links rather than superseded updates | Move large personal folders, ISOs, or WSL/Docker virtual disks instead |
| Future Windows Update complains of insufficient space | System drive lacks staging room for feature update | Attach an external USB drive when Windows Update prompts for temporary update space |
