sodcalculator

10 Tech How-To

Fix Disk Cleanup Not Working on Windows 11

Guide 10-13166 · Updated · Step by step

If Disk Cleanup fails to open, freezes, or errors out on Windows 11, the fix usually involves repairing system files, clearing the temp folder manually, or using the Storage Sense alternative. Here’s a practical guide to get it working again, plus what to do if it still won’t cooperate.

Why Disk Cleanup Stops Working

Disk Cleanup (cleanmgr.exe) is a legacy tool that Microsoft has kept in Windows 11 for compatibility, but it’s no longer the primary way to free up space. Several things can break it:

  • Corrupted system files or a damaged Windows Update cache
  • Third-party antivirus or “cleaner� software locking the executable
  • Outdated or conflicting drivers, especially storage drivers
  • Insufficient permissions or a corrupted user profile
  • Windows 11 updates that changed how the tool interacts with the system

Because it’s an older utility, it doesn’t always get the same level of testing as newer features, so glitches are more common.

Quick Fixes to Try First

Start with these low-risk steps—they resolve most issues without touching system files.

  1. Restart your PC. Sounds trivial, but a hung background process can block Disk Cleanup. Reboot and try again.
  2. Run it as administrator. Right-click the Start button, select “Terminal (Admin)� or “Command Prompt (Admin)�, then type cleanmgr and press Enter. This bypasses permission issues.
  3. Use the right-click on the drive. Open File Explorer, right-click your C: drive, select Properties, then click “Disk Cleanup�. If the button does nothing, the tool may not be launching at all.
  4. Check if it’s a display issue. Sometimes the window opens off-screen. Press Alt + Tab after clicking Disk Cleanup, or use Win + Arrow keys to bring it back.

If none of these work, move on to the system-level fixes below.

Run System File Checker and DISM

Corrupted system files are a common cause. Windows has built-in tools to repair them.

  1. Open Command Prompt as administrator (search “cmd�, right-click, “Run as administrator�).
  2. Type sfc /scannow and press Enter. This scans protected system files and replaces damaged ones. It can take 10–15 minutes.
  3. If SFC finds errors but can’t fix them, run DISM /Online /Cleanup-Image /RestoreHealth. This repairs the system image that SFC relies on. It may take longer and requires internet access.
  4. Restart your PC and try Disk Cleanup again.

These commands are safe and won’t delete personal files. If SFC finds nothing, the issue is likely elsewhere.

Clear Temporary Files Manually

If Disk Cleanup still won’t open, you can achieve the same result by deleting temp files yourself. Windows stores temporary files in two main locations:

  • %temp% – your user’s temp folder
  • C:\Windows\Temp – system temp folder (requires admin)

To do it safely:

  1. Press Win + R, type %temp%, and press Enter. Select all files (Ctrl+A) and delete them. Some files may be in use—skip those.
  2. Repeat with C:\Windows\Temp (you’ll need admin permission).
  3. Empty the Recycle Bin.

This manually removes the same type of junk Disk Cleanup targets. It’s a good fallback if the tool is completely broken.

Use Storage Sense Instead

Windows 11’s Storage Sense is the modern replacement for Disk Cleanup. It’s more reliable and offers automatic cleanup. Here’s how to use it:

  1. Open Settings (Win + I) → System → Storage.
  2. Click “Cleanup recommendations� to see temporary files, large files, and unused apps.
  3. Select what you want to delete, then click “Clean up�.

You can also enable automatic cleanup by toggling “Storage Sense� and setting it to run when disk space is low. This is a more robust solution than fixing the old tool.

If Disk Cleanup Still Won’t Launch

For persistent issues, try these deeper fixes:

  • Reset the app: Go to Settings → Apps → Installed apps, search for “Disk Cleanup�, click the three-dot menu, and select “Advanced options� → “Reset�. This clears its cache and settings.
  • Check for Windows updates: Go to Settings → Windows Update and install any pending updates. A recent bug may have been fixed.
  • Create a new user profile: If the issue is tied to your account, create a new local user and test Disk Cleanup there. If it works, migrate your files.
  • Use the command line directly: Open Command Prompt as admin and type cleanmgr /sageset:1 then cleanmgr /sagerun:1. This opens a configuration dialog and runs a cleanup with those settings.

If none of these work, a system restore or in-place upgrade (using the Windows 11 installation media) can fix deeper corruption, but that’s a last resort.

Frequently Asked Questions

Why does Disk Cleanup open and then close immediately?

This usually indicates a missing system file or a conflict with a background process. Running SFC and DISM as described above often resolves it. If not, try launching it from an elevated command prompt—it may be a permission issue.

Is Disk Cleanup still available in Windows 11?

Yes, it’s still present in Windows 11, but it’s hidden from the Start menu. You can access it by searching “Disk Cleanup� or running cleanmgr from the Run dialog. Microsoft recommends Storage Sense for most users.

Does Disk Cleanup delete my personal files?

No, Disk Cleanup only removes temporary files, system caches, and other non-essential data. It won’t delete your documents, photos, or installed programs. Always review the list before confirming.

Can I use third-party cleaners instead?

Yes, but they’re not necessary. Windows’ built-in tools are sufficient and safer. Third-party cleaners sometimes remove needed files or slow down your system. If you do use one, choose a reputable program and avoid “registry cleaner� features.

Why does Disk Cleanup take so long?

It can take a while if you have many files to scan, especially if you select “Clean up system files� (which includes Windows Update backups). This is normal. If it appears stuck for over an hour, you can close it and try again—no harm done.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →