Disk Space Full on Windows 11? Here's the Fix
Windows 11 shows the low-disk-space warning when a drive runs below roughly 10% free โ and at that point updates, the page file and temporary files all start competing for the same few gigabytes. The good news: most full drives are not full of data you need. They are full of leftovers.
Work through the steps below in order. Each one targets a different kind of space, and most people recover 20โ60 GB before they have to think about deleting a single personal file.
Step 1 โ Look at the numbers before you delete anything
Open Settings โ System โ Storage. Windows groups usage into categories: Apps, Documents, Pictures, System & reserved, and so on. That view is useful as a rough map, but it hides the details you need โ for example, which folder inside your user profile is the 40 GB one.
For a real answer, scan the drive with a folder-level analyzer and sort the tree by size. DiskRaptor shows every folder as a percentage of its parent plus a list of the 50 largest files, so the culprit is visible in seconds instead of after an hour of clicking through Explorer.
Step 2 โ Turn on Storage Sense
Storage Sense is the built-in janitor. Turn it on and configure it once:
- Settings โ System โ Storage โ Storage Sense โ set it to run weekly.
- Enable Delete temporary files that the system and apps are not using.
- Empty the Recycle Bin after 30 days, and the Downloads folder only if you genuinely want old downloads removed (it deletes files by age, not by importance).
- Open Cleanup recommendations on the same page โ it flags large unused apps, temporary files and cloud-backed files.
Step 3 โ Clear temporary files and upgrade leftovers
Disk Cleanup still exists on Windows 11 and still finds things Storage Sense misses, such as the previous Windows installation after a feature update:
cleanmgr /sageset:1
cleanmgr /sagerun:1
The first command opens a checklist and saves your selection; the second runs it. Tick Previous Windows installation(s), Windows Update Cleanup, Delivery Optimization Files and Temporary files. Windows.old alone is typically 8โ25 GB โ Windows deletes it automatically after ten days, but you do not have to wait.
If you are troubleshooting a problem, keep the previous installation until the machine has been stable for a week. It is your one-click rollback.
Step 4 โ Trim the component store (WinSxS)
WinSxS is where Windows keeps the servicing files for updates. It looks enormous in Explorer because most entries are hard links to files that live elsewhere โ do not delete it by hand. Use the supported tool:
Dism.exe /Online /Cleanup-Image /AnalyzeComponentStore
Dism.exe /Online /Cleanup-Image /StartComponentCleanup
Analyze first: it reports whether cleanup is recommended and how much it would save. StartComponentCleanup removes superseded versions of updated components.
Adding /ResetBase saves more space but removes the ability to uninstall already-installed updates. Skip it unless you are truly out of room.
Step 5 โ Disable hibernation if you never use it
hiberfil.sys is a hidden file the size of your installed RAM (or 40% of it, depending on the power configuration). On a 32 GB machine that is up to 32 GB doing nothing but enabling hibernate and Fast Startup:
powercfg /hibernate off
This is instant and fully reversible with powercfg /hibernate on. The trade-off: no hibernate and no Fast Startup, so boot takes a few seconds longer. On an SSD most people never notice.
Step 6 โ Cap System Restore
Restore points are useful insurance, but by default they can take a large share of the drive. Check the current usage and cap it instead of disabling protection:
vssadmin list shadowstorage
vssadmin resize shadowstorage /for=C: /on=C: /maxsize=10GB
That keeps working restore points within a 10 GB budget. Old ones are discarded automatically as new ones are created.
Step 7 โ Uninstall or move the big apps and games
Open Settings โ Apps โ Installed apps and sort by size. Modern games are the usual winners at 60โ150 GB each. Instead of uninstalling, move them: the Xbox app can relocate installed games to another drive, and Steam supports multiple library folders on different disks.
Check C:\ProgramData and C:\Program Files for folders belonging to software you uninstalled long ago โ installers frequently leave several gigabytes behind.
Step 8 โ Developer and virtual-machine leftovers
- Docker Desktop:
docker system dfshows images, containers and build cache.docker builder pruneclears the cache safely. - WSL2: the virtual disk (
ext4.vhdx) grows automatically but never shrinks by itself. Deleting files inside Linux frees nothing until you compact the file withdiskpartorOptimize-VHD. - node_modules and build output: hundreds of thousands of small files per project. Delete them for projects you are not actively working on โ they are one
npm installaway. - Virtual machines: a single VM disk can be 50โ200 GB. Suspend, snapshot and clone copies multiply it.
Step 9 โ Let the analyzer find whatever is left
Once the obvious things are gone, scan the drive again and look at the top of the tree. The last few gigabytes are almost always a folder you forgot about: an old project, a downloaded ISO, a phone backup, or a cache directory that regrew. DiskRaptor's file-type filters (video, images, archives, PDFs) make those easy to spot and sort by age.
What usually eats the space
| Item | Typical size | Safe to remove? |
|---|---|---|
| Windows.old (after an upgrade) | 8โ25 GB | Yes โ via Disk Cleanup |
| WinSxS component store | 4โ12 GB | Only with DISM, never by hand |
| hiberfil.sys | 4โ32 GB | Yes, if you do not hibernate |
| System Restore points | 2โ20 GB | Cap it, do not delete all |
| Temp folders and caches | 1โ10 GB | Yes |
| Old installers and downloads | 1โ50 GB | Review first |
| Unplayed games | 10โ150 GB | Uninstall or move |
| Docker / WSL / VM disks | 5โ80 GB | Prune or compact |
The order that works
Storage Sense and Disk Cleanup first (safe, instant), then system files (DISM, hibernation, restore points), then apps, then a full scan for the rest. Measure at every step so you know what actually worked โ deleting blindly is how people lose photos and still end up with a full drive.
Frequently asked questions
Is 20 GB of free space enough on Windows 11?
It is workable but tight. Windows needs room for updates, the page file and temporary files; below about 10% of the drive free you will keep seeing warnings and occasional update failures. If you can, stay above 15โ20% free.
Can I delete the WinSxS folder?
No. Deleting it by hand breaks Windows Update and can make the system unbootable. Use DISM's component cleanup, which removes only superseded files and keeps the store consistent.
Will deleting temporary files break my programs?
No. Temp files are by definition disposable. The exceptions are unsaved documents in some applications and files a program is currently writing โ close your apps before cleaning.
Why does my drive fill up again after cleaning?
Caches regrow: browsers, Windows Update, Steam shader caches, Docker layers and log files all recreate themselves. Storage Sense plus a monthly scan keeps it under control.
One more thing: the machine you just cleaned
Disk hygiene and privacy go together. If you work from this PC, a VPN keeps your traffic off public networks, antivirus catches the download that would have filled your drive with something worse than a cache, and an ad blocker stops the tracking scripts that quietly eat bandwidth.
Affiliate disclosure: the links below are affiliate links. If you buy through them, we may earn a commission at no extra cost to you โ it helps keep DiskRaptor free.
More about our Surfshark partnership.
Related reading
- What Is Taking Up Space on My Hard Drive?
- How to Find the Largest Folders on Windows
- Disable Hibernation to Free Up Gigabytes
- SSD Full for No Reason?
Reclaim your disk space
DiskRaptor is free, open source, and runs 100% locally.