keepcalculator

06 Numbers and Powers

Free Up Disk Space with Disk Cleanup

Card No. 06·50729 · Updated · Standard formula, shown below

Disk Cleanup is a built-in Windows utility that removes temporary files, system caches, old update files, and other junk that accumulates over time. It can free up several gigabytes of space without affecting your personal documents, photos, or installed programs. This guide walks you through running it, including how to clean system files safely and what to do if the tool doesn’t work as expected.

What You’ll Need

  • A Windows PC (Windows 10 or Windows 11 recommended, but steps work on older versions too)
  • Administrator account access (needed to clean system files)
  • A stable power connection (laptops should be plugged in to avoid interruptions)

Step-by-Step

  1. Open Disk Cleanup
    • Click the Start button (Windows logo) and type Disk Cleanup.
    • Select the app from the search results. It may appear as “Disk Cleanup” or “Free up disk space.”
  2. Choose the drive to clean
    • If prompted, select the drive you want to clean (usually C:) and click OK.
    • If you only have one drive, this step may be skipped.
  3. Wait for the initial scan
    • Disk Cleanup calculates how much space you can free. This may take a few seconds to a minute.
  4. Review the file categories
    • In the dialog box, you’ll see a list of file types with checkboxes and the space each occupies.
    • Common categories include:
      • Windows Update Cleanup – old update files (often large)
      • Temporary Internet Files – browser cache
      • Temporary files – app and system temp files
      • Recycle Bin – deleted items still in the bin
      • Thumbnails – small image previews
    • Select the checkboxes for items you want to delete. If unsure, leave the default selections.
  5. Click OK
    • A confirmation prompt will appear asking if you’re sure. Click Delete Files.
    • Wait for the process to finish. It may take several minutes, especially if cleaning Windows Update files.
  6. Clean system files (optional but recommended)
    • In the Disk Cleanup dialog, click the Clean up system files button.
    • This re-scans the drive and shows additional categories like Device driver packages and Delivery Optimization Files.
    • Select the categories you want and click OK again.
    • This step often frees the most space, especially after a Windows update.
  7. Confirm the freed space
    • After the cleanup, check your drive’s free space by opening File Explorer and looking at the drive properties.
    • You should see an increase in available space.

Common Mistakes

  • Not running as administrator – If you don’t have admin rights, you won’t see the “Clean up system files” button, and some files won’t be removed.
  • Deleting files you still need – Avoid deselecting categories you don’t understand. For example, “Temporary files” may include files used by currently running apps. Disk Cleanup usually skips in-use files, but it’s safer to close all apps first.
  • Cleaning the Recycle Bin without checking – If you have important deleted files in the Recycle Bin, uncheck that category or restore them first.
  • Expecting instant results – Disk Cleanup can take a while, especially on large drives. Don’t interrupt it.
  • Ignoring the “Clean up system files” option – This is where the biggest gains are, so skipping it means leaving gigabytes on the table.

Tips

  • Use Storage Sense – In Windows 10 and 11, you can enable Storage Sense to automatically clean temporary files on a schedule. Go to Settings → System → Storage and turn it on.
  • Run Disk Cleanup after major updates – Windows updates leave behind old versions that can take up several gigabytes. Cleaning system files right after an update is most effective.
  • Combine with other tools – Disk Cleanup is safe but not exhaustive. For deeper cleaning, you can also uninstall unused apps, move large files to an external drive, or use the built-in “Free up space now” feature in Settings.
  • Check the Recycle Bin size – If you never empty it, it can grow large. Disk Cleanup can empty it for you, but you might prefer to do it manually.
  • Keep an eye on the “Previous Windows installation” files – These are only needed if you want to roll back a Windows update. If you’re sure you won’t, delete them to free significant space.

Troubleshooting

  • Disk Cleanup doesn’t open
    • Try running it from the Run dialog: press Win + R, type cleanmgr, and press Enter.
    • If that fails, restart your PC and try again.
    • If it still doesn’t open, run the System File Checker: open Command Prompt as administrator and type sfc /scannow. This repairs corrupted system files.
  • The cleanup process hangs or takes forever
    • Be patient – it can take up to 30 minutes on large drives.
    • If it’s stuck for over an hour, close Disk Cleanup and restart your PC. Then try again with fewer categories selected.
    • Make sure your PC doesn’t go to sleep during the process. Adjust power settings temporarily if needed.
  • Not enough space is freed
    • Run the “Clean up system files” option – it often reveals more categories.
    • Check if your drive has a lot of large files (videos, ISOs, etc.) that Disk Cleanup won’t touch. Use a disk space analyzer to find them.
    • Consider compressing the drive (right-click drive → Properties → General → Compress this drive) – but note this may affect performance.
  • Error message “Disk Cleanup cannot run”
    • This can happen if the temp folder is corrupted. Create a new temp folder: open File Explorer, go to C:\Users\[YourUsername]\AppData\Local\Temp, and delete its contents manually (if allowed).
    • Alternatively, run Disk Cleanup in Safe Mode: restart your PC, hold Shift while clicking Restart, then navigate to Troubleshoot → Advanced options → Startup Settings → Restart, and press 4 for Safe Mode. Then run Disk Cleanup.
  • Disk Cleanup deletes files but free space doesn’t increase
    • This can happen if the Recycle Bin is counted elsewhere or if System Restore points are using space. Open System Properties → System Protection and adjust the disk space usage for restore points.
    • Also check if you have a hibernation file (hiberfil.sys) that can be large. Run Command Prompt as admin and type powercfg /h off to disable hibernation and free that space (if you don’t use hibernation).

Frequently Asked Questions

Is Disk Cleanup safe to use?

Yes, Disk Cleanup only removes files that Windows considers safe to delete, such as temporary files and caches. It won’t delete your personal documents, photos, or installed programs.

How often should I run Disk Cleanup?

It’s a good idea to run it once a month, or after major Windows updates. If you frequently install/uninstall software or browse heavily, you may want to do it more often.

Will Disk Cleanup delete my downloads?

No, Disk Cleanup does not touch your Downloads folder. It only targets system and temporary files.

What is the difference between Disk Cleanup and Storage Sense?

Disk Cleanup is a manual tool that you run on demand. Storage Sense is an automatic feature that can clean up temporary files and recycle bin contents on a schedule. Both use similar logic, but Storage Sense offers more automation.

Can I recover files deleted by Disk Cleanup?

Generally, no. Files removed by Disk Cleanup are permanently deleted and not sent to the Recycle Bin. That’s why it’s important to review the categories before confirming.

Why is “Windows Update Cleanup” taking up so much space?

Windows stores previous versions of updated files so you can uninstall updates if needed. Over time, these can accumulate to several gigabytes. Cleaning them is safe if you don’t plan to roll back any updates.

Related

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.

More cards in this drawer

The whole Numbers and Powers drawer →