Features Download Screenshots Blog

โ† Blog

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:

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

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

ItemTypical sizeSafe to remove?
Windows.old (after an upgrade)8โ€“25 GBYes โ€” via Disk Cleanup
WinSxS component store4โ€“12 GBOnly with DISM, never by hand
hiberfil.sys4โ€“32 GBYes, if you do not hibernate
System Restore points2โ€“20 GBCap it, do not delete all
Temp folders and caches1โ€“10 GBYes
Old installers and downloads1โ€“50 GBReview first
Unplayed games10โ€“150 GBUninstall or move
Docker / WSL / VM disks5โ€“80 GBPrune 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

Reclaim your disk space

DiskRaptor is free, open source, and runs 100% locally.