How to Clean Up Disk Space in Windows 10 & Windows 11
A practical step-by-step guide to freeing up space on drive C without deleting important personal files or damaging Windows system components.
๐ 7 min read๐ฅ Windows 10 & 11๐พ Storage cleanupโ Safe methods first
Overview
Best Ways to Free Up Disk Space in Windows 10 and Windows 11
When the system drive becomes full, Windows may slow down, updates may fail, and applications may stop saving files correctly. The safest way to clean up disk space is to start with built-in Windows tools, then remove large personal files and unused applications only after checking what they are.
This guide focuses on safe cleanup methods for Windows 10 and Windows 11. Most steps work the same way in both versions, although the Settings app uses slightly different names in some menus.
โ๏ธ
Settings Cleanup
Recommended
๐งน
Disk Cleanup
Classic Tool
๐
Storage Sense
Automatic
๐ฆ
Large Files
Manual Check
โ ๏ธ
Before You Start
Do not randomly delete folders from C:\Windows, C:\Program Files, or C:\ProgramData. Use Windows cleanup tools first. If you are unsure about a file, move it to another drive or back it up before deleting it.
Method 1
How to Clean Temporary Files in Windows 10 and Windows 11 Settings
The modern Settings app is the easiest place to start. It can remove temporary files, delivery optimization files, thumbnails, recycle bin contents, and other cached data that usually does not need to be kept permanently.
Steps for Windows 11
Press Win + I to open Settings.
Go to System โ Storage.
Click Temporary files.
Wait while Windows scans removable cleanup categories.
Select the categories you want to remove, such as Temporary files, Thumbnails, Recycle Bin, or Delivery Optimization Files.
Click Remove files and confirm the action.
Steps for Windows 10
Press Win + I to open Settings.
Open System โ Storage.
Click Temporary files under your system drive.
Select the file types you want to delete.
Click Remove files.
๐ก
Useful Tip
Be careful with the Downloads category if it appears in the cleanup list. Many users store important installers, documents, archives, and photos there.
Method 2
How to Use the Disk Cleanup Tool in Windows
Disk Cleanup is the classic Windows utility for removing unnecessary files. It is still useful because it has a clear interface and includes the option to clean up system files.
Press Win + R, type cleanmgr, and press Enter.
Select the drive you want to clean, usually C:.
Wait for Windows to calculate how much space can be freed.
Select the cleanup categories you want to remove.
Click Clean up system files to include Windows Update cleanup and other system categories.
Select the drive again if prompted.
Review the list, click OK, then click Delete Files.
โ Usually Safe to Delete
Temporary Internet Files
DirectX Shader Cache
Delivery Optimization Files
Thumbnails
Temporary files
โ Check Before Deleting
Downloads
Recycle Bin
Previous Windows installation
Windows upgrade log files
Device driver packages
Method 3
How to Enable Storage Sense to Clean Windows Automatically
Storage Sense can automatically delete temporary files, empty the Recycle Bin after a selected period, and remove unused local copies of cloud files. It is useful if your drive often fills up again after manual cleanup.
Enable Storage Sense in Windows 11
Open Settings โ System โ Storage.
Turn on Storage Sense.
Click Storage Sense to configure it.
Choose when it should run: every day, every week, every month, or during low free disk space.
Choose how long files should stay in the Recycle Bin before automatic deletion.
Enable Storage Sense in Windows 10
Open Settings โ System โ Storage.
Turn on Storage Sense.
Click Configure Storage Sense or run it now.
Adjust the cleanup schedule and file deletion rules.
Click Clean now if you want to run it immediately.
โ
Recommended Setting
For most users, running Storage Sense when Windows detects low disk space is safer than deleting files on a strict daily schedule.
Method 4
How to Remove Old Windows Update Files and Previous Windows Installations
Windows Update can leave behind old update packages, rollback files, and previous installation data. These files can take several gigabytes, especially after a major Windows feature update.
Open Disk Cleanup by running cleanmgr.
Select drive C:.
Click Clean up system files.
Select Windows Update Cleanup if it appears.
Select Previous Windows installation(s) only if you are sure you do not need to roll back to the earlier version.
Click OK and confirm deletion.
Restart the computer if Windows asks you to complete cleanup.
โ
Important
Deleting Previous Windows installation(s) can remove the option to roll back to the earlier Windows version. Do this only after confirming that the current system works correctly.
Method 5
How to Find Large Files Taking Up Space on Drive C
Temporary files are not always the main problem. Videos, ISO images, virtual machines, old archives, game recordings, phone backups, and browser downloads can use much more space than system cache files.
Open File Explorer.
Go to This PC and open drive C:.
Use the search box and type size:gigantic to find very large files.
Sort results by Size.
Open the file location before deleting anything.
Move important files to another drive or cloud storage instead of deleting them permanently.
๐
Search Examples
In File Explorer, you can also search for *.iso, *.mp4, *.zip, or *.bak to locate large installers, videos, archives, and backup files.
Method 6
How to Free Disk Space by Uninstalling Unused Apps and Games
Installed applications and games can consume a lot of storage. Removing software you no longer use is often more effective than deleting small temporary files.
Open Settings.
Go to Apps.
In Windows 11, open Installed apps. In Windows 10, open Apps & features.
Sort the list by Size.
Select apps or games you no longer need.
Click Uninstall and follow the on-screen instructions.
โ ๏ธ
Be Careful
Do not uninstall drivers, chipset software, Microsoft Visual C++ Redistributables, or device utilities unless you know exactly why they are no longer needed. Some programs depend on these components.
Advanced Options
Advanced Disk Cleanup Commands for Windows 10 and Windows 11
If the usual cleanup tools are not enough, you can use several built-in commands. These options are useful for administrators, power users, or systems where Windows Update cache and component store files have grown too large.
Clear the Windows temporary folder
Press Win + R, type %temp%, and press Enter. Select files inside the folder and delete them. Skip files that Windows says are currently in use.
Run component store cleanup
Command Prompt as AdministratorDISM /Online /Cleanup-Image /StartComponentCleanup
Disable hibernation to remove hiberfil.sys
If you never use hibernation or Fast Startup, disabling hibernation can remove the large hiberfil.sys file from the system drive.
Command Prompt as Administratorpowercfg /hibernate off
โ ๏ธ
Power User Note
Disabling hibernation also disables the standard Hibernate option and may affect Fast Startup. If you want it back later, run powercfg /hibernate on as administrator.
Comparison
Disk Cleanup Method Comparison: Which Option Should You Use?
The best cleanup method depends on what is using the space. Start with Settings or Disk Cleanup, then move to manual file review if the drive is still nearly full.
Method
Best For
Risk Level
Typical Space Saved
Temporary files in Settings
Quick cleanup of cache, thumbnails, and temporary data
Low
Hundreds of MB to several GB
Disk Cleanup
Classic cleanup and system file categories
Low to medium
Several GB after updates
Storage Sense
Automatic maintenance over time
Low if configured carefully
Varies
Large file search
Videos, archives, ISO files, backups, and installers
Medium
Often the biggest result
Uninstall unused apps
Games, old software, and large programs
Low to medium
Several GB or more
Advanced commands
Component store cleanup and hibernation file removal
Medium
Varies by system
FAQ
Frequently Asked Questions About Cleaning Up Disk Space in Windows
Q
Is Disk Cleanup safe to use in Windows 10 and Windows 11?
โผ
Yes. Disk Cleanup is a built-in Windows tool and is generally safe. However, you should review categories such as Downloads, Recycle Bin, and Previous Windows installation(s) before deleting them.
Q
Can I delete everything in the Temp folder?
โผ
You can usually delete files from %temp%, but some files may be in use by running programs. If Windows refuses to delete a file, skip it and continue.
Q
Why is my C drive still full after running Disk Cleanup?
โผ
The largest files may be personal data, games, virtual machines, videos, backups, or installer archives. Use File Explorer search, sort folders by size, and uninstall unused programs to find what is really consuming storage.
Q
Should I use third-party cleanup tools?
โผ
Built-in Windows tools are enough for most users. Third-party cleaners can be useful, but they can also remove browser sessions, application caches, or registry entries you may need. Create a restore point before using aggressive cleanup tools.
Q
How much free space should I keep on drive C?
โผ
As a practical rule, keep at least 15โ20 GB free for Windows updates, temporary files, browser cache, and normal system operation. More free space is better if you install large applications or games.
Final Thoughts
The safest way to clean up disk space in Windows 10 and Windows 11 is to begin with Settings, Disk Cleanup, and Storage Sense. These tools remove temporary and unnecessary system files without requiring risky manual deletion.
If the drive is still full, look for large personal files, old downloads, unused games, and unnecessary applications. Avoid deleting unknown Windows system folders manually, and always check important data before removing it permanently.