How to remove hiberfil.sys file from Windows?

by Linas Kiguolis - -
12

Question

Issue: How to remove hiberfil.sys file from Windows?

Hiberfil.sys file takes up loads of RAM memory, so I would like to uninstall it. It’s a long time since I did not use hibernation mode, so I assume that this file is no longer needed. Could you please help?

Solved Answer

Hiberfil.sys is a temporary file that is created by Windows OS for saving the memory in hard drive. This is necessary if the PC/laptop user wants to put the system into the hibernation mode. Hibernation mode is one of the two power management modes available on all Windows OS versions. Typically, the computer or laptop is put in a low power state by enabling Sleep Mode. For this purpose, the PC/laptop owner sets a required Power Plan, which then automatically puts the system into Sleep Mode when it stays idle for 5 minutes or more. However, all Windows versions, including Vista, XP, 7, 8.1, 8, and 10 allow putting the system in Hibernation Mode, which completely turns off the machine thus using zero recourse. Nevertheless, just like with Sleep Mode, rebooting the system after hibernation will restore the exact state of the system as it was before enabling hibernation. The problem is that to enable this state Microsoft creates the hiberfil.sys file, which is stored in the C: drive and uses 75 percent of the RAM by default. Such huge memory occupation may reduce system’s performance significantly, especially if you are using an old computer with a low RAM storage (e.g. 160 GB). If you have never tried enabling Hibernation Mode and do not plan to do so, it would be wise to remove hiberfil.sys file completely.

delete hiberfil.sys to disable hibernation mode

Step 1. Check if Hibernation Mode is enabled

To start with, we would recommend checking if Hibernation Mode is enabled on your PC. For this purpose, right-click on Windows key and select Command Prompt (Admin). If hiberfil.sys file is included on the list, it means that hibernate is enabled.

Step 2. Resize hiberfil.sys file

If you have plans to enable Hibernation state in the future, its settings can be customized to reduce the space that hiberfil.sys file occupies. To do so, open an elevated Command Prompt by right clicking on the Windows key and selecting Command Prompt (Admin). Then type powercfg.exe /hibernate /size 50. This way, the mentioned file will occupy 50 percent instead of 75.

Step 3. Delete hiberfil.sys file

Since hiberfil.sys file is not crucial for Windows operating system, its removal does not require much effort. The following steps will explain how to remove hiberfil.sys completely.

Windows 10 / 8

  1. Right-Click Windows key and select Command Prompt (Admin).
  2. Copy and paste the powercfg.exe -h off command into the dialogue box and press Enter.
    (In case you would change your mind and decide to enable hibernation, copy and paste powercfg.exe -h on command into the Command Prompt).

Windows Vista and 7

  1. Press Start and type cmd in the search field.
  2. Right-click on cmd.exe and select Run as Administrator.
  3. Copy and paste the powercfg.exe -h off command into the dialogue box and press Enter.

Windows XP

  1. Press Start button and select Control Panel.
  2. Double-click on Power Options icon and open Hibernate tab.
  3. Uncheck the Enable Hibernate check box.

After that, you should no longer see the hiberfil.sys file in Command Prompt and local disk C. Besides, you should see no ‘hibernate mode’ on the Start menu when clicking the Shut Down option.

We might be affiliated with any product we recommend on the site. Full disclosure in our Agreement of Use.
By Downloading any provided software you agree to our privacy policy and agreement of use.
do it now!
Download
removal software Happiness
Guarantee
Compatible with Microsoft Windows
Alternate Software
Perfect Uninstaller

What you can add more about the problem: "How to remove hiberfil.sys file from Windows?"

Ask
now online
news
Subscribe
Fix
Uninstall
Optimize
Recover
Like us on Facebook