Into Windows

  • Home
  • Windows 10
  • Freeware
  • Privacy
You are here: Home / Windows 10 / How To Reduce Hibernation (Hiberfil.sys) File Size In Windows 10

How To Reduce Hibernation (Hiberfil.sys) File Size In Windows 10

Last Updated on August 5, 2019 by admin 6 Comments

RECOMMENDED: Click here to fix Windows errors and improve PC performance
 

Most of Windows users use the hibernation feature to quickly boot into Windows and resume their work. However, hibernation feature is turned on by default on most Windows 10 PCs and but it doesn’t show up in power menu or power button by default. On Windows 10, it can be added to the Start menu power button by referring to our how to enable hibernate in Windows 10 guide.

 Reduce Hibernate File size

When you enable the hibernate feature, Windows creates a new file named hiberfil.sys in the root of your system drive (the drive where Windows is installed) to save the system state.

Now, if you have a hiberfil.sys file with a huge size, you might want to reduce its size to free-up some disk space. The default size of hiberfil.sys varies depending on the amount of RAM installed on your PC.

In recent versions of Windows 10, Microsoft has made huge changes to the hibernation file size. The hibernation file size is approximately 40% of the RAM installed on the computer in recent versions. In previous Windows versions, it was up to 95% of the random access memory (RAM) installed on the PC. On my ThinkPad laptop which has 16 GB of RAM, the hibernation file size is just 6.34 GB.

reduce hibernation file size in Windows 10

One can reduce the hiberfil.sys file size by executing a simple command in the elevated Command Prompt. But we recommend you keep at least 70% of the original size of the hiberfil.sys.

How to reduce the size of hiberfil.sys file in Windows 10/7/8

IMPORTANT: It’s worth noting that Windows 10 doesn’t allow you to shrink the size of the hiberfil.sys file if the file size is 40% or lesser the size of the installed RAM.

Step 1: Open elevated Command Prompt by typing CMD in Start menu search filed, right-click on Command Prompt entry, and then click Run as administrator.

Step 2: In the command prompt, type the following command and hit enter.

Powercfg –h –size percentsize

reduce hibernation file size in Windows 10

In the above command, replace percentsize with your value (for example, 60%), but it cannot be smaller than 50.

Step 3: Exit the Command Prompt and you are done!

Filed Under: Windows 10 Tagged: Windows 7

Related Articles

  • How To Delay Or Defer Updates Up To 365 Days In Windows 10
  • System Font Changer: Change System Font Size In Windows 10 Creators Update
  • How To Install Windows 10 Creators Update (1703) Right Now
  • How To Change Desktop Icons In Windows 10
  • How To Reset OneDrive In Windows 10
  • How To Enable Or Disable Game Mode For Individual Games In Windows 10

Comments

  1. admin says

    January 14, 2019 at 12:33 pm

    @ BH, thanks for your inputs. Will help others as well.

  2. BH says

    January 11, 2019 at 10:52 pm

    syntax has changed for Win10 as of this writing.

    Go to cmd, run as admin, type “powercfg /?” for base level options. For hibernate options: “powercfg /hibernate /?”

    Note that there is an feature for modifying hibernate options, and it is off by default. To enable modification: “powercfg /hibernate on”

    Windows 10 now allows 40% – 100%.

    Next, to change to 40%, use: “powercfg /hibernate /size 40”

  3. DARREN says

    December 31, 2017 at 11:08 pm

    When I attempt the above I receive :
    “A device attached to the system is not functioning.”

    Help!

  4. Nux says

    November 25, 2013 at 6:16 am

    To quote Microsoft: “For Windows 7, the default size of the hibernation file is equal to 75 percent of the total physical memory on the system.
    […]
    In rare and extreme cases of memory use, including memory validation by a memory performance or test utility, __hibernate_can_fail__ because the contents of memory cannot be compressed enough to fit within the size of the hibernation file.”

    MS also says that on systems with large disks, you should actually __increase__ the hibernation file size to 100 percent!

  5. Anon says

    March 9, 2012 at 12:17 pm

    Thanks for the command!!

  6. Hannes Schurig says

    April 30, 2010 at 5:02 pm

    Cool thing but what about disadvantages? What happen if my memory usage is about 2GB but I limited the hiberfil.sys to 1GB?

Leave a Reply Cancel reply

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

Advertisement

Recent posts

  • How To Change Laptop Lid Open Action In Windows 10
  • Fix: The Disc Image File Is Corrupted Error In Windows 10
  • Fix: Your Phone Not Working In Windows 10
  • Fix: We Can’t Open This File Error In Windows 10 Photos
  • How To Remove Padlock Or Lock Icon From Drives In Windows 10
  • 3 Ways To Check Version Number Of Apps & Programs In Windows 10
  • Download TeamViewer 15 For Windows 10
  • What Is Two Blue Arrows Icon On Files & Folders In Windows 10
  • 2 Ways To Manually Restore Last Session In Google Chrome
  • How To Export Passwords From Google Chrome In Windows 10

Advertisement

About us

  • About Us
  • Contact Us
  • Privacy Policy

Copyright © 2019 · Into Windows