The Hiberfil.sys hidden system file is located in the root folder of the drive where the operating system is installed. The Windows Kernel Power Manager reserves this file when you install Windows. The size of this file is approximately equal to how much random access memory (RAM) is installed on the computer.
The computer uses the Hiberfil.sys file to store a copy of the system memory on the hard disk when the hybrid sleep setting is turned on. If this file is not present, the computer cannot hibernate.
To enable hibernation, open an Administrative Command Prompt and run:
powercfg -h on
If you don't plan on using hibernation or are using Windows on a device with a small OS drive (like an SSD) disabling hibernation can free a significant amount of disk space.
To disable hibernation, open an Administrative Command Prompt and run:
powercfg -h off