How to Disable Hibernation In Windows 8 To Gain Disk Space

In terms of hibernation Windows 8 is no different than Windows 7 or any previous predecessors. Upon installing Windows 8, by default, Windows will allocate an equivalent amount of your system’s RAM to it’s disk. If you look close you will find a file named hiberfil.sys in your root system partition. The size of the hiberfil.sys is the size of your memory, if you never plan to put your computer into hibernation than it’s probably a good idea to disable and gain all the disk space back.

How To Disable Hibernation or Delete the hiberfil.sys In Windows 8

Go to Start Menu and type cmd > right click > Run as Administrator (on the bottom of the menu)


Type powercfg –h off

Press enter and there you go. You’ve now disabled hibernation in Windows 8 as well as gained some valuable disk space in your main partition drive.

If you are still curious about how hibernation works, Hibernate mode is not sleep mode. When hibernating your computer completely shuts down, however, under sleep mode your PC is not completely shut down; it still consumes a small amount of power.

This method works same across all previous Windows as well. Give it a try if you want to gain some disk space on your main OS partition.

[updated on Nov. 21, 2012]

As matter of fact, hibernation is a lot more important than any previous Windows, and you should never disable it unless the space you saved is very critical to your day to day computing. Here is why.

Related posts:

  1. What is hiberfil.sys and how to delete in Windows 7 free up hard drive space
  2. Gain More Disk Space By Cleanup Your Windows 7 Services Pack 1 Backup
  3. Hiberfil.sys in Windows 8 and Why You Should Never Disable Hibernation To Delete It
  4. Some Facts About Windows Low Disk Space Warning Balloon
  5. How To Add A Hibernation Tile on Windows 8 Start Screen
  • Robinson Chan

    -h doesn’t work for me but /h does. I’m using Windows 8 Professional x64

    • windows7hacker

      funny, it should work. But oh wells, you figured out.


    • sojibby

      me either, /h is the correct command on Preview Release x64 as well.

  • sky

    Dear Editor,

    This is Sky from Aomei Technology Marketing Department, sorry for taking your time to read this E-mail. It’s my great honor to tell you that our company would like to provide 10~20 license of Aomei Partition Assistant Professional Edition for your website to do giveaway activity.

    If you are interested in it, please tell me in time. I’m looking forward to your reply.

    Best wishes!

    Aomei Technology

  • Troy Edin

    ya powercfg /h off worked for me too, windows 8 64-bit OEM from sys builder disc, gives invalid command with powercfg –h off

  • Passerby

    In Windows 8, it’s

    powercfg /hibernate off

  • andre

    it work!! i got my 6 gb back on my drive c……….thank you………..

  • Rishabh

    You can’t enable Hibernate on Windows to GO windows 8 feature

  • rzq

    run ass administrator

  • Partha Sarathi Ghosh

    Thanks man it was so simple that I did not know.:)