Disk Cleanup (cleanmgr.exe)
Download nowDisk Cleanup is the built-in Windows tool for removing temporary files, cache, and old system data to free up space on your C: drive.
Updated August 9, 2026 · PC Utility Hub Editorial Team
What Disk Cleanup does
Disk Cleanup (internally cleanmgr.exe) scans a chosen drive for categories of files that are generally safe to remove: temporary internet files, thumbnails, delivery-optimization cache, error reports, recycle bin contents, and old Windows Update packages. It presents each category with an estimated size so you can choose what to delete.
It has shipped with every version of Windows since Windows 98 and remains present in both Windows 10 and Windows 11, though Microsoft has shifted new development effort toward Storage Sense.
How to open Disk Cleanup
- 1Press Start and type "Disk Cleanup", then open the app (or run cleanmgr.exe via Win+R).
- 2Choose the drive to clean, usually C:, and click OK.
- 3Wait for the scan to finish, then check the categories you want removed.
- 4Click "Clean up system files" to also see Windows Update Cleanup and Previous Windows installation(s).
- 5Click OK, then Delete Files to confirm.
Disk Cleanup vs. Storage Sense
Storage Sense is the newer, automatic cleanup feature in Windows 10/11 Settings (System > Storage). It runs on a schedule you define, can empty the Recycle Bin after a set number of days, clear temporary files, and move rarely used files to the cloud. Disk Cleanup is manual, run-on-demand, and better suited to a one-time deep clean, including Previous Windows installations and system-file categories that Storage Sense does not expose.
| Feature | Disk Cleanup | Storage Sense |
|---|---|---|
| Runs automatically | No | Yes, on schedule |
| Removes Previous Windows installation | Yes | No |
| Windows Update Cleanup | Yes | No |
| Cloud content management | No | Yes (OneDrive) |
| Best for | One-time deep clean | Ongoing maintenance |
Is cleanmgr.exe deprecated?
Microsoft has not removed cleanmgr.exe from Windows 11, but it has not received a UI refresh in years and is considered a legacy tool that Microsoft is quietly steering users away from in favor of Storage Sense. It still works reliably and is the only place to find some categories, like Windows Update Cleanup and old driver packages, in one list.
Both tools can be used together: enable Storage Sense for ongoing upkeep and run Disk Cleanup occasionally for a deeper pass.
What's safe to delete
- Windows Update Cleanup — compressed copies of superseded update files; safe once updates are installed successfully.
- Previous Windows installations (Windows.old) — the prior OS version kept for 10 days after an upgrade; safe to delete once you're confident you won't roll back.
- Delivery Optimization files — cached update/app chunks shared with other PCs on your network or via Microsoft's peer network; safe to clear.
- Temporary files, thumbnails, and Recycle Bin — always safe.
- Device driver packages — only remove if you don't need to roll back a driver.
Frequently asked questions
- Does Disk Cleanup delete personal files?
- No. It only targets temporary, cache, and system files, not documents, photos, or installed programs.
- Why is Windows Update Cleanup so large?
- It accumulates compressed leftovers from every installed update. It's normal for this category to be several GB after months of updates.
- Can I get Disk Cleanup back after deleting cleanmgr.exe?
- It's a protected system file under System32; it shouldn't be deletable through normal means, and DISM/SFC can restore it if missing.
- Is Storage Sense replacing Disk Cleanup?
- Functionally it's heading that direction, but Microsoft still ships both tools in current Windows 11 releases.
Related pages
- Disk Cleanup on Windows 11Run Disk Cleanup and pair it with Storage Sense on Windows 11 for a thorough space cleanup.
- Disk Cleanup on Windows 10Run Windows 10 Disk Cleanup step by step, plus notes for the older Windows 7 version.
- cleanmgr Command LineUse /sageset, /sagerun, and Task Scheduler to script and automate Disk Cleanup.
- CHKDSKOverview of the chkdsk utility, its switches, and how it fits into Windows disk maintenance.
- Best PC Optimizer SoftwareCriteria for evaluating PC optimizer/tune-up software honestly, including which features are backed by real benefit and which are mostly marketing.
- Glary UtilitiesOverview of the Glary Utilities maintenance suite, official download source, and free vs Pro differences.