sodcalculator

10 Tech How-To

Fix C Drive Filling Up by Itself on Windows 10

Guide 10-59673 · Updated · Step by step

If your C drive is filling up by itself on Windows 10, the usual culprits are system restore points, hibernation files, temporary files, or a misbehaving app that writes large logs. Start by running the built-in Disk Cleanup tool and checking your storage settings to see what is actually taking space, then target the specific causes below.

Why Does the C Drive Fill Up Without You Adding Files?

Windows 10 constantly writes background data: updates, crash dumps, search indexes, and restore snapshots. These are normal, but they can balloon if left unchecked. The most common hidden space hogs are:

  • System Restore points – snapshots of your system files, which can use many gigabytes.
  • Hibernation file (hiberfil.sys) – saves your session to disk when you hibernate; it equals about 40% of your RAM size.
  • Pagefile (pagefile.sys) – virtual memory that grows with heavy usage.
  • Windows Update cache – old update files that aren’t always cleaned automatically.
  • Temp files – from apps, browsers, and the system itself.
  • WinSxS folder – component store that grows with each update; it’s mostly safe but can be trimmed.

If your drive is genuinely filling by itself, it’s almost always one of these, not a virus. Malware that fills a drive is rare; a runaway log file or a stuck update is far more common.

First Steps: See What’s Actually Using Space

Before deleting anything, check your storage usage:

  1. Open Settings > System > Storage. You’ll see a breakdown by category (Apps, Temporary files, etc.).
  2. Click on each category to see details. Pay attention to “System & reserved” – that includes the pagefile, hibernation file, and restore points.
  3. Use the free tool WinDirStat or TreeSize Free to get a visual map of your drive. This shows you exactly which folders are huge.

If you see a folder like C:\Windows\Temp with gigabytes of files, that’s a sign of a stuck process. If it’s C:\Users\YourName\AppData\Local\Temp, an app is generating temp files without cleaning up.

Run Disk Cleanup and Storage Sense

Windows 10 has built-in tools to clear common junk:

  • Disk Cleanup (type “cleanmgr” in Start). Select the C drive, then click “Clean up system files.” Check all boxes, especially “Windows Update Cleanup” and “Temporary files.”
  • Storage Sense (Settings > System > Storage > Configure Storage Sense). Turn it on and set it to run monthly. It can delete temp files and empty the recycle bin automatically.

These two steps often free up several gigabytes, but they don’t touch the big system files.

Handle the Big System Files: Hibernation, Pagefile, Restore Points

These are the usual “drive fills by itself” offenders because they grow silently.

Hibernation File (hiberfil.sys)

If you never use Hibernate, you can disable it and reclaim space equal to 40% of your RAM. Open Command Prompt as Administrator and type:

powercfg /h off

This removes the file. If you do use Hibernate, you can shrink it with powercfg /h /type reduced to about half size.

Pagefile (pagefile.sys)

You shouldn’t disable the pagefile entirely, but you can cap its size. Go to Settings > System > About > Advanced system settings > Performance Settings > Advanced > Virtual memory > Change. Uncheck “Automatically manage,” select C:, choose “Custom size,” and set Initial and Maximum to, say, 4096 MB if you have 8 GB RAM. Restart.

System Restore Points

Restore points can eat many gigabytes. To see how much, go to Control Panel > System > System Protection, select C:, and click “Configure.” You’ll see the current usage. You can reduce the max usage (e.g., to 5%) or delete all but the latest restore point by clicking “Delete.”

Windows Update Cleanup and the WinSxS Folder

Windows Update leaves behind old versions of system files. Disk Cleanup’s “Windows Update Cleanup” handles most of it. For the WinSxS folder, you can run the Component Cleanup tool:

  1. Open Command Prompt as Administrator.
  2. Type Dism.exe /Online /Cleanup-Image /StartComponentCleanup and press Enter.
  3. This can take 15–30 minutes and may free several gigabytes. It’s safe, though you can’t uninstall updates that were installed after the cleanup.

Note: WinSxS always looks larger than it actually is because of hard links. Don’t delete anything manually from that folder.

Find and Fix Apps That Write Large Files

Sometimes a specific app is the culprit. Common examples:

  • Steam – game updates can leave old files. Verify game files or clear download cache.
  • Adobe software – creates large temp files during edits; check C:\Users\YourName\AppData\Local\Temp.
  • Windows Search – the index database can grow; you can rebuild it (Settings > Search > Searching Windows > Advanced options).
  • Windows Error Reporting – stores crash dumps in C:\ProgramData\Microsoft\Windows\WER. You can clear that folder.

If you see a single file growing in real time, use Resource Monitor (type “resmon” in Start) > Disk tab to see which process is writing.

Prevent It From Happening Again

Once you’ve freed space, set up these habits:

  • Run Storage Sense monthly.
  • Set a reminder to run Disk Cleanup with system files every few months.
  • If you have a second drive, move large apps and libraries (Documents, Downloads) to it via Settings > System > Storage > “Change where new content is saved.”
  • Keep at least 15% of your drive free – Windows needs it for updates and performance.

Frequently Asked Questions

Is it safe to delete everything in C:\Windows\Temp?

Yes, files in the Windows Temp folder are only needed temporarily. If a file is in use, Windows will skip it. You can delete all contents; it won’t harm your system.

Why is my C drive full after a Windows update?

Windows Update keeps old versions of system files for up to 10 days so you can roll back. Run Disk Cleanup and select “Windows Update Cleanup” to remove them. If the drive is still full, check the WinSxS folder with the DISM command above.

Can I move the pagefile to another drive?

Yes, but it’s not recommended for a secondary drive if it’s slower. If you have a second SSD, you can set the pagefile to that drive, but keep at least a small pagefile on C: for system crash dumps.

What if my C drive is full but I can’t find any large files?

Check for hidden files. Open File Explorer, go to View > Options > View, and enable “Show hidden files.” Also check the C:\System Volume Information folder (restore points) and the C:\hiberfil.sys file. Use WinDirStat to see everything, including hidden system files.

Is there a way to stop Windows from filling the drive with updates?

You can pause updates for up to 35 days in Settings > Update & Security > Windows Update. But you shouldn’t disable updates entirely – they include security patches. Instead, keep enough free space and clean up after each major update.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →