• Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

25GB Randomly Disappearing From System Drive

Regeneration

NGOHQ.COM
Joined
Oct 26, 2005
Messages
3,161 (0.44/day)
There is a annoying bug on my Windows 10 workstation that sometimes about 25GB becomes occupied on the system drive without any records.

It is NOT pagefile, hibernation file, Windows Update or System Restore.

There are no new files or directories (not even hidden ones). Drive tree reports nothing unusual.

It just disappears without explanation and re-appears a day or two later.

There are plenty of similar reports on the web but no explanation or solution.
 
Is the drive partitioned? Maybe something to do with Backups? Guessing here.
 
Is the drive partitioned? Maybe something to do with Backups? Guessing here.
Windows vista-11 do like a reserve/backup/restore partition...
 
Could be reserved storage?

Google it, although 256 gig seems quite excessive for it.

Its a feature where windows reserves space for potential OS updates.
 
Not sure I would call that a solution as now you cannot use that feature. I would also point out you said "covertly" - as if they were being deceptive or deceitful in some sort of devious, sneaky way. Not so. The problem was, people would see that huge file and freak out, delete it, then complain they lost their data. So MS made it hidden by default. Do you have show Hidden items enabled?

You say workstation, can we assume this is a PC and not a laptop? Hibernation was really designed for laptops, so you can close the lid, go to work, open the lid and resume where you left off - without running down the battery during your commute.

Hibernation is still used in PCs, but in "Hybrid" mode since being plugged in to the wall, there is no worry of running down a battery while you go to lunch. The idea is your current session status will be saved in RAM during sleep HOWEVER should you have a power outage during that time, your session will be saved and can be restored from the saved hibernation file on disk (assuming power is back). Turning off hibernation may result in lost data in that scenario.

Typically the size of the file is about the same as the amount of RAM installed. But this can vary and may drop considerably if just sitting at the desktop with no open programs or files. This may account for the disk space appearing to come and go.

I also note should your disk fill up with your saved files, Windows is supposed to yield the space used by hibernation. So again, MS is not intentionally meaning to be maliciously sneaky.

Of course I am now assuming hibernation was working properly and there is no corruption on the disk or in the Windows feature. If me, I would probably run Disk Cleanup or CCleaner, then run Error Checking or chkdsk /r from an elevated command prompt, then enable hibernation again to see what happens - unless I was desperately low on free disk space and in that case, I would be looking to uninstalling unused programs, moving files to another disk, or buying more disk space.
 
I figured it out. Windows covertly reserves storage space for the hibernation file somehow.

The solution is to disable hibernation completely (powercfg.exe -h off).
Hibernation does have a file, so I assume you didnt find it when you said wasnt any.
 
I figured it out. Windows covertly reserves storage space for the hibernation file somehow.

The solution is to disable hibernation completely (powercfg.exe -h off).

Indeed. Hiberfil.sys is used to store kernel memory if Fast Startup feature is enabled. This image includes driver memory as well, so if any of your kernel mode drivers (including GPU driver) were using a lot of memory, Windows will expand the hibernation file to contain this data upon a shutdown command. Both fast startup and hibernation must be turned off on a desktop system, IMHO. It causes more trouble than it solves, you're exchanging a 2-3 second reduction in cold boot times for countless errors, blue screens, bugs, and a lot of storage. The telltale sign that your machine has fast startup on is a high uptime being reported after you just started the system.

Mind you, even if you disable fast startup and nuke the hibernation file, Windows still seems to at least partially keep some settings across reboots, the only way to truly reboot a modern Windows system is by using the shutdown -r command in the terminal.

It's the ghost of Windows 8 and Microsoft's incredibly stupid notion that everyone would be using a tablet overnight after they launched that OS, here we are almost 15 years later dealing with the problems they've caused back then. It's hostile to hardware changes, it's hostile to secondary operating systems being installed in the same machine, and it causes stability issues, just disable it and reboot with the terminal every now and then and most of your problems will go away.
 
Back
Top