How to Change the Hibernation File Size

When your computer goes into hibernate the files in memory (RAM) are saved into a file on the hard disk. This file is called hiberfil.sys and by default is set to be 75% of your total RAM size. You can adust this if you need to.

Adjust Hibernation File Size

  • Open a command prompt window as an Administrator
  • Type the following command, when 75 is the percentage you want
powercfg.exe /hibernate /size 75
powercfg

3 Comments (Newest on top)

  1. Curtis says:

    Many thanks for posting this. It’s exactly what I needed.

  2. alex says:

    By default the hibernation file is 100% of the RAM memory, not only 75%.

    • Ben says:

      I put 75% as this is what I used on my EEE that wouldn’t hibernate due to a tiny first disk.
      Of course you can’t hibernate if your ram usage is higher

Leave a Reply