How to Fix Disk Cleanup Stuck, Frozen, or Not Freeing Space on Windows
Disk Cleanup tool stuck scanning, frozen at "Calculating", or not actually deleting files? Fix Disk Cleanup issues on Windows 10 and 11.
📖
Main Troubleshooting Guide
How to Fix 100% Disk Usage →Complete symptoms, causes, and step-by-step solutions
Symptoms
You might be experiencing this problem if you notice:
- •Disk Cleanup stuck at "Calculating how much space you will be able to free"
- •Progress bar frozen at a percentage for hours
- •Disk Cleanup completes but disk space doesn't increase
- •"Clean up system files" button hangs or crashes the tool
- •Disk Cleanup shows 0 bytes to clean even though drive is full
- •Tool runs but "Windows Update Cleanup" checkbox stuck calculating
- •Disk Cleanup closes immediately without showing any options
Common Causes
- ⚠Windows Update cleanup analyzing a massive update cache
- ⚠Corrupted Windows Update files blocking cleanup calculation
- ⚠Insufficient permissions to delete certain system files
- ⚠Disk Cleanup trying to process a corrupted Temp folder
- ⚠Previous cleanup operation interrupted, leaving locked files
- ⚠Component store (WinSxS) requiring lengthy analysis
- ⚠Third-party cleanup tool interfering with built-in Disk Cleanup
Solutions
Solution 1: Use Storage Sense Instead
- 1Windows 10/11 has a better built-in alternative to Disk Cleanup:
- 2Settings → System → Storage
- 3Click "Temporary files" to see what can be cleaned
- 4Check the boxes for categories to delete (Downloads, Temp files, etc.)
- 5Click "Remove files"
- 6Turn on "Storage Sense" for automatic cleanup
- 7Configure it to run weekly or monthly under "Configure Storage Sense"
Solution 2: Fix Stuck Disk Cleanup via Command Line
- 1If the GUI is stuck, use the command-line version:
- 2Open CMD as Administrator
- 3Run: cleanmgr /d C: /sagerun:1
- 4To first configure what to clean: cleanmgr /d C: /sageset:1
- 5Check all boxes → OK → then run the sagerun command
- 6For just Windows Update cleanup: DISM /Online /Cleanup-Image /StartComponentCleanup
- 7This bypasses the GUI entirely and is more reliable
Solution 3: Manually Delete Temp Files
- 1If Disk Cleanup is stuck on temp files:
- 2Close Disk Cleanup via Task Manager
- 3Open File Explorer → type %TEMP% in address bar → Select All → Delete
- 4Skip any files that are "in use"
- 5Also clear: C:\Windows\Temp (as Administrator)
- 6Empty the Recycle Bin
- 7For Windows Update files: net stop wuauserv → delete C:\Windows\SoftwareDistribution\Download\* → net start wuauserv
Solution 4: Fix Windows Update Cleanup Hang
- 1The "Windows Update Cleanup" option often causes the longest hang:
- 2Use DISM instead: DISM /Online /Cleanup-Image /StartComponentCleanup
- 3For aggressive cleanup: add /ResetBase (removes rollback ability)
- 4Also: DISM /Online /Cleanup-Image /AnalyzeComponentStore (shows space savings)
- 5After DISM completes: Disk Cleanup should work normally
- 6If still stuck: the component store may need repair first
- 7Run: DISM /Online /Cleanup-Image /RestoreHealth before cleanup
FIXES THIS IN 5 MINUTES
Fix Disk Cleanup Stuck, Frozen, or Not Freeing Space Automatically
RescuePC Toolkit includes 109+ automated repairs that fix this problem with one click. No command line knowledge required.
Download Now - Free TrialNo credit card required • Works on Windows 10 & 11