Disk Cleanup in Windows 10 opens fastest through the Start search: type disk cleanup, pick the tool, choose your system drive, then select the file types to delete and confirm with OK. The tool is still built into Windows 10 and Windows 11, though Microsoft now steers users toward Storage settings for everyday cleanup. If low space is slowing updates or app installs, run Disk Cleanup first, then escalate to Clean up system files and Storage Sense.

How to Run Disk Cleanup in Windows 10

  1. Select Start, type disk cleanup in the search box, and choose Disk Cleanup from the results. If the search returns nothing, press Win + R, type cleanmgr, and press Enter.
  2. In the Drive Selection dialog, pick your system drive (usually C:) and select OK. The tool scans the drive and shows a progress bar; the scan can take a minute or two on a full disk.
  3. Review the Files to delete list. Select a file type name to read its description before checking it. By default, Downloaded Program Files, Temporary Internet Files, and Thumbnails are pre-checked—clear any you want to keep.
  4. Select OK, then confirm with Delete Files when prompted. The cleanup runs and the dialog closes when finished; if it stalls, close it and rerun after a restart.
  5. To reclaim more space, select Clean up system files at the bottom of the dialog. Choose the drive again and approve the elevation prompt—this reloads the list with system-level categories such as Windows Update Cleanup and Previous Windows installation(s).
  6. Check the additional system categories you want removed, select OK, and confirm. A system-file pass can take noticeably longer and may require a restart to finish.

Run the standard pass monthly or whenever free space drops below roughly 10–15 percent of drive capacity. The system-file pass is best saved for after major feature updates, when Windows leaves behind old installation files.

What Each Disk Cleanup Category Removes

The checkboxes are not equally safe or equally valuable, so treat the list as a menu rather than a checklist-all.

Category What it removes Safe to select?
Temporary files App and installer temp data in user and system temp folders Yes—rebuilds automatically
Temporary Internet Files Cached browser content (legacy Internet Explorer cache) Yes
Thumbnails Cached image previews Yes—regenerated on next folder view
Delivery Optimization Files Cached Windows Update payloads shared across devices Yes
Windows Update Cleanup Superseded update packages (system files pass only) Yes, but blocks uninstalling those updates
Previous Windows installation(s) Windows.old from the last feature upgrade Yes after confirming you don't need to roll back
Recycle Bin Deleted files still held in the bin Only after checking contents
Downloads Files in your Downloads folder (system files pass only) Review first—this deletes real user files

The downloaded-program and setup-log categories are small; their main value is tidiness, not space. The single biggest wins on a Windows 10 machine are usually Windows Update Cleanup and Previous Windows installation(s), both of which appear only in the system-file pass.

Windows 10 vs Windows 11 Menu Differences

Disk Cleanup itself is nearly identical across both versions—same cleanmgr command, same checkboxes, same Clean up system files button. What differs is the surrounding storage UI:

  • Windows 11: Settings > System > Storage is the primary surface, with Cleanup recommendations, Temporary files, and Storage Sense all reachable from that one page. Disk Cleanup remains available but is treated as legacy.
  • Windows 10: Settings > System > Storage exists too, but on older builds the layout is simpler and may lack Cleanup recommendations entirely. If Storage Sense is missing on your build, Disk Cleanup is the reliable fallback.

Both versions accept the same command-line entry points, so scripts and shortcuts work unchanged.

Automating Cleanup with Storage Sense and cleanmgr

Storage Sense deletes temp files and empties the Recycle Bin on a schedule without any manual pass. Open Settings > System > Storage > Storage Sense, turn it on, and set cadence options for temporary files and Downloads. Select Run Storage sense now to trigger an immediate pass—useful when you want automation without waiting for the schedule.

For scripted or repeated cleanups, cleanmgr accepts switches. The /sagerun switch reruns a saved profile, which is handy for scheduled tasks:

cleanmgr /d C:
cleanmgr /sageset:1
cleanmgr /sagerun:1

Run /sageset:1 once to configure which categories the saved profile 1 includes, then schedule /sagerun:1 in Task Scheduler to repeat that exact selection. The /d C: switch targets a specific drive. These switches are documented for Windows 10 and 11 as well as Windows Server, so the same task definition can be reused across a small fleet.

Why Cleanup Options Are Missing or Grayed Out

A few common blockers explain most "I can't select that" reports:

  • No elevation: system categories require administrator rights. If Clean up system files does nothing, right-click Disk Cleanup in Start and choose Run as administrator, or approve the UAC prompt when it appears.
  • Updates pending a restart: Windows Update Cleanup may stay grayed out until pending updates finish installing and the device reboots.
  • Windows.old already expired: Previous Windows installation(s) disappears automatically about ten days after a feature update, so there's nothing to reclaim if the entry is absent.
  • Drive is not the system drive: scanning a secondary data drive shows a shorter list with no system categories—expected behavior, not a fault.
  • Corrupt component store: if disk cleanup runs but frees far less than the listed size, repair the image first with DISM /Online /Cleanup-Image /RestoreHealth, then rerun sfc /scannow, and repeat the cleanup pass.

Frequently Asked Questions

Does Disk Cleanup delete my personal files?

No—Disk Cleanup targets cached, temporary, and superseded system data. The one exception is the Downloads category in the system-file pass, which removes files from your Downloads folder, so leave that box unchecked unless you've reviewed the folder. The Recycle Bin category likewise removes anything still sitting in the bin.

Is Disk Cleanup being removed from Windows 10?

It's still present and functional in Windows 10 and 11. Microsoft now positions Storage settings and Storage Sense as the preferred tools, so new documentation emphasizes those paths, but cleanmgr remains a supported built-in command with its full switch set. For a fuller walkthrough of the Storage settings alternatives, see Microsoft's free up drive space guidance.

How much space should Disk Cleanup actually recover?

It varies widely. Routine temp-file passes typically recover a few hundred megabytes to a couple of gigabytes. A system-file pass right after a feature update can recover several gigabytes by clearing Windows Update Cleanup and Previous Windows installation(s). If the reported total and the actual free-space gain diverge sharply, rerun the pass or repair the component store as described above.

Can I run Disk Cleanup from the command line on a schedule?

Yes. Use cleanmgr /sageset:n once to define a profile, then cleanmgr /sagerun:n in Task Scheduler to repeat it. The command reference is documented in Microsoft's cleanmgr documentation, which lists the same switches for Windows 10, Windows 11, and Windows Server.