Disk Cleanup Not Working on Windows? How to Fix It

Windows disk cleanup troubleshooting illustration

Disk Cleanup can be oddly stubborn: it may not open, may sit on a scan for ages, or may finish without freeing meaningful space. Often the tool is slow or scanning a category that does not matter much anymore.

These steps apply to Windows 10 and Windows 11 when using Disk Cleanup, also known as cleanmgr.

Does This Affect You?

Disk Cleanup is an older Windows utility. It still works, but some categories can take a long time, and the basic scan misses the larger system-file cleanup areas. Run it with administrator access first, then use DISM or Storage Sense if the graphical tool keeps hanging.

Run Disk Cleanup as Administrator

The system-file scan is the one that usually frees real space.

  1. Click Start, type Disk Cleanup, and open it.
  2. Choose the main drive, usually C:, and click OK.
  3. Click Clean up system files.
  4. Choose the drive again and wait for the second scan.
  5. Select large categories such as Windows Update Cleanup, Previous Windows installation(s), Temporary files, and Delivery Optimization Files.
  6. Click OK, then confirm Delete Files.

The normal scan may only remove small temporary files. The administrator system-file scan is where old update and upgrade files appear.

Free Space with DISM Instead

If Disk Cleanup freezes, DISM can clear old Windows component files from the command line.

  1. Open Command Prompt as administrator.
  2. Run Dism.exe /online /Cleanup-Image /StartComponentCleanup.
  3. Wait for the command to finish. It can take several minutes.
  4. For a deeper cleanup, run Dism.exe /online /Cleanup-Image /StartComponentCleanup /ResetBase only if you are sure you do not need to uninstall recent updates.

Fix Freezing on Compressing Old Files

On some PCs, Disk Cleanup hangs while checking the old compression category. Removing that category from the scan can make the tool usable again.

  1. Press Windows key + R, type regedit, and press Enter.
  2. Go to HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerVolumeCaches.
  3. Find Compress old files under VolumeCaches.
  4. Right-click Compress old files, choose Delete, and confirm.
  5. Close Registry Editor and run Disk Cleanup again.

That category rarely saves much space on modern PCs, so removing it from the scan usually has little practical downside.

More Disk Cleanup Notes

Use Storage Sense for Ongoing Cleanup

Open Settings > System > Storage and configure Storage Sense if you want Windows to clean temporary files on a schedule.

If Disk Cleanup Will Not Open

Press Windows key + R, type cleanmgr, and press Enter. If that also fails, run sfc /scannow from an administrator Command Prompt to repair Windows system files.

If It Barely Frees Any Space

Check Settings > System > Storage to see what is actually using space. Installed games, apps, videos, downloads, and personal files can be much larger than anything Disk Cleanup removes.

Sources

  • Microsoft Support: Free up drive space in Windows
  • Microsoft Support: Disk Cleanup and system file cleanup
  • Microsoft Learn: Manage disk space with Storage Sense and DISM
Disclosure: This post may contain affiliate links which means I may receive a commission for purchases made through links. I will only recommend products that I have personally used! Learn more on my Private Policy page.
A thoughtful woman reads a newspaper while enjoying coffee at an indoor workspace.

DEALWEEK

SUBSCRIBE AND GET 20% OFF YOUR NEXT ORDER! OFFER ENDS SOON - DON’T MISS OUT!

We don’t spam! Read our privacy policy for more info.

Shopping Cart