My C Drive is full without reason [duplicate]

There are several things you could try:

  • Get an overview about your disk space

If you want general information about what is using disk space on your computer, you can use tools like WinDirStat which can be found at https://windirstat.net/. (There is a portable version available at https://portableapps.com/apps/utilities/windirstat_portable). Select the drive(s) you want to have information about and start the analysis. The result is pretty much self-explanatory. You get an overview of directories and files sorted by size. Additionally, you get a visual representation of the used disk space.

WinDirStat

  • Use Storage Sense

You find that under Settings > System > Storage, or just type Storage after you opened your Win 10 Start Menu

Free Space - Settings

Storage Sense is the successor of the good old Cleanmanager application which has been deprecated by Microsoft (source: https://techcommunity.microsoft.com/t5/Storage-at-Microsoft/Windows-10-and-Storage-Sense/ba-p/428270)

cleanmgr.exe
  • Clean up the Windows Component Store

Open a Powershell session (as Admin) and analyze your component store by running

dism /online /Cleanup-image /AnalyzeComponentStore

This can take several minutes to complete. If it gives you the advise to cleanup the component store, run

dism /online /Cleanup-Image /StartComponentCleanup

You get more information by running

dism /online /Cleanup-Image /?
  • Check for the existence of volume shadow copies

List information about the shadow storage

vssadmin list shadowstorage

or get information about the shadow files

vssadmin list shadows

Delete the oldest one on your C drive by running

vssadmin delete shadows /for=c: /oldest

Alternatively, you could delete them all

vssadmin delete shadows /all
  • Disable and re-enable hibernation The Hiberfil.sys hidden system file is located in the root folder of the drive where the operating system is installed. It is approximately as big as the amount of random access memory (RAM) installed on the computer, as it stores a copy of the system memory on your hard disk when the hybrid sleep setting is turned on.

Disable hibernation

powercfg /h off

Enable hibernation

powercfg /h on

Hope that helps


You can use an application called WinDirStat. It shows you graphically how space is organized on the disk, through colored blocks that vary in size - the heavier the file, the bigger the block.

Here is a screenshot of this application:

Screenshot of WinDirStat after the analysis of the disk

I highly recommend it.


If this is a fresh Windows install you likely have a massive page file and a huge amount of allocated virtual memory.
Go to

Computer -> Properties -> Advanced System Settings -> Performance Settings -> Advanced -> Change Virtual Memory

and set it to Equal OR Greater amount max than your current amount of RAM. Or to <1GB if you have an SSD and know what you are doing, and have >16GB of RAM.

Having hibernate enabled also potentially uses a large amount of disk space. Disable hibernate using PowerCfg in CMD. The command is available with a quick web search.

For me, it saved almost 60GB of disk space on a fresh windows install that had 32GB of RAM.


You may want to consider searching for your largest files just in case one of your programs is behaving badly. I recently had an issue on my work computer where Avast and Outlook were at odds, and avast would make an infinitely increasing .tmp file until there was literally no space left on my drive.

In file explorer try searching for size:gigantic this might give you a better idea of what is causing the issue if it's not just you've got a ton of programs installed.