Skip to content

Tech news, reviews & software deals, plus the team to build it.

Troubleshooting & Fixes Software How-To

How to Free Up Disk Space on Windows 11: 12 Safe Fixes

Learn how to free up disk space on Windows 11 with 12 safe fixes, from Storage Sense and Windows.old to DISM and WizTree, plus files you should never delete.

Teczpert Editorial · 11 min read
How to Free Up Disk Space on Windows 11: 12 Safe Fixes
Azamat Esenaliev, Pexels License

A red bar under your C: drive in File Explorer is more than an eyesore. When the system drive runs low, updates fail, apps crash and the whole PC gets sluggish. The good news is that you can free up disk space on Windows 11 without buying anything, and most of it takes a few clicks in Settings.

The fastest wins are Cleanup recommendations and Temporary files under Settings > System > Storage. If you upgraded Windows recently, deleting the previous installation (the Windows.old folder) is often the single biggest chunk you can reclaim. After that, it's about finding what's actually eating your drive and deciding whether to delete it, compress it or move it somewhere else.

These steps apply to Windows 11 version 26H2, which Microsoft started rolling out on September 29, 2026, as well as 25H2 and 24H2. Since 26H2 arrives as a small enablement package on top of those versions, the storage settings look the same on all three.

Key takeaways

  • Start with Settings > System > Storage > Cleanup recommendations. It's safe, quick and catches the usual suspects.
  • Turn on Storage Sense so temp files and the Recycle Bin clean themselves from now on.
  • Use a free analyzer like WizTree or WinDirStat to see exactly which folders are huge before you delete anything.
  • Never hand-delete files in C:\Windows, WinSxS, pagefile.sys or Program Files. Use the built-in tools instead.
10 daysafter an upgrade that Windows keeps your previous version for rollbackMicrosoft Support, 2026
~7 GBtypically set aside by Reserved storage for updatesMicrosoft Support, 2026
1 hourtimeout on the automatic WinSxS cleanup task, which may leave work undoneMicrosoft Learn, 2026

First, check what's using your space

Open Settings > System > Storage. Windows breaks your C: drive into categories such as Apps & features, Temporary files, Documents, Pictures and System & reserved. Click Show more categories to see everything. This view tells you where to aim. If Apps is the biggest bar, uninstalling beats any cleanup tool. If Temporary files shows several gigabytes, you'll get a quick win in step 2.

For a quick look at total free space, open File Explorer and select This PC. The bar under each drive turns red when it's nearly full.

How to free up disk space on Windows 11: 12 steps

Work through these in order. The early steps are safe for anyone. The later ones involve the command line and carry small trade-offs, which I'll flag.

1. Run Cleanup recommendations

  1. Go to Start > Settings > System > Storage.
  2. Select Cleanup recommendations.
  3. Expand each section: Temporary files, Large or unused files, Files synced to the cloud and Unused apps.
  4. Tick what you don't need and select Clean up under each section.

Be careful with the Downloads folder, which often appears under Temporary files. Windows treats it as disposable, but plenty of people keep tax forms and installers there. Look before you tick.

2. Clear temporary files

In Settings > System > Storage, select Temporary files under your local disk. Windows scans and lists items such as Windows Update Cleanup, Delivery Optimization Files, Thumbnails, Temporary Internet Files and the Recycle Bin. Tick the boxes you want, then select Remove files. Windows Update Cleanup and Delivery Optimization Files are both safe to remove on a PC that's running fine.

3. Turn on Storage Sense

Storage Sense is the "set it and forget it" option. Go to Settings > System > Storage and switch on Storage Sense, then click it to configure:

  • Keep Automatic User content cleanup on.
  • Set Run Storage Sense to During low free disk space (or every week if your drive is small).
  • Choose how long files sit in the Recycle Bin and the Downloads folder before deletion. I'd leave Downloads set to Never unless you're disciplined about that folder.
  • If you use OneDrive, set locally available cloud content to become online-only after 30 or 60 days.

Select Run Storage Sense now to get an immediate cleanup.

4. Delete the previous Windows installation (Windows.old)

After a feature update or an in-place reinstall, Windows keeps your old system in C:\Windows.old so you can roll back. It's usually large. If your PC has run well for a few days since the upgrade, remove it:

  1. Open Settings > System > Storage > Temporary files (or Cleanup recommendations).
  2. Tick Previous Windows installation(s).
  3. Select Remove files.

Microsoft is clear that this can't be undone. Once Windows.old is gone, Settings > System > Recovery > Go back disappears too. Don't try to delete the folder by hand in File Explorer; it's owned by the system and you'll fight permission errors.

5. Use classic Disk Cleanup for system files

The old Disk Cleanup tool still ships with Windows 11 and sometimes finds things Settings misses. Press Windows + R, type cleanmgr and press Enter. Pick drive C:, then select Clean up system files so it rescans with admin rights. Tick items like Windows Update Cleanup, Device driver packages and Previous Windows installation(s), then select OK. If cleanup seems to stall at Windows Update Cleanup, give it time; that step can take a while.

6. Uninstall apps and games you don't use

Go to Settings > Apps > Installed apps. Use the Sort by menu and choose Size (large to small). For anything you no longer need, select the three-dot menu, then Uninstall. Games are usually the biggest offenders, often tens of gigabytes each. Steam, Epic and the Xbox app let you reinstall later, so this is low risk. Also check for duplicate tools: two PDF editors, an old Office trial, a printer suite you don't use.

7. Turn off hibernation (desktops mostly)

Windows keeps a hidden file called hiberfil.sys at the root of C: so it can save memory to disk during hibernation and Fast Startup. Its size scales with your RAM, so on a 32 GB machine it's noticeable. If you never hibernate, open Terminal (Admin) and run:

powercfg /hibernate off

The file disappears straight away. Run powercfg /availablesleepstates to confirm. The trade-off: you lose hibernation and Fast Startup. On a desktop that's rarely a problem. On a laptop you rely on for long standby, think twice. To undo, run powercfg /hibernate on.

8. Clean up the WinSxS folder with DISM

C:\Windows\WinSxS holds the components Windows needs to install, repair and remove updates. It looks huge in Explorer, but many files are hard links that are counted more than once, so the real size is smaller. Never delete anything in it by hand. Use DISM instead.

  1. Open Terminal (Admin).
  2. Check whether cleanup is worth it: Dism.exe /Online /Cleanup-Image /AnalyzeComponentStore
  3. If it says cleanup is recommended, run: Dism.exe /Online /Cleanup-Image /StartComponentCleanup

Windows runs a version of this as a scheduled task, but Microsoft notes that task has a one-hour timeout and may not finish. Running it yourself avoids that limit. You can add /ResetBase to squeeze out more, but Microsoft warns that afterward none of the currently installed updates can be uninstalled. I only do that on a PC that has been stable on its current updates for a couple of weeks.

9. Make OneDrive files online-only

If your Desktop, Documents and Pictures sync to OneDrive, you don't need full copies of everything on the drive. Files On-Demand keeps small placeholders locally and downloads the real file when you open it. Click the OneDrive cloud icon in the taskbar, then the gear icon > Settings > Sync and backup > Advanced settings, and select Free up disk space. For a single folder, right-click it in File Explorer and choose Free up space. Files you open often can stay pinned with Always keep on this device.

10. Find big folders with WizTree or WinDirStat

Settings tells you categories. A disk analyzer tells you exactly which folder is the problem, and it's often something you'd never guess: a phone backup, an old virtual machine, a video editor's cache, or a Downloads folder full of ISO files.

  • WizTree reads the NTFS master file table directly, so it scans a full drive in seconds. It's free for personal use; businesses are asked to buy a license. Version 4.34 arrived on November 17, 2026.
  • WinDirStat is free and open source, slower to scan, and shows a color treemap that makes huge files jump out.

Run either one, sort by size, and work down the list. Delete personal files you recognize. If you don't recognize something inside C:\Windows or C:\Program Files, leave it and uninstall the related app through Settings instead.

11. Move files and new downloads to another drive

If you have a second internal drive, an external SSD or a large microSD slot, move bulky personal folders there. In File Explorer, select the files, choose Cut, browse to the other drive and choose Paste. For whole libraries, right-click Documents, Pictures or Videos, choose Properties > Location > Move, and point it at a folder on the other drive. That way apps keep finding them.

To stop C: filling up again, go to Settings > System > Storage > Advanced storage settings > Where new content is saved, and send new apps, music, photos and movies to the other drive. Game launchers have their own library setting, so add a second library folder there too.

12. Compress Windows itself with Compact OS (last resort)

On small 64 GB or 128 GB laptops, Compact OS compresses Windows system files. Open Terminal (Admin) and check first with compact /compactos:query, then enable it with compact /compactos:always. Undo with compact /compactos:never. On a modern SSD and CPU the performance hit is small, but I wouldn't bother on a PC with plenty of space.

Windows 11 disk cleanup methods compared

MethodTypical gainRiskReversible?
Cleanup recommendations / Temporary filesSmall to largeLow (check Downloads)No, files are deleted
Storage SenseOngoing, prevents buildupLowYes, turn it off
Delete Windows.oldLargeLow after a stable weekNo, rollback is lost
Uninstall apps and gamesLargeLowYes, reinstall
Turn off hibernationScales with RAMLow on desktopsYes, powercfg /hibernate on
DISM StartComponentCleanupSmall to mediumLowPartly (not with /ResetBase)
OneDrive Files On-DemandDepends on cloud libraryLow (needs internet to open)Yes
Move files to another driveLargeLowYes
Compact OSMediumSlight speed costYes

What not to delete on Windows 11

Most "my PC won't boot" stories after a cleanup start with someone deleting a big file they didn't recognize. Leave these alone:

  • C:\Windows and C:\Windows\System32. Use Disk Cleanup and DISM, never manual deletion.
  • C:\Windows\WinSxS and C:\Windows\Installer. Deleting files here can break updates and stop apps from repairing or uninstalling.
  • pagefile.sys and swapfile.sys. These are virtual memory files. Windows manages their size; deleting them isn't possible while Windows runs, and disabling the page file can cause crashes.
  • System Volume Information and the Recovery partition. They hold restore points and recovery tools you'll want on a bad day. You can trim restore points in System Protection settings instead.
  • C:\Program Files and AppData folders. Remove apps through Settings > Apps. Deleting their folders leaves broken entries behind.
  • Reserved storage. You can turn it off with DISM to win back several gigabytes, but guides document update failures (error 0x80070070) when it's disabled on a nearly full drive. I'd leave it on.

Also skip "PC cleaner" apps that promise to free gigabytes with one click. Windows already includes everything they do, and some of them bundle adware.

If you didn't put a file there, don't delete it by hand. Let Windows' own tools remove system files, and save your manual cleanup for your own stuff.

When cleanup isn't enough

If you've done all of this and C: still sits above 90% full, the drive is simply too small for how you use the PC. A 1 TB or 2 TB NVMe SSD is an affordable upgrade on most desktops and many laptops, and cloning tools from drive makers make the move fairly painless. An external USB SSD is the easy alternative for photo and video libraries. Also run a full scan in Windows Security > Virus & threat protection > Scan options if space disappears suddenly with no obvious cause.

FAQ

Is it safe to delete Windows.old?

Yes, as long as your PC has been working properly since the upgrade and you don't plan to roll back. Remove it through Settings > System > Storage > Temporary files by ticking Previous Windows installation(s). Once it's gone, you can't return to the earlier version without a full reinstall.

Why is my C: drive full when I haven't saved anything new?

Common causes are pending update files, a growing Windows.old after an upgrade, browser and app caches, game updates, phone backups and OneDrive files that synced locally. Open Settings > System > Storage to see the category breakdown, then use WizTree or WinDirStat to find the exact folder.

Can I delete the WinSxS folder?

No. Deleting WinSxS by hand can break Windows Update and system repairs. Run Dism.exe /Online /Cleanup-Image /StartComponentCleanup from an admin terminal instead, which safely removes superseded components.

Does Storage Sense delete my personal files?

Only if you tell it to. By default it targets temporary files and the Recycle Bin. It can also clear the Downloads folder and make OneDrive files online-only, but those are separate settings you control, and online-only files remain in the cloud.

How much free space should Windows 11 have?

Microsoft doesn't publish a hard number for free space, but feature updates need room to download and install, and a nearly full drive slows things down. As a rule of thumb, keep at least 15% to 20% of the system drive free, and more if you edit video or play large games.

Is turning off hibernation bad for my PC?

No, it won't harm anything. You lose the ability to hibernate and Fast Startup, so cold boots may take a few seconds longer. On desktops that sleep instead of hibernating, most people never notice the difference.

Want more help keeping your PC in shape? Browse our Windows guides, our troubleshooting and fixes section, or our SSD and storage coverage if it's time for a bigger drive. If you'd rather hand the job to someone else, our team can help through our IT services.

Sources: Microsoft Support: Free up drive space in Windows, Microsoft Support: Storage settings and reserved storage, Microsoft Learn: Clean Up the WinSxS Folder, Pureinfotech: How to free up storage space on Windows 11, Pureinfotech: Windows 11 26H2 released, All Things How: Reserved storage in Windows 11, WizTree download page, WinDirStat on GitHub

Teczpert Editorial

News, reviews and explainers from the Teczpert team: the people who also build, fix and run the software we write about.