How-To Guides5 min read

How to Free Up Windows 11 Disk Space Safely with Storage Sense and DISM

Reclaim gigabytes on a crowded Windows 11 C: drive without breaking system updates or rollback options using Storage Sense, Cleanup recommendations, and DISM WinSxS tools.

To reclaim disk space safely on Windows 11, enable Storage Sense and review Settings > System > Storage > Cleanup recommendations, check real WinSxS component store overhead with Dism.exe /Online /Cleanup-Image /AnalyzeComponentStore, and run /StartComponentCleanup only when cleanup is recommended. Never delete files inside C:\\Windows\\WinSxS manually, and back up files before deleting Windows.old.

Key takeaways

  • Check DISM /AnalyzeComponentStore before running aggressive WinSxS cleanup so you know how much space is actually reclaimable.
  • Keep Windows.old for at least a few days after upgrading to Windows 11 25H2 or 26H2 unless free space is blocking critical work.
  • Clear Store cache with wsreset.exe if a full Temp folder triggers Low Disk Space loops right after cleanup.

Quick facts

  • Storage Sense runs on the system C: drive when signed in and online for more than 10 minutes, and skips Downloads unless configured.
  • Windows automatically removes Windows.old 10 days after an upgrade; deleting it sooner permanently removes rollback to the previous OS version.
  • File Explorer overstates C:\\Windows\\WinSxS size because it counts NTFS hard links multiple times.
  • Adding /ResetBase to DISM /StartComponentCleanup prevents uninstalling all existing update packages.

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.

Windows 11 safe storage reclamation pipeline covering Storage Sense, Windows.old, and DISM WinSxS
Windows 11 safe storage reclamation pipeline covering Storage Sense, Windows.old, and DISM WinSxS

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.old removal, Disk Cleanup system-files mode, and Dism.exe).
  • Back up irreplaceable files first, and double-check Recycle Bin and Downloads before enabling automated deletion rules.
Warning: Deleting Previous 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 /ResetBase to 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:

  1. Search disk cleanup from the taskbar and open it.
  2. Select C: and click OK.
  3. Click Clean up system files, select C: again, and click OK.
  4. 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:

CMD
Dism.exe /Online /Cleanup-Image /AnalyzeComponentStore

Inspect 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 Yes or No.

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:

CMD
Dism.exe /online /Cleanup-Image /StartComponentCleanup

Unlike 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:

CMD
Dism.exe /online /Cleanup-Image /StartComponentCleanup /ResetBase

Note 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

SymptomLikely causeFix
Low Disk Space alert returns immediately after cleanupMicrosoft 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 files10-day retention already expired and Windows auto-deleted itConfirm free space in File Explorer; no manual cleanup needed
StartComponentCleanup barely shrinks WinSxSFiles are active Windows hard links rather than superseded updatesMove large personal folders, ISOs, or WSL/Docker virtual disks instead
Future Windows Update complains of insufficient spaceSystem drive lacks staging room for feature updateAttach an external USB drive when Windows Update prompts for temporary update space

Sources