How to Run Disk Cleanup on Your PC (Step-by-Step)
In this article
Running Disk Cleanup on Windows removes temporary files, system caches, and other clutter that builds up over time, freeing space and sometimes improving performance. The tool is built into Windows and safe to use. You do not need to install anything, but you should close open programs and make sure you have a few minutes to let it scan your drive. The steps below apply to Windows 10 and Windows 11; menu labels can differ slightly by version, device, or region.
What You'll Need
- A PC running Windows 10 or Windows 11.
- Administrator rights (to clean system files, you will be prompted for permission).
- Enough free time for the scan and cleanup to complete; larger drives take longer.
Step-by-Step
- Open Disk Cleanup. Click the Start button, type Disk Cleanup in the search box, and select Disk Cleanup from the results. If you are on Windows 11, you can also open Settings > System > Storage > Temporary files to reach a similar cleanup screen, but the classic Disk Cleanup tool is still available via search.
- Choose the drive to clean. If you have more than one drive, a small window appears asking which drive to clean. Select your system drive (usually C:) and click OK. Disk Cleanup will scan the drive; this can take a minute or two.
- Review the list of files to delete. After the scan, you will see a list with checkboxes. Categories include Downloaded Program Files, Temporary Internet Files, Recycle Bin, and others. The amount of space you can free is shown next to each item. By default, some items are already checked. You can uncheck anything you want to keep. For example, leave Recycle Bin unchecked if you might need to restore deleted files.
- Clean up system files (optional but recommended). Click the Clean up system files button. You will be prompted for administrator permission; click Continue. Disk Cleanup will rescan and add more categories, such as Windows Update Cleanup and Previous Windows installation(s). These can free significant space but may take longer to delete. Review the new items and check only what you are comfortable removing. Note: deleting Previous Windows installation(s) means you cannot roll back to an earlier version of Windows.
- Confirm and delete. Once you have made your selections, click OK. A confirmation dialog appears; click Delete Files to proceed. The cleanup runs and may take several minutes depending on how much data is being removed. Do not close the window until it finishes.
- Restart if prompted. Some cleanup actions, like removing previous Windows installations, may require a restart to complete. Save your work and restart when convenient.
Common Mistakes
- Deleting the Recycle Bin without checking. If you empty the Recycle Bin through Disk Cleanup, you lose the ability to restore those files. Make sure you do not need anything in it first.
- Removing previous Windows installations without understanding the trade-off. This frees a lot of space but removes your ability to go back to the previous version of Windows if something goes wrong.
- Assuming Disk Cleanup removes all junk. It does not touch personal files, but it also does not clean browser caches from third-party browsers like Chrome or Firefox. Those have their own cleanup options.
- Running cleanup on the wrong drive. If you have multiple drives, make sure you select the one that is actually full. The system drive is usually C:.
- Not using "Clean up system files". Many people skip this button and miss the largest space savings, such as Windows Update leftovers.
Tips
- Run Disk Cleanup regularly, perhaps once a month, to keep your drive from filling up.
- Use the View files button (available for some categories) to see exactly what will be deleted before you commit.
- If you are low on space, consider using Storage Sense in Windows Settings (Settings > System > Storage) to automatically free up space by deleting temporary files.
- Disk Cleanup does not defragment your drive; that is a separate tool. Do not confuse the two.
- After cleanup, empty the Recycle Bin manually if you did not include it in the cleanup, to free that space as well.
Troubleshooting
- Disk Cleanup is stuck or taking very long. This can happen when deleting many small files or Windows Update leftovers. Let it run; if it seems frozen for more than 15 minutes, you can safely close the window and try again, but be aware that partial deletion may have occurred. Restarting your PC first can help.
- "Clean up system files" button is missing or grayed out. Make sure you are using an administrator account. If the button is still unavailable, try running Disk Cleanup as administrator: right-click the Disk Cleanup shortcut and choose Run as administrator.
- You cannot free space because files are in use. Close all programs, especially browsers and Office apps, and try again. Some system files can only be deleted after a restart; Disk Cleanup will prompt you if that is the case.
- Disk Cleanup does not show expected categories. The list varies by what is on your PC. If you expected to see Windows Update Cleanup but do not, it may be because there are no update leftovers to remove, or you need to click Clean up system files first.
- You accidentally deleted something you need. Disk Cleanup does not use the Recycle Bin; deletions are permanent. However, if you removed personal files from the Recycle Bin via Disk Cleanup, they are gone. Always double-check selections before clicking OK.
Frequently Asked Questions
Is Disk Cleanup safe to use?
Yes, Disk Cleanup only removes files that are safe to delete, such as temporary files and caches. However, some options like deleting previous Windows installations or emptying the Recycle Bin have consequences, so review your selections.
How often should I run Disk Cleanup?
There is no fixed schedule. Running it every few months or when you notice low disk space is reasonable. If you frequently download large files or install updates, you may want to run it more often.
Does Disk Cleanup delete my personal files?
No, Disk Cleanup does not touch your documents, photos, or other personal files. It only targets temporary and system files. However, it can empty the Recycle Bin, so make sure you do not need anything in there.
What is the difference between Disk Cleanup and Storage Sense?
Disk Cleanup is a manual tool for removing files. Storage Sense is an automated feature in Windows 10 and 11 that can delete temporary files and empty the Recycle Bin on a schedule. Both can help free space.
Can Disk Cleanup improve performance?
It can free up disk space, which may help if your drive is nearly full. It does not defragment or optimize your drive, so performance gains are usually modest unless low space was causing issues.
Why does Disk Cleanup ask for administrator permission?
Cleaning system files requires elevated rights because those files are protected. Clicking Clean up system files triggers a User Account Control prompt; approving it allows Disk Cleanup to remove system-level clutter.