Hiberfil.sys is hibernation file that store whole Windows state, when hibernation in action. Its located in system drive (generally C: drive’s root). The size of file depends on total installed physical RAM, so it requires space in HDD as much your system RAM. But its too annoying we need to free space, so here is the solution.
Run CMD as Administrator and execute the following commands.
POWERCFG -H -Size <PercentSize>
<PercentSize> Specifies the desired hiberfil.sys size in percentage of the total memory. The default size cannot be smaller than 50. This switch will also enable the hiberfil.sys automatically.
POWERCFG -H OFF
Disables the hibernate feature and removes hiberfil.sys
Re-enable hibernate feature
POWERCFG -H ON
Allows to revert back to default and create hiberfil.sys according to system RAM.
- Windows Server 2008 R2
- Windows Server 2008
- Windows 7
- Windows Vista