How to Disable Hiberfil.sys
- Blog
- September 22, 2022
Windows creates a file called hiberfil.sys when you turn on hibernation. Hibernation writes your open documents and programs to your hard disk, and then completely powers off the computer. When you turn your computer back on, Windows restores everything from the hiberfil.sys file.
Because hibernation writes the contents of your computer’s memory to the hiberfil.sys file, the file can be quite large. For example, a hiberfil.sys file on a computer with 4 GB of memory can be as large as 3 GB.
If you don’t plan to use hibernation, you can safely disable it. Here’s how:
1. Open the Power options control panel. You can do this by opening the Control Panel and then clicking on “Power Options”.
2. Click on the “Change plan settings” link for the currently selected power plan.
3. Click on the “Change advanced power settings” link.
4. Expand the “Sleep” setting.
5. Expand the “Hibernate after” setting.
6. Change the “On battery” and “Plugged in” settings to “Never”.
7. Click on the “Save changes” button.
After completing these steps, hibernation will be disabled and the hiberfil.sys file will be deleted.
Table of Contents
How to Disable Hiberfil.sys
What is Hiberfilsys?
Hiberfil.sys is a hidden system file used by the Windows operating system to store information about your computer’s hibernation settings. When you hibernate your computer, Windows saves the state of your open programs and files to the hiberfil.sys file so that they can be restored when you wake your computer up from hibernation.
The hiberfil.sys file is located in your C:\ drive, and its size is typically around 75% of your total physical memory. So, if you have a computer with 4 GB of RAM, the hiberfil.sys file will be around 3 GB in size.
While the hiberfil.sys file is used by the operating system and is important for hibernation to work properly, it is not a critical file and can be safely deleted if you don’t use hibernation on your computer. Deleting the hiberfil.sys file will free up some disk space on your hard drive, and will also disable hibernation on your computer.
To delete the hiberfil.sys file, open the Start menu and type in “cmd” to open the Command Prompt. At the command prompt, type in “powercfg.exe /hibernate off” and press Enter. This will disable hibernation on your computer and delete the hiberfil.sys file.
How to Enable/Disable Hibernate in Windows
Hibernation is a power-saving state that allows a computer to quickly resume from a low-power state. When you enable hibernation, Windows creates a file called hiberfil.sys and stores a copy of the system memory on the hard disk. This allows the computer to turn off completely, which can help save power.
To enable or disable hibernation, follow these steps:
1. Open the Control Panel.
2. Click on Power Options.
3. In the left pane, click on Choose what the power buttons do.
4. Click on Change settings that are currently unavailable.
5. Under Shutdown settings, select or clear the Hibernate check box.
6. Click on Save changes.
How to Delete Hiberfilsys
If you want to disable hibernation on your Windows system, you need to delete the hiberfil.sys file. This file is created when you enable hibernation, and it stores all of your system’s data in memory so that it can quickly resume from hibernation.
To delete the hiberfil.sys file, you need to open the Command Prompt as an administrator. To do this, search for “Command Prompt” in the Start menu, right-click on the Command Prompt shortcut, and select “Run as administrator.”
Once the Command Prompt is open, type the following command and press Enter:
powercfg.exe /hibernate off
This will disable hibernation on your system. You can then delete the hiberfil.sys file by running the following command:
del %windir%\hiberfil.sys
Keep in mind that you will not be able to delete the hiberfil.sys file if hibernation is enabled. You must first disable hibernation before you can delete the file.
How to Free Up Space Used by Hiberfilsys
Windows saves energy by hibernating your PC instead of completely powering it down. When you hibernate your PC, Windows saves the current state of your PC—including all your open programs and unsaved changes—to a hibernation file called hiberfil.sys. When you wake your PC from hibernation, Windows restores your PC to its previous state.
Hibernation is a power-saving state designed primarily for laptops. When you hibernate your laptop, the hard drive spins down, the power to the screen is shut off, and the PC goes into a low-power mode. When you restart your laptop, it returns to its pre-hibernation state. All your open programs and unsaved changes are restored.
If you never use hibernation, you can safely disable it to free up some hard drive space. Here’s how:
1. Search for power options in the start menu and open it.
2. In the power options window, click on “change plan settings” next to your current power plan.
3. In the next window, click on “change advanced power settings”.
4. In the advanced settings window, scroll down to “sleep” and expand the options.
5. Expand “hibernate after” and set it to “never”.
After making this change, Windows will no longer create the hiberfil.sys file and you will be able to reclaim the space it was using.
