Windows

5 Ways to Fix Disk Cleanup Getting Stuck on Calculating in Windows 11

Learn why Disk Cleanup can freeze on the calculating screen in Windows 11 and how to fix it with practical steps, from simple cleanup checks to system repairs.

Kevin Martin
Kevin Martin
Tech Contributor  •  Sep 21, 2026  •  4 min read

If Disk Cleanup in Windows 11 stays on the "Calculating" screen for a long time, it usually means Windows is having trouble scanning one of the locations it checks for removable files. The tool may still be working, but in some cases it is stalled by system files, temporary data, or a corrupted component.

The fixes below start with the most likely causes and move to more advanced solutions. You do not need to try every method unless the earlier ones do not help.

5 Ways to Fix Disk Cleanup Getting Stuck on Calculating in Windows 11

1. Close Other File-Heavy Apps and Try Disk Cleanup Again

Disk Cleanup can slow down if Windows is busy indexing files, scanning the drive, or if another app is using a large number of temporary files at the same time. Give it a clean run so the tool has fewer things competing for disk access.

  1. Close File Explorer windows that are open to large folders such as Downloads, Videos, or network locations.
  2. Exit apps that may be writing to disk, such as video editors, torrent clients, backup tools, and virtual machines.
  3. If you use cloud sync tools, pause them temporarily while Disk Cleanup runs.
  4. Open Disk Cleanup again and let it finish calculating for a few minutes before assuming it is frozen.
Why It Matters Disk Cleanup must scan several file locations before it can show how much space each category will free. Heavy disk activity can make that scan look stuck even when the program has not fully failed.

2. Run Disk Cleanup as Administrator

Some cleanup categories are not fully scanned unless Disk Cleanup has elevated permission. Running it with administrator rights can help it access system-wide temporary files and other protected locations more reliably.

  1. Press the Start button and type Disk Cleanup.
  2. Right-click Disk Cleanup and choose Run as administrator.
  3. Select the Windows drive if prompted.
  4. Wait to see whether the calculating stage completes normally this time.
Note If you normally launch Disk Cleanup from the Run box with cleanmgr, using the administrator version can still make a difference.

3. Clear Temporary Files Manually First

A large pile of temporary files can make Disk Cleanup slow, especially if some of them are locked or partially damaged. Clearing the easiest folders manually can reduce the amount of work the tool needs to do.

  1. Press Windows + R, type %temp%, and press Enter.
  2. Select the files you can delete and remove them.
  3. Press Windows + R again, type temp, and delete what Windows allows.
  4. Open Settings > System > Storage > Temporary files and remove obvious safe items if available.
  5. Try Disk Cleanup again after the manual cleanup is done.
Warning Do not delete folders or files if Windows says they are in use. Skip locked items instead of forcing removal. Avoid deleting anything you do not recognize outside the standard temp locations.

4. Repair Windows System Files

If Disk Cleanup keeps freezing in the same place, the problem may be a damaged Windows component or file system inconsistency. The built-in repair tools can often fix this without reinstalling Windows.

  1. Open the Start menu, type cmd, right-click Command Prompt, and choose Run as administrator.
  2. Run this command: sfc /scannow
  3. After that finishes, run: DISM /Online /Cleanup-Image /RestoreHealth
  4. Restart Windows if prompted, then try Disk Cleanup again.
Why It Matters Disk Cleanup depends on Windows services and system components to identify removable files. If those components are corrupted, the scan can hang while trying to read or classify data.
Quick Tip If SFC reports that it fixed files, test Disk Cleanup before moving on to more advanced repair steps.

5. Use Storage Sense or an Alternative Cleanup Method

If Disk Cleanup still will not get past calculating, Windows 11’s Storage Sense can remove many of the same temporary files automatically. It is also a useful workaround when Disk Cleanup itself is acting up.

  1. Open Settings and go to System > Storage.
  2. Select Temporary files to review what Windows can remove.
  3. Use Storage Sense to clean items Windows suggests.
  4. If you are trying to free space quickly, empty the Recycle Bin and delete files from Downloads that you no longer need.
  5. Afterward, test Disk Cleanup again to see whether the issue has improved.
Best For Users who want a built-in alternative while troubleshooting Disk Cleanup, especially on PCs with limited storage space.

If Disk Cleanup Is Still Stuck

If none of the fixes above work, the issue may be tied to a specific drive problem or a deeper Windows installation issue. At that point, check whether File Explorer can open the system drive normally, make sure the drive has no errors, and consider reviewing the Windows Event Viewer for repeated storage or application errors.

If the drive is unusually slow in other tasks too, the problem may not be Disk Cleanup itself. A failing SSD, file system corruption, or a Windows service conflict can also cause the calculating stage to stall.

Key Fact When Disk Cleanup hangs on calculating, the cause is often not the amount of free space available but the time Windows needs to scan temporary files, system caches, and protected locations.
Topics

More from Windows

View all →
How to Fix DISM Error 0x800f0915 in Windows
Windows

How to Fix DISM Error 0x800f0915 in Windows

How to Fix Command Prompt When You Can’t Run It as Administrator
Windows

How to Fix Command Prompt When You Can’t Run It as Administrator

5 Ways to Fix HP Support Assistant When It Won’t Install
Windows

5 Ways to Fix HP Support Assistant When It Won’t Install

Why USB Devices Show Up as Unknown in Windows 11
Windows

Why USB Devices Show Up as Unknown in Windows 11

How to Fix the Windows Fast Startup Error 0xc00000d4
Windows

How to Fix the Windows Fast Startup Error 0xc00000d4

How to Fix a Volume Bar That Keeps Appearing in Windows
Windows

How to Fix a Volume Bar That Keeps Appearing in Windows