Disk Cleanup Won't Open? 7 Fixes That Work
In this article
If Disk Cleanup won't open, the quickest fix is to restart your PC and try again. If it still fails, run the System File Checker (SFC) and DISM tools from an elevated Command Prompt, then check for corrupt system files or a stalled Windows Update service. Below are the full step-by-step fixes, from simplest to most advanced.
What You'll Need
- Administrator account on your Windows PC (most fixes require admin rights).
- An internet connection for the DISM tool to download healthy system files (optional but recommended).
- About 15–30 minutes of time, depending on which fix you need.
Step-by-Step
Fix 1: Restart Windows Explorer
- Press Ctrl + Shift + Esc to open Task Manager.
- Under the Processes tab, find Windows Explorer.
- Right-click it and select Restart. Your taskbar will disappear and reappear.
- Try opening Disk Cleanup again (press Win + R, type
cleanmgr, and press Enter).
Fix 2: Run Disk Cleanup from Command Prompt
- Press Win + R, type
cmd, and press Ctrl + Shift + Enter to open Command Prompt as administrator. - Type
cleanmgrand press Enter. - If the window appears, you can also try
cleanmgr /d C:to target the C: drive directly.
Fix 3: Run System File Checker (SFC)
- Open Command Prompt as administrator (as above).
- Type
sfc /scannowand press Enter. This scans and repairs protected system files. - Wait for the scan to complete (may take 10–20 minutes). Do not close the window.
- When done, restart your PC and try Disk Cleanup again.
Fix 4: Run DISM to Repair System Image
- Open Command Prompt as administrator.
- Type
DISM /Online /Cleanup-Image /RestoreHealthand press Enter. - This will use Windows Update to replace corrupted system files. It can take 20–30 minutes.
- Once complete, restart and try Disk Cleanup.
Fix 5: Check the Windows Update Service
- Press Win + R, type
services.msc, and press Enter. - Scroll down to Windows Update.
- If its status is not Running, right-click it and select Start.
- If it is running, right-click and select Restart.
- Close Services and try Disk Cleanup again.
Fix 6: Create a New User Profile
- Open Settings (Win + I) > Accounts > Family & other users.
- Click Add someone else to this PC and follow the prompts to create a new local user.
- Log into the new profile and try Disk Cleanup. If it works, the issue is with your old profile.
- You can migrate your files to the new profile, but that is optional.
Fix 7: Perform a System Restore
- Press Win + R, type
rstrui, and press Enter. - Choose a restore point from before the problem started (if available).
- Follow the prompts. Your personal files will not be affected, but recently installed programs may be removed.
Common Mistakes
- Not running as administrator: Some fixes require admin rights. If you see a UAC prompt, click Yes.
- Interrupting SFC or DISM: Closing the command window mid-scan can cause more corruption. Let them finish.
- Using the wrong drive letter: If you have multiple drives, ensure you are targeting the correct one (usually C:).
- Forgetting to restart: Many fixes only take effect after a full reboot.
Tips
- Try the Storage Sense feature in Settings > System > Storage as an alternative to Disk Cleanup. It can free up space automatically.
- If you only need to clean temporary files, you can manually delete files in
%temp%(Win + R, type%temp%, press Enter). Be careful not to delete files in use. - Keep your Windows updated. Many glitches are fixed in cumulative updates.
Troubleshooting
If you have tried all the above and Disk Cleanup still won't open, try these additional steps:
- Check for malware: Run a full scan with Windows Defender or your preferred antivirus. Malware can block system tools.
- Boot into Safe Mode: Restart your PC, hold Shift while clicking Restart, then go to Troubleshoot > Advanced options > Startup Settings > Restart. Press 4 for Safe Mode. Try Disk Cleanup there. If it works, a third-party program is interfering.
- Use the Windows Media Creation Tool: As a last resort, you can use it to perform an in-place upgrade repair, which reinstalls Windows while keeping your files and apps. This is a lengthy process, so back up your data first.
Frequently Asked Questions
Why does Disk Cleanup open and close immediately?
This is often caused by a corrupted system file or a conflict with a third-party program. Running SFC and DISM as described above usually resolves it.
Can I use a third-party cleaner instead?
Yes, but be cautious. Some cleaners may delete files you need. Stick to reputable tools and avoid any that promise to “speed up” your PC by disabling services.
Does Disk Cleanup delete my personal files?
No, it only removes temporary files, system cache, and old update files. Your documents, photos, and other personal files are safe.
Why is Disk Cleanup grayed out in the Start menu?
This usually means you are not using an administrator account. Right-click the Start button and select Windows Terminal (Admin) or Command Prompt (Admin), then run cleanmgr.
How do I run Disk Cleanup as administrator?
Press Win + R, type cleanmgr, and press Ctrl + Shift + Enter. If prompted by UAC, click Yes.
Will a system restore delete my installed programs?
System Restore removes programs installed after the restore point, but it does not affect your personal files. It is a good option if you can identify a recent change that caused the issue.