Hiberfil.sys in Windows 8 and Why You Should Never Disable Hibernation To Delete It

We explained it before what is hiberfil.sys on Windows 7 computers and how to permanently delete it to free up some hard drive spaces. It’s no longer the case on Windows 8. Why? Because it’s been assigned a special task for a feature that everyone would love and appreciate.

Windows 8 fast boot

Windows 8 introduces a fast, new startup capability that allows Windows 8 to boot much faster than any previous Windows system, including Windows 7. To make this happen, Microsoft optimized the way how normally a Windows machine shuts down. Instead of a full shutdown that basically closes the kernel session, Windows 8 hibernates it to save the kernel session, which is much smaller than a full hibernation, to the disk, more specifically, to the hiberfil.sys file. It makes a faster boot time because resuming the hibernated system session is comparatively less work than doing a full system initialization.

Therefore, unless you deadly need that a few gig space back, you should never disable hibernation on Windows 8. Doing so would result in the permanent removal of the hiberfil.sys file, which would leave no place for the kernel session to be stored, meaning that the fast startup process usage of a saved kernel session would not be possible. You would find your Windows 8 startup takes longer to finish.

How big is hiberfil.sys?

Typically, the hiberfil.sys is sized by default at 75% of physical RAM you have installed on your system. And you can customize the size by running

powercfg /h /size <percentage_size (0 – 100)>

in Command Prompt as Administrator window.

Powercfg size

How to check if hibernation is on

If the file hiberfil.sys listed from the following command, the hibernation is turned on.

dir c:\ /ah

check hibernation

To turn off Hibernation

Run the following command in Command Prompt as Administrator:

powercfg /h off

The hiberfil.sys will be removed immediately after it’s run.

To turn back on hibernation

Run the following command in Command Prompt as Administrator:

powercfg /h on

The result is immediate.

Related posts:

  1. What is hiberfil.sys and how to delete in Windows 7 free up hard drive space
  2. How to Disable Hibernation In Windows 8 To Gain Disk Space
  3. How To Add A Hibernation Tile on Windows 8 Start Screen
  4. Why Windows 8 Boots so Fast?
  5. Windows 8 Tip: Enable/Disable File Delete Confirmation Dialog Box
  • Pingback: Hiberfil.sys in Windows 8 and Why You Should Never Disable Hibernation

  • Pingback: How to Disable Hibernation In Windows 8 To Gain Disk Space | Windows7hacker

  • Jorge Manriquez

    omg, microsoft doing things right

  • Eugene

    Can you move it ?

  • ksathug


  • Mark Pirola


  • JohnnyBee

    I removed it with Windows 8 Pro. Because my primary drive is an SSD, it took no longer to reboot than when hyberfil.sys was active!!! Saves me 6.4GB on my SSD.

  • Pingback: Anyone figured out the disappearing restore points problem - Page 5

  • Kevin Anthony

    Now just post a demo on adding 1394 IEEE drivers to Windows 8 please

  • Guilherme Harrison

    strange… No matter how low the value I type, it apparently gives me 50% of the RAM size.

    Since installed windows in a small ssd and have 16GB of ram, that space it was taking is very expensive. I’m gonna have to suck it up and wait a few seconds more for boot.

    • http://about.me/kentchen Kent Chen

      Since you have SSD, I would say it’s ok to turn the hibernation off if the space is getting low.

      • Guilherme Harrison

        Thanks! Did that and the boot seems even faster now!

  • Sean

    Thanks for the article, Kent. What if we never use hibernation, but always just turn off the computer at the end of the day? Would the startups the next morning and startups after that be slower?

    • http://about.me/kentchen Kent Chen

      That doesn’t matter. Unless you are using SSD, you can leave hibernation on.

  • Frew Cen

    I would note that hiberfil.sys can cause (and causes) problems when running two operating systems on one machine. For example lastest Ubuntu LTS refuses to show login screen until the hiberfil.sys is removed (so you need to log out and delete it somehow), and Linux Mint fires error dialog every startup.

  • A Software Developer.

    32GB of RAM here, but the boot disk is a 2x 128GB SSD RAID-0 array. That 32GB file is expensive, and I can quantify that financially. I tried setting it to something sane, like 13% (which would be 4GB), and it will not reduce itself to below 16GB.

    I feel I’m somewhat justified in disabling this “feature”. This is a development machine and we need all the space on that SSD that we can get. Powercfg /h off is what we used on 7.

    I’d be fine if they’d just give the the ability to move it to the 4tb Raid 5 array that has an SSD cache. It shouldn’t be difficult to write the bootloader to look at more disks than just the first disk.

    System boots in six to ten seconds without it anyway.

    I found this page by googleing “win8 reduce hiberfil size”.

  • Bill

    This is stupid, it eats up lots of space from a fresh installed win8x64 on ssd + windows 8 “fast startup” corrupts other filesystems (EXTFS, HFS ETC)

  • Bruno

    Saved me 27gb of SSD… that’s one huge file…

  • Daniel Earls

    Powercfg.exe /hibernate off In command promt( admin) in windows 8

  • s1aver

    Isn’t it only for brand new computers that have a UEFI bios that can utilizes the new hybrid kernel for fast boot up. For any other computer wouldn’t the hiberfil.sys file just wastes space.

    • http://about.me/kentchen Kent Chen

      UEFI is mostly for improving security and the ability to boot from an over-2TB HD, not much different for speeding up the boot process.

      In general, hiberfil.sys helps more in terms of faster boot-up. You should always enable it unless you are running off on a SSD.

      • s1aver

        Thanks for the correction. I’ll go renable hibernate on my PC.