2

I have a desktop PC where hibernation is enabled, but it is never used (AFAIK it has never been used).

However, there is a 12GB hiberfil.sys file in the root directory of drive C: (SSD).

I was considering disabling hibernation (powercfg -h off from elevated cmd line) in order to delete this file to claim back this much needed drive space.

However, I've noticed that the last-modification timestamp of this file is updated everytime the system is "restarted" or even "cold booted" after a complete shutdown.

Is this file actively used outside of hibernation - during boot? Or, the fact that the last-modification of this file changes is just a by-product of hibernation being enabled in the first place?

MrWhite
  • 2,963

2 Answers2

3

In Windows 8 and up, when you shutdown the computer with Fast Startup enabled, windows is not actually shutdown. Instead, all programs are closed, and then the system is placed in hibernation.

So yes, you are actually using Hibernation even if you are not realizing it. This is also why it makes a huge difference to turn off the pc, then turn on, or to reboot, when it comes to troubleshooting an issue.

By disabling hibernation, you basically turn off hybrid shutdown. Instead the system will shutdown normally, and as a result, the system will also boot much slower. If you really need the space, you can of course disable the feature.

LPChip
  • 66,193
0

Windows 10 Fast Startup also uses hiberfil.sys, but if you turn off both Fast Startup and Hibernation, that file is automatically deleted.

For dual-boot systems, you probably want both those features turned off, or access to the Windows OS partition would be denied or read-only.