Disk Cleanup in Windows is a built-in tool that frees drive space by deleting temporary files, old update files and other data Windows no longer needs. To use it, search for Disk Cleanup (or run cleanmgr), choose your drive, tick the categories to remove and select OK. Select Clean up system files to include update leftovers and previous Windows installations.
What Is Disk Cleanup in Windows?
Disk Cleanup is a long-standing Windows utility, cleanmgr.exe, that finds files Windows can safely remove and deletes the ones you choose. It is still included in Windows 11 and is not on Microsoft's list of deprecated Windows features, although Microsoft's own guidance now points most people to the newer storage tools in Settings.
Windows has three cleanup tools that overlap. Knowing which does what saves time:
| Tool | Where to find it | Best for |
|---|---|---|
| Disk Cleanup | Search "Disk Cleanup" or run cleanmgr
|
One-off deep clean, including Windows Update leftovers |
| Cleanup recommendations | Settings → System → Storage → Cleanup recommendations | Reviewing temporary files, large or unused files and unused apps |
| Storage Sense | Settings → System → Storage → Storage Sense | Automatic, scheduled clean-up of temp files, Recycle Bin and Downloads |
How Do You Run Disk Cleanup in Windows 11 and 10?
You run Disk Cleanup by opening it from search or the Run box, picking a drive and choosing what to delete. The steps are the same on Windows 11 and Windows 10.
- Select Start, type Disk Cleanup and open it. Alternatively press Windows + R, type
cleanmgrand press Enter. - Choose the drive to clean, usually (C:), and select OK. Disk Cleanup takes a moment to calculate how much space it can free.
- Tick the boxes for the file categories you want to remove. Select a category to see a short description of what it contains.
- Select OK, then Delete Files to confirm.
This basic mode only covers files your own account can delete. For the biggest savings, use system file mode, below.
How Do You Clean Up System Files?
You clean up system files by selecting Clean up system files inside Disk Cleanup, which restarts the scan with administrator rights and adds Windows-level categories.
- Open Disk Cleanup and choose your system drive.
- Select Clean up system files and approve the administrator prompt.
- Choose the drive again if asked and wait for the new scan.
- Review the extra categories, such as Windows Update Cleanup and Previous Windows installation(s), and tick the ones you want.
- Select OK, then Delete Files. Windows Update Cleanup can take several minutes.
Which Disk Cleanup Files Are Safe to Delete?
Most Disk Cleanup categories are safe to delete because Windows recreates them as needed, but a few remove your ability to undo something, so read each description first.
- Temporary files, Temporary Internet Files and Thumbnails: safe. Windows and apps rebuild them when needed, although thumbnails may load slowly the first time.
- Recycle Bin: safe only if you are sure you do not need anything in it.
- Delivery Optimization Files: safe. These are update files cached to share with other PCs.
- Windows Update Cleanup: usually safe, but removing old update versions means you may not be able to uninstall some recent updates afterwards.
- Previous Windows installation(s): this is the Windows.old folder. Deleting it frees a lot of space but removes the option to go back to your previous Windows version.
- Downloads (if listed): this deletes your personal Downloads folder. Check it before ticking.
The Windows.old category is the one with a real cause and effect to understand. After a feature update, Windows keeps the old version for a limited period, in most cases 10 days, so you can roll back. Microsoft warns that deleting it means you cannot go back. If a new version is causing trouble, read our guide on how to uninstall a Windows update before you clean anything.
Should You Clean the Windows Installer Folder?
No. Do not delete files from C:\Windows\Installer by hand, and do not use tools that promise to "clean" it. This hidden folder is the Windows Installer cache, holding copies of the .msi and .msp packages that installed your software and its patches.
Windows uses those cached packages to repair, update and uninstall programs, including Microsoft Office and SQL Server. An archived Microsoft SQL Server support blog on the subject explains that once they are missing, applications may keep running but patches and uninstalls start failing, and the usual fix is rebuilding the machine. Disk Cleanup does not offer to clean this folder at all.
If the folder is very large, the safer approach is to uninstall software you no longer use from Settings → Apps → Installed apps, which should also remove its cached installer files the supported way, and to make sure all installed apps are up to date.
How Do You Stop Low Disk Space Warnings?
The reliable way to stop low disk space warnings is to keep enough free space on the drive, and Storage Sense can do much of that automatically.
- Open Settings → System → Storage.
- Turn Storage Sense on.
- Select Storage Sense to open its settings, then choose how often it runs and how long to keep files in the Recycle Bin and Downloads folder.
- Open Cleanup recommendations on the Storage page and review large or unused files and apps you no longer need.
Microsoft's page on managing drive space with Storage Sense notes that it works on the system drive and also runs when the drive is low on space. If warnings return quickly, check what is filling the drive rather than hiding the message; a small SSD may simply be too full for Windows updates. In that case, moving to a larger drive is the lasting fix, and our guide to moving Windows to a new SSD explains how.
A Common Mistake We See
A common mistake is running "PC cleaner" apps and registry cleaners that promise more space and speed than Disk Cleanup. Some delete exactly the files this guide warns against, including the Windows Installer cache, and gains are usually small. The built-in tools are free, reversible where it matters, and enough for nearly everyone. For broader tidying, our guide on how to debloat Windows 11 safely sticks to built-in methods too.
The second mistake is deleting Windows.old the same day as an upgrade, then finding a problem a week later. Wait until the new version has proved stable before removing it.
Frequently Asked Questions
Is it safe to use Disk Cleanup in Windows?
Yes. Disk Cleanup only lists files Windows considers removable, and most categories are recreated automatically. Take care with Previous Windows installation(s), which removes the ability to roll back a version upgrade, Windows Update Cleanup, which may stop you uninstalling some updates, and Downloads, which contains your personal files.
Why is Disk Cleanup taking so long?
Windows Update Cleanup is the usual reason. Disk Cleanup has to check which update components are still needed before removing the rest, which can take many minutes on a slow drive. Let it finish rather than closing it, and restart afterwards so Windows can complete any pending clean-up work.
Has Disk Cleanup been removed from Windows 11?
No. Disk Cleanup is still included in Windows 11 and opens from search or by running cleanmgr. Microsoft does recommend the newer Cleanup recommendations and Storage Sense pages in Settings, which cover most of the same files and can run automatically, but the classic tool remains available.
Can I delete the Windows Installer folder to free space?
No. C:\Windows\Installer stores cached setup and patch files that Windows needs to repair, update and uninstall programs. Deleting them can stop updates and uninstalls working for affected software. Remove unused programs from Settings instead, which clears their cached files the supported way.
Does Disk Cleanup delete personal files?
Only if you tick categories that contain them. Recycle Bin and, where listed, Downloads can include your own files. Temporary files, thumbnails, update caches and log files are system data. Check each selected category's description before selecting Delete Files to avoid removing something you wanted.
How much space does Disk Cleanup free?
It varies by PC. Disk Cleanup shows the total it can free after scanning, and the figure for each category. System file mode usually frees the most, particularly after a large update or version upgrade, because old update files and the Windows.old folder can be large.
Conclusion
Disk Cleanup in Windows is still the quickest way to clear temporary files and update leftovers, while Storage Sense keeps space free automatically. Leave the Windows Installer folder alone and keep Windows.old until you are sure an upgrade is stable. If a rebuild on a bigger drive makes more sense, start with a genuine key from our Windows 11 collection.
Useful Links
| Resource | Link |
|---|---|
| Windows 11 product keys | Shop Windows 11 |
| Undo a Windows update | How to Uninstall a Windows Update |
| Upgrade to a bigger drive | Move Windows to a New SSD |
| Built-in clean-up methods | Debloat Windows 11 Safely |
| Storage Sense (Microsoft) | Microsoft Support |
| Free up drive space (Microsoft) | Microsoft Support |
اترك تعليقاً