Free Up Disk Space in Windows 11: Step-by-Step
In this article
This guide walks you through the most effective ways to reclaim disk space on a Windows 11 PC. You'll learn to use built-in tools like Storage Sense, Disk Cleanup, and manual cleanup techniques to free up gigabytes without third-party software. No special skills are required—just a few minutes and a willingness to delete unneeded files.
What You'll Need
- An administrator account (for some steps like cleaning system files).
- About 15–30 minutes of time.
- An internet connection (optional, but helpful for updating or using cloud storage tips).
Step-by-Step
- Open Settings – Press Win + I to open Settings, then go to System > Storage.
- View storage usage – Here you'll see a breakdown of what's taking up space (Apps, Temporary files, etc.). Click on each category to see details.
- Turn on Storage Sense – In Storage settings, toggle Storage Sense to On. This automatically cleans up temporary files and recycle bin items on a schedule. Click on it to configure when it runs (e.g., every day, week, or when disk space is low).
- Run Storage Sense now – Under Storage Sense, click Clean now to immediately remove temporary files and recycle bin contents (be careful: items in the recycle bin will be permanently deleted).
- Use Disk Cleanup – Press Win + R, type
cleanmgr, and press Enter. Select the drive you want to clean (usually C:). Wait for the scan, then check the categories you want to remove (e.g., Temporary files, Recycle Bin, Thumbnails). Click OK and confirm. - Clean up system files – In Disk Cleanup, click Clean up system files (requires admin). This allows you to remove Windows Update cleanup, old Windows installations, and other system files. Check the categories and confirm.
- Uninstall unused apps – Go to Settings > Apps > Installed apps. Sort by size (click the sort menu and choose Size) and uninstall apps you no longer use by clicking the three-dot menu next to each and selecting Uninstall.
- Move files to another drive – If you have a second internal or external drive, move large files (videos, photos, downloads) there. Right-click a folder (like Downloads) in File Explorer, select Properties > Location tab, and change the path to a folder on the other drive.
- Empty the Recycle Bin – Right-click the Recycle Bin on your desktop and select Empty Recycle Bin. This permanently deletes everything in it.
- Use the Storage cleaner for temporary files – In Settings > System > Storage, click Temporary files. Review the list (e.g., Windows Update Cleanup, Delivery Optimization Files) and select what to remove, then click Remove files.
- Disable Hibernation (if you don't use it) – Open Command Prompt as administrator (right-click Start > Terminal (Admin)). Type
powercfg /h offand press Enter. This deletes the hiberfil.sys file (which can be several GB) and disables hibernation. Note: you'll lose the ability to hibernate, but Sleep still works. - Compress the OS drive (optional) – In File Explorer, right-click your C: drive, select Properties, check Compress this drive to save disk space, and click OK. This can free up space but may slightly slow down file access. Only do this on a desktop with a fast CPU.
Common Mistakes
- Deleting system files you don't understand – Stick to the categories listed in Disk Cleanup and Storage Sense. Deleting unknown system files can break Windows.
- Emptying the Recycle Bin without checking – Make sure you don't need any files in there before permanently deleting them.
- Disabling hibernation without realizing it – If you rely on hibernation to save your session, don't turn it off.
- Compressing the wrong drive – Compressing an external drive or a drive with many large files (like video) can cause performance issues. Only compress the system drive if you're comfortable.
- Not restarting after cleanup – Some files are in use and can't be deleted until you restart. A reboot after cleanup frees up more space.
Tips
- Use Storage Sense regularly – Set it to run weekly to prevent buildup.
- Move your Downloads folder – Redirect it to another drive to keep C: lean.
- Use cloud storage for photos and videos – OneDrive (or similar) with Files On-Demand can keep local copies small.
- Check for large files – Use File Explorer's search (type
size:>1GBin the search bar) to find and remove or move huge files. - Run Disk Cleanup monthly – Even with Storage Sense, a manual cleanup catches leftovers.
Troubleshooting
- Disk Cleanup doesn't show system files – Make sure you're running it as administrator. Right-click the Start button and choose Terminal (Admin), then type
cleanmgrand press Enter. - Storage Sense isn't freeing enough space – It might be skipping files that are in use. Close all apps and try again. Also, check if there are large system restore points (go to Control Panel > System > System Protection) and remove old ones.
- Can't uninstall an app – Some built-in apps can't be removed normally. You can try using PowerShell (as admin) and the command
Get-AppxPackage | Select Name, PackageFullNameto find the package, then useRemove-AppxPackagewith the package name. Be cautious—removing built-in apps can affect functionality. - Compression option is grayed out – This happens if the drive is already compressed or if it's not NTFS. You can check the file system by right-clicking the drive > Properties > General tab. If it's FAT32, you'd need to convert it, but that's rarely necessary.
- Hibernation command doesn't work – Make sure you're running Command Prompt as administrator. If it still fails, check if your system has Fast Startup enabled (which uses hibernation) – you may need to disable Fast Startup first in Control Panel > Power Options > Choose what the power buttons do.
Frequently Asked Questions
How much disk space do I need to keep free on Windows 11?
It's recommended to keep at least 10–15% of your drive free to ensure smooth performance and room for updates. For a 256GB drive, that's about 25–38GB.
Is it safe to delete Windows Update Cleanup files?
Yes, these are old versions of updates that are no longer needed. Deleting them is safe and can free up several GB.
Will Storage Sense delete my personal files?
No, Storage Sense only removes temporary files, recycle bin contents, and items in the Downloads folder if you enable that option. It won't touch your documents, photos, or other personal files.
What is the hiberfil.sys file and can I delete it?
It's the file that stores your session when you hibernate. You can delete it by disabling hibernation with the command powercfg /h off. This frees up space equal to about 40% of your RAM size.
Why does Disk Cleanup not free as much space as expected?
It may not include files from other user profiles or system files that are in use. Try running it as administrator and also clean up system files. Also, check if you have large files in your user folders that Disk Cleanup doesn't touch.
Can I use third-party tools to clean more?
Yes, but built-in tools are usually sufficient and safer. If you do use third-party tools, choose reputable ones and be cautious about what they delete.