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.

How To:

Run CMD as Administrator and execute the following commands.

Reduce size/Resize

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.



Disables the hibernate feature and removes hiberfil.sys

Re-enable hibernate feature


Allows to revert back to default and create hiberfil.sys according to system RAM.

Applies To:

  • Windows Server 2008 R2
  • Windows Server 2008
  • Windows 7
  • Windows Vista

2 responses to “Reduce the size/resize/remove of hiberfil.sys”

  1. Alexandr Avatar

    Non-applies to Vista.

  2. Alex Avatar

    I APPRECIATE YOU VERY MUCH BECUZ I HAD A PROBLEM WITH hiberfil.sys it was only 765 mb as my ram is 1 bg , your tutorial helped me alot and my hibernation is now working.THANKS ALOT VERY MUCH MAN!!!!!!!!!

Leave a Reply

Your email address will not be published. Required fields are marked *