How to Free Up Disk Space When C: Drive Is Full

The Problem

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.

Not full, just messy? If you still have 30+ GB free and the system merely feels bogged down, use clean junk files and optimise your PC instead.

Step 1: Find Out Where the Space Went

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

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. SettingsSystemStorageCleanup 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.

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 → PropertiesLocation 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

SettingsAppsInstalled 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)

Hibernationhiberfil.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.

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.

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.

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.