How to Use Disk Cleanup on Windows 10 and 11
In this article
Using the built-in Disk Cleanup tool in Windows frees up valuable storage space by removing temporary files, system logs, and other unnecessary data. This process is safe, requires no third-party software, and can be completed in under five minutes using standard administrative privileges.
What You'll Need
- A Windows PC running Windows 10 or Windows 11
- Administrator access to your user account
- Sufficient free disk space (at least a few hundred megabytes) to perform the operation
Step-by-Step
- Open the Start Menu: Click the Windows icon on your taskbar or press the Windows Key on your keyboard.
- Search for the Tool: Type "Disk Cleanup" into the search bar. In the results list, click on the "Disk Cleanup" application to launch it.
- Select Your Drive: A dialog box will appear asking which drive you want to clean. Usually, this is your main system drive, labeled
(C:). Select it and click OK. - Wait for Calculation: Windows will scan the drive to determine how much space can be freed. This may take a moment depending on the amount of data on your drive.
- Select Files to Delete: In the "Disk Cleanup" window, you will see a list of file types with checkboxes. Items like "Temporary Internet Files," "Recycle Bin," and "Temporary files" are typically selected by default. Check any additional boxes for items you wish to remove, such as "Downloads" (if you are sure you do not need them) or "Previous Windows installations" (see tips below).
- Review Space Savings: Look at the "Files to delete" section at the bottom of the window. It shows the total size of the selected items and how much space will be freed. Ensure the selection matches your intent.
- Execute the Cleanup: Click the OK button. A confirmation prompt will appear asking if you are sure you want to permanently delete these files. Click Delete Files.
- Wait for Completion: The system will now remove the selected files. Do not interrupt this process. Once finished, the Disk Cleanup window will close automatically.
Note: Menu labels and available options may differ slightly between Windows 10 and Windows 11, or depending on your region and installed updates. If you do not see certain options, they may not apply to your specific system configuration.
Common Mistakes
- Deleting "Downloads": Many users check the "Downloads" folder because it often contains large installers. However, this deletes everything in your personal Downloads folder, including documents, images, and software you intended to keep. Only select this if you have already moved necessary files elsewhere.
- Ignoring "Windows Update Cleanup": After major updates, old update files can accumulate. Skipping this step means leaving gigabytes of redundant data on your drive. It is generally safe to delete these after confirming your current Windows version is stable.
- Not Running as Administrator: While basic cleanup works without admin rights, some system-level files (like memory dump files or old system restore points) require elevated permissions. If you cannot delete certain items, try right-clicking the Start menu, selecting "Run as administrator" from the context menu, and launching the tool again.
- Misinterpreting "Previous Windows Installations": This option only appears if you recently upgraded Windows (e.g., from Windows 10 to 11). Deleting this removes the ability to roll back to the previous version. Only select this if you are certain you want to stay on the current version.
Tips
- Clean System Files: For deeper cleaning, click the "Clean up system files" button in the Disk Cleanup window. This re-scans the drive and adds more options, such as "Windows Defender Antivirus" quarantine files and older Windows versions. This is highly recommended for freeing up significant space.
- Schedule Regular Maintenance: You can set Disk Cleanup to run automatically. Open the tool, go to the "Advanced" tab, and under "System Cleanup Scheduler," click "Optimize." Here you can choose to run cleanup monthly or when disk space is low.
- Use Storage Sense: On Windows 10 and 11, consider enabling "Storage Sense" in Settings > System > Storage. This automates the deletion of temporary files and emptying the recycle bin without manual intervention.
- Backup Important Data First: While Disk Cleanup targets non-essential files, always ensure critical documents are backed up to an external drive or cloud service before performing deep system cleans.
Troubleshooting
If Disk Cleanup does not work as expected, follow these steps in order:
- Restart Your Computer: Sometimes background processes lock files that prevent cleanup. A simple restart releases these locks and allows the tool to function correctly.
- Check Disk Errors: If the tool fails to calculate space or crashes, your drive may have errors. Open Command Prompt as Administrator and type
chkdsk C: /f(replace C: if your system drive is different). Follow the prompts to scan and fix errors. - Disable Antivirus Temporarily: Third-party antivirus software can sometimes interfere with Disk Cleanup. Temporarily disable real-time protection, run the cleanup, then re-enable it immediately after.
- Use Manual Deletion: If Disk Cleanup is unresponsive, manually navigate to
C:\Windows\Tempand%temp%(type this in the address bar) and delete contents. Be cautious not to delete files currently in use. - Reset Storage Settings: As a last resort, go to Settings > System > Storage and toggle Storage Sense off and on. This resets the underlying automation services that support cleanup tools.
Frequently Asked Questions
Is Disk Cleanup safe to use?
Yes. It only removes temporary, cached, and obsolete system files. It does not delete personal documents, photos, or installed programs unless you explicitly select those categories.
Can I recover files deleted by Disk Cleanup?
No. Files removed via Disk Cleanup are permanently deleted and bypass the Recycle Bin. Ensure you have backups before cleaning large categories like "Downloads" or "Previous Windows Installations".
Why is my disk still full after using Disk Cleanup?
Disk Cleanup only removes temporary and system cache files. If your drive remains full, you likely have large personal files (videos, games, archives) taking up space. Consider moving these to an external drive or cloud storage.
Does Disk Cleanup speed up my computer?
Indirectly, yes. By freeing up space, it prevents the system from running out of virtual memory, which can improve performance. However, it does not directly optimize hardware speed or remove malware.
Can I use Disk Cleanup on external drives?
Yes. When launching Disk Cleanup, you can select any connected drive (including USB drives or external HDDs) from the drive selection dialog. The same principles apply, though fewer system-specific options will be available.
How often should I run Disk Cleanup?
Running it once a month is sufficient for most users. If you frequently download large files or uninstall many programs, you may run it weekly. Enabling Storage Sense automates this process effectively.