How to Free Up Disk Space and Clean Junk Files When C: Drive Is Full

Reclaim space on a full C: drive in Windows 11. Clear temp files and caches safely, find large files, move folders, and set Storage Sense to keep it clean.

  • 8 steps
On this page · 8 steps

Step 1: Find Out Where the Space Went

Guessing wastes effort. Start with Settings then System then Storage and let it finish calculating. It breaks usage down by category and each one is clickable.

Quick check without extra software: open File Explorer then This PC, type size:>1GB in the search box, and sort by Size. Downloaded ISOs, old installers, video exports, and virtual machine disks show up fast.

For a proper picture, install WinDirStat or TreeSize Free and scan C:. Either one shows nested folders visually, which is how people discover the 60 GB of shader cache, the forgotten virtual machine image, or the Windows.old folder that Disk Cleanup did not offer to remove.

Common surprises, roughly in order of how often they turn up:

  • C:\Windows.old: 10–30 GB after a feature update
  • Game shader and download caches under AppData\Local
  • OneDrive files downloaded locally instead of on-demand
  • Old restore points consuming a fixed percentage of the drive
  • hiberfil.sys: equal to a large share of your installed RAM
  • Adobe or video-editor media caches

Step 2: Run the Built-In Cleanup

  1. Settings then System then Storage then Cleanup recommendations. Work through Temporary files, Large or unused files, and Unused apps.
  2. Press Win + R, type cleanmgr, choose C:, then click Clean up system files.
  3. Tick Windows Update Cleanup (frequently 5–15 GB), Delivery Optimization Files, and Temporary Windows installation files.
  4. Tick Previous Windows installation(s) only if you are sure you will not roll back the last feature update.
  5. Turn on Storage Sense (Settings then System then Storage) and set it to run Every week and delete Recycle Bin files after 30 days. Set Downloads cleanup to Never unless you want files there deleted automatically; that setting has caught out a lot of people.

Clear browser and app caches

  • Chrome / Edge: Ctrl + Shift + Delete → All time → tick Cached images and files only. Leave passwords and cookies unticked unless you mean to sign out of everything. More: clear your browser cache and cookies.
  • Firefox: Ctrl + Shift + Delete → Everything → tick Cache then Clear Now.
  • Steam: Settings then Downloads then Clear Download Cache.
  • Adobe and video editors keep media caches of many gigabytes; the setting is in each app's preferences.

Prefer one pass? Ultimate Windows Cleanup Tool clears temp files, update caches, and the Recycle Bin in a single sweep before you start moving folders by hand.

Step 3: Move Personal Data Off C:

If you have a second drive, this is where the real capacity comes from.

Right-click a folder → Properties then Location tab → Move → choose a folder on D: or an external drive. Windows relocates the contents and updates every shortcut that points at it.

Good candidates: Downloads, Videos, Pictures, Documents.

Also worth moving:

  • Steam / Epic / Xbox libraries: each launcher has a "move install folder" option that relocates games without re-downloading them.
  • OneDrive: right-click synced folders → Free up space so files stay in the cloud until opened.

Step 4: Uninstall What You Do Not Use

Settings then Apps then Installed apps → sort by Size. Old games, trial security suites, and duplicate media tools are the usual wins. See debloat Windows 11 for what is safe to remove.

Step 5: Trim System Overhead (Carefully)

Hibernation: hiberfil.sys is typically 40% of installed RAM. If you never hibernate and do not use Fast Startup:

powercfg /hibernate off

Run it from Terminal (Admin). Reverse it with powercfg /hibernate on.

System Protection: search Create a restore point → select C: → Configure → reduce Max Usage to 5%. Old restore points beyond that are dropped automatically.

Page file: leave it on Automatically manage unless you have a specific reason. Disabling it to save space causes application failures and is a false economy.

Step 6: Free Space in an Emergency

When C: is completely full and Windows will barely function:

  1. Empty the Recycle Bin.
  2. Press Win + R → %temp% → select all → delete.
  3. Delete C:\Windows\SoftwareDistribution\Download contents (safe: Windows rebuilds it).
  4. Disable hibernation as above.
  5. That should be enough breathing room to run the proper cleanup.

Step 7: Consider Growing the Volume

If there is unallocated space or an oversized D: partition on the same physical disk, you can extend C:. Open Disk Management (diskmgmt.msc), shrink the neighbouring partition, then extend C: into the freed space, but only if it sits immediately to the right of C:. Full method: how to partition and format a drive.

Step 8: If You Wanted Speed, Not Space

These do far more for a sluggish PC than deleting files:

What Not to Do

  • Don't delete files from C:\Windows or C:\ProgramData by hand. Use Disk Cleanup, which knows what is still referenced.
  • Don't compress the whole drive with NTFS compression to buy space. On a system drive it costs CPU on every read for a modest gain.
  • Don't delete pagefile.sys or hiberfil.sys manually. Turn the features off properly instead: Windows recreates the files otherwise.
  • Don't uninstall Microsoft Visual C++ Redistributables to save a few hundred megabytes. Applications depend on them.
  • Don't use registry cleaners or always-on "PC booster" apps. They give no measurable speed gain on a healthy install, and a bad registry clean causes failures that are hard to trace.
  • Don't defragment an SSD. Windows already runs TRIM on a schedule; manual defragmentation only adds wear.

How Much Free Space You Need

Aim for 20 GB free before a major Windows upgrade, and keep at least 15% of an SSD free permanently: flash drives slow down noticeably when they run near capacity because the controller has less room to manage wear levelling.

How Often

Once a month is plenty for most home PCs. Machines that edit video, compile code, or install and remove games often benefit from clearing temp files every couple of weeks. With Storage Sense on weekly, most of this happens without you thinking about it.

If you are constantly fighting for space on a 128 GB or 256 GB drive, a larger SSD costs less than months of workarounds: how to choose an SSD and how to clone a hard drive to an SSD.

More about this

Windows warns "You're running out of space on Local Disk (C:)" and the red bar in File Explorer is not exaggerating. With only a few gigabytes left, updates fail, games refuse to install, Office cannot save, and the machine stutters because Windows has no room for its page file and temporary work.

Temp folders, browser caches, and installer leftovers also pile up on drives that are not full yet. The same steps work as routine maintenance; see How Often at the end.

An honest expectation: deleting junk rarely makes a modern PC faster on its own. It reclaims space and stops updates failing. The exception is a nearly full SSD, which slows down noticeably above about 90% capacity, so freeing space there does help. For real speed gains, see Step 8.