Toggle-hibernate.bat: Easily delete the hiberfil.sys

Windows Hibernate is one of the truly useful feature that helps us get back to work after powering on a computer, as fast as possible. But one of the downside of hibernate is that it can take up some huge amount of space on your hard disk. By default this is 75% of the RAM that you have installed in your computer. So if you have 3Gb of RAM then you could be having a hiberfil.sys file that is around 2.2 Gb.

The computer uses the hiberfil.sys file to store a copy of the system memory on the hard disk when the hybrid sleep setting is turned on. If this file is not present, the computer cannot hibernate.

A thing about hiberfil.sys file is that it just sits there occupying a large disk space waiting for the hibernate command. That is, there is no frequent read or write process when you are working on your computer like the pagefile.sys file. The hiberfil.sys being a system file, Windows will not let you delete it. But the hiberfil.sys file will be automatically deleted when you disable hibernate. Considering the steps involved in disabling and enabling it, you might never doing it.

So should you ever wish to delete the hiberfil.sys file, the toggle hibernate script will make the task a little easier for you. This little script will completely disable the hibernate on your Windows computer with a click and you can restore hibernate anytime later with, again, a click.

To give this a try, download Toggle-hibernate.bat on your desktop, right click, choose “Run as Administrator” and hibernate will instantly be disabled. Later, when you need to enable hibernate, just right-click the same file and run as an admin as before.

Download:  Toggle-hibernate.bat

Leave a Reply