Home     Windows 7     Windows 8   Freeware     Privacy

How To Reduce Hibernate File Size In Windows 7

Posted April 30, 2010 – 2:50 pm in: Windows 7 Guides
Advertisements

Most of Windows users use hibernation feature to quickly boot into Windows and resume their work. Though, by default, it’s not enabled in Windows 7, one can enable it by following our how to enable or disable hibernate feature in Windows 7 guide.

 Reduce Hibernate File size

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

 

Now, if you have a hiberfil.sys 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. For instance, it’s taking 2.97 GB of disk space on my PC with 4 GB of RAM.

Reduce Hibernate File Size In Windows 7

One can reduce the hiberfil.sys file size by executing a simple command in the elevated Command Prompt. Here is how to do it:

 

1. Open elevated Command Prompt by typing CMD in Start menu search filed and then hitting enter. Alternatively, go to Start menu, All programs, Accessories, right-click on Command Prompt entry and then select Run as administrator option.

 Reduce Hibernation File Size in Windows 7

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

Powercfg –h –size percentsize

Reduce Hiberfile file size in Windows 7 guide

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

 

3. Exit the Command Prompt and you are done!

  Tags:

Related Posts

Windows 8 Features For Windows 7
Useful Guides For Windows 7

2 Comments

  1. Hannes Schurig
    Posted April 30, 2010 at 5:02 pm | Permalink

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

  2. Anon
    Posted March 9, 2012 at 12:17 pm | Permalink

    Thanks for the command!!

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*