26

My C drive (SSD, the drive on which I installed the OS) recently shows that it's almost full.

(Japanese text says: empty space is 6.98 GB out of 105 GB.) enter image description here

But when I checked by computing all the folders' size (including hidden folders), the result is as below. (Japanese text says: size: 54.9 GB; size on disk: 45.2 GB) enter image description here

I tried system file cleanup and emptying the Recycle Bin, but nothing changed.

Would you guys give me some suggestions please?

5 Answers5

58

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

32

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.

zx485
  • 2,337
m2cit
  • 389
  • 2
  • 7
9

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.

zx485
  • 2,337
5

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.

aslum
  • 233
1

This has happened to me before. I downloaded SpaceSniffer, looked through the drive and subfolders manually, did all sorts of things to no avail.

For me, the solution was very simple, but easily overlooked

My page file was set to be way too large.

Quoted from this link

To change the virtual memory settings, go to Start, Control Panel and click on System. Click on the Advanced tab and under the Performance box, click Settings. In Windows 7, you’ll need to click on Advanced System Settings on the left side to bring up the System Properties dialog.

On the Performance dialog, click the Advanced tab and then click Change under the Virtual Memory heading.

From there you can see what it's set to. Different sources recommended different things. If yours is set to be a high amount, change it either to a smaller amount or to be automatically set. If it's already checked to be automatic then change it to have a smaller maximum size.

For me it was set to be very large and I changed it to be automatic.

Tyler N
  • 1,013
  • 4
  • 13
  • 22