How to Run Disk Cleanup on Windows 11 to Free Up Space

Share
A Windows 11 desktop screen showing the Disk Cleanup tool window open with options to select files for cleanup.

Disk Cleanup is a built-in Windows 11 tool that frees up disk space by deleting temporary files, system caches, and other unnecessary data safely. If your PC is running low on storage, Disk Cleanup can quickly remove these files without affecting your personal documents or installed programs. This guide shows you how to find Disk Cleanup in Windows 11, run it step by step, choose which files to delete, understand what happens during cleanup, and automate the process for regular maintenance.

Where is Disk Cleanup in Windows 11?

You can open Disk Cleanup in several ways on Windows 11:

  1. Use Search: Click the magnifying glass on the taskbar or press Windows key + S, type "Disk Cleanup," and select the app from the results.
  2. Through Control Panel: Open the Start menu, type "Control Panel," and open it. Go to "System and Security," then click "Free up disk space with Disk Cleanup" under Security and Maintenance.
  3. Run command: Press Windows key + R to open the Run dialog, type:
dclean.exe

and press Enter. Disk Cleanup will launch immediately.

All these methods work despite Windows 11’s updated interface, so you can choose whichever is easiest for you.

Close-up of Windows 11 search bar displaying Disk Cleanup app as a search result.

How do I run Disk Cleanup step by step?

  1. Open Disk Cleanup using one of the methods above.
  2. When prompted, select the drive you want to clean, usually the C: drive where Windows is installed, then click OK.
  3. Disk Cleanup will scan the drive and calculate how much space you can free. This can take a few moments.
  4. After the scan, you'll see a list of file categories with checkboxes and the space each uses.
  5. Check the boxes next to the file types you want to delete. You can click each category to read a short description.
  6. When ready, click "OK."

Once you confirm, Disk Cleanup will permanently delete the selected files.

  1. Confirm by clicking "Delete Files" in the pop-up.

Disk Cleanup will remove the files you selected. The time this takes depends on how much data is being deleted.

Disk Cleanup tool window on Windows 11 prompting user to select a drive for cleanup.

Which files should I select for deletion?

Disk Cleanup groups files into categories representing different types of temporary or unnecessary data. Here’s a guide to the common ones and their safety:

  • Temporary Internet Files: Cached web pages and media stored by your browser. Safe to delete.
  • Downloaded Program Files: Usually ActiveX controls downloaded for websites. Safe to delete.
  • Temporary Files: Created by apps and no longer needed. Generally safe.
  • Recycle Bin: Files you deleted but haven’t permanently removed. Emptying it frees space but means you can’t restore them later.
  • System Created Windows Error Reporting: Logs of system errors. Safe to delete.
  • Previous Windows Installations: Leftover files from a Windows upgrade. These can be large and are safe to delete if you don’t plan to roll back.
  • Delivery Optimization Files: Files used to update other PCs on your network. Safe to delete.

Some categories, like System Restore and Shadow Copies, require advanced cleanup via "Clean up system files" and affect system recovery. Use caution with these.

If uncertain about a category, it’s best to leave it unchecked or look it up before deleting. Disk Cleanup does not delete personal files like documents or photos.

What happens when Disk Cleanup runs?

When you run Disk Cleanup, Windows scans the chosen drive for files that can be safely removed without affecting your personal data or system stability. It identifies temporary files, system logs, cached data, and other items created to support system operations but no longer needed.

After you confirm deletion, Disk Cleanup permanently removes those files, freeing disk space. This process does not delete personal documents, installed programs, or critical system files.

By clearing out unnecessary files, Disk Cleanup helps recover space that can speed up your PC and make room for new data. While it may slightly improve performance by reducing clutter, its main benefit is freeing storage quickly and safely.

Can I automate Disk Cleanup on Windows 11?

Yes, you can automate disk cleanup to keep your system tidy without manual work. Here are two main options:

  • Task Scheduler:
  1. Open Task Scheduler by searching for it in the Start menu.
  2. Create a new task and set a trigger to run Disk Cleanup on a schedule (daily, weekly, etc.).
  3. Set the action to start a program and enter:
dclean.exe
  1. To run Disk Cleanup without prompts, you can use command-line switches and a cleanup settings file, but this is more advanced and requires extra setup.
  • Storage Sense:
  1. Go to Settings > System > Storage.
  2. Turn on Storage Sense and configure it to run automatically when disk space is low or on a schedule.

Storage Sense automatically deletes temporary files and manages the Recycle Bin. It’s easier to set up but offers less control than Disk Cleanup.

Conclusion

Running Disk Cleanup in Windows 11 is an easy way to free up storage by removing temporary and unnecessary files. You can find the tool through Search, Control Panel, or the Run command and follow simple steps to safely delete unwanted files. Knowing which files to delete helps avoid removing anything important. For ongoing upkeep, consider automating cleanup with Task Scheduler or Storage Sense to keep your system clean without extra effort.

Frequently Asked Questions

Does Disk Cleanup delete my personal files?

No. Disk Cleanup only removes temporary, system, and cache files. It does not delete your personal documents, photos, or other user files.

Can I recover files deleted by Disk Cleanup?

Files deleted by Disk Cleanup are permanently removed and usually cannot be recovered through normal means. Always review your selections carefully before confirming deletion.

Is Storage Sense the same as Disk Cleanup?

No. Storage Sense is a newer Windows 11 feature that automatically deletes some temporary files and manages storage, while Disk Cleanup is a manual tool that gives you more detailed control over what files to delete.