sodcalculator

10 Tech How-To

How to Use Disk Cleanup in Windows 10

Guide 10-54016 · Updated · Step by step

Disk Cleanup is a built-in Windows 10 tool that frees up space on your hard drive by removing temporary files, system files, and other items you no longer need. This guide walks you through launching it, choosing what to delete, and running it safely—no extra software required.

What You’ll Need

  • A PC running Windows 10 with an administrator account (recommended for cleaning system files).
  • At least a few minutes of time—the process can take longer if you have many files.
  • Optional: a backup of any important files, just in case you accidentally select something you need.

Step-by-Step

  1. Open Disk Cleanup – Click the Start button (Windows logo) and type Disk Cleanup in the search box. Click the app from the results. If you have multiple drives, you’ll be prompted to select one; choose the drive you want to clean (usually C:) and click OK.
  2. Wait for the scan – Disk Cleanup will calculate how much space you can free up. This may take a minute or two depending on your drive size and speed.
  3. Review the file categories – A list appears with checkboxes. Common categories include Downloaded Program Files, Temporary Internet Files, Recycle Bin, and Temporary files. Check the boxes for the types you want to delete. If you’re unsure, start with Temporary files and Recycle Bin—they’re safe to remove.
  4. Click “Clean up system files” – This button is at the bottom-left of the window. It will rescan your system for additional files, such as Windows Update leftovers and old system restore points. You’ll need administrator privileges for this step.
  5. Select system files (optional) – After the rescan, you’ll see more categories like Windows Update Cleanup and Device driver packages. Check the ones you want. Be cautious with Previous Windows installation(s)—this removes the ability to roll back to an older Windows version, so only select it if you’re sure you don’t need that.
  6. Click OK – A confirmation dialog appears. Review the total space you’ll free up, then click Delete Files. The cleanup will start and may take a few minutes.
  7. Wait for completion – Let the process finish. Don’t turn off your PC during this time. When it’s done, the window closes automatically.

Common Mistakes

  • Deleting the Recycle Bin without checking – Make sure you don’t have any files in the Recycle Bin you might need later. Once deleted, they’re gone permanently.
  • Cleaning system files without understanding the consequences – Removing “Previous Windows installation” or “Windows Update Cleanup” is safe in most cases, but it can prevent you from uninstalling recent updates or rolling back Windows. Only do this if you’re confident.
  • Selecting “Downloads” folder – Some versions of Disk Cleanup may offer to clean your Downloads folder. This can delete files you downloaded from the internet, so check the contents first.
  • Ignoring the “Clean up system files” button – Many users miss this and only clean the basic files, missing the largest space savings (like Windows Update leftovers).

Tips

  • Run it regularly – Once a month is a good habit to keep your drive from filling up.
  • Use the “View files” button – For categories like “Temporary files,” you can click “View files” to see what’s inside before deleting. This helps you avoid removing something you might need.
  • Combine with Storage Sense – Windows 10 has a feature called Storage Sense that can automatically clean up temporary files. You can find it in Settings > System > Storage.
  • Check the “Total amount of disk space you gain” – This is shown at the top of the dialog. If it’s very small (under 100 MB), you might want to focus on other ways to free space, like moving large files to an external drive.

Troubleshooting

  • Disk Cleanup doesn’t open – If nothing happens when you click the app, try running it as administrator: right-click the Start button, select “Windows PowerShell (Admin)” or “Command Prompt (Admin)”, then type cleanmgr and press Enter.
  • It gets stuck at “Calculating” – This can happen if your drive has many files. Wait a few minutes; if it’s still stuck, close the window and restart your PC, then try again. If the problem persists, run sfc /scannow in an elevated command prompt to check for system file corruption.
  • Not enough space is freed – If the result is less than expected, you may need to run the system file cleanup (step 4) or use other tools like “Free up space now” in Settings > System > Storage.
  • Error messages during cleanup – If you see an error like “The system cannot find the file specified,” it’s usually because another program is using a file. Close all open applications and try again. If it persists, restart your PC and run Disk Cleanup again.

Frequently Asked Questions

Is Disk Cleanup safe to use? Yes, it only deletes files that Windows considers safe to remove, like temporary files and old update files. However, always review the list before confirming.

Can I undo a deletion? No, once files are deleted, they’re gone permanently. That’s why it’s important to check what you’re deleting, especially for the Recycle Bin.

Why is Disk Cleanup taking so long? The process can take several minutes if you have a large drive or many files. It’s normal. Let it finish without interrupting.

Does Disk Cleanup delete my personal files? No, it doesn’t touch your documents, photos, or videos. It only removes temporary and system files. Be cautious with the “Downloads” category if it appears.

Can I use Disk Cleanup on an external drive? Yes, you can select any drive in the initial dialog. However, it’s most useful on your system drive (C:).

What’s the difference between Disk Cleanup and Storage Sense? Storage Sense is a newer, automated feature that can clean up files on a schedule. Disk Cleanup is the older, manual tool. Both are safe to use.

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 →