Maximize Storage: How to Disable Hibernation File (Hiberfil.sys) | windows trick |#windows10|#tricks

Maximize Storage: How to Disable Hibernation File (Hiberfil.sys) | windows trick |#windows10|#tricks

HomeOther ContentMaximize Storage: How to Disable Hibernation File (Hiberfil.sys) | windows trick |#windows10|#tricks
ChannelPublish DateThumbnail & View CountActions
Channel Avatar Geeky Express2023-07-09 04:03:37 Thumbnail
136 Views
hiberfil.sys – deleting and disabling the hibernation file
Today’s computers offer a range of energy-saving options. These features are especially useful for laptops, which often run on battery power instead of being plugged in. One of the most well-known features for saving power and battery is Hibernate mode (also called Suspend to disk), which powers off your computer. Before the operating system shuts down, it stores your current user session to the hard disk so that you can continue exactly where you left off when your computer wakes up from hibernation.

Microsoft systems such as Windows 7, 8, or 10 store this memory content to the hiberfil.sys file, which can use several GBs of space depending on the software, system version and type of device you’re using. Windows creates this system memory file even if you never use Hibernate mode or Sleep mode, which also uses the hibernation method. We’ll explain how to delete the hiberfil.sys file and prevent the automatic creation of a new hiberfil.sys file if you don’t use the hibernation feature in Windows.

What is hiberfil.sys?
hiberfil.sys is a system file in Windows operating systems that contains the current memory contents of the machine state and is used by the “Sleep” and “Hibernate” power-saving options. The file is created and managed by the Windows operating system itself and can be several gigabytes in size (in Windows 10, it usually ranges from three to five gigabytes). The hiberfil.sys file is used to restore the user session when the system boots up after hibernation or sleep mode.

Windows places the hibernation file in the source directory of the system partition itself, typically in the root directory of C://. However, hiberfil.sys is a hidden and protected operating system file, so you won’t see it by default. If you want to change this setting, for example to view the size of the file, do the following:

Go to the View tab and select the Hidden items checkbox.
Click Options, and then click Change folder and search options.
In the dialog box that appears, go to the View tab and uncheck Hide protected operating system files (Recommended).

How to delete and disable the hiberfil.sys file
Although hiberfil.sys is a hidden and protected system file, you can safely delete it if you don’t want to use the power-saving options in Windows. That’s because the hibernation file has no effect on the general functions of the operating system. However, you can’t use the standard delete method (right-click and “Delete”) because Windows actively uses this file. When you try to do this, you’ll get a message saying that the hiberfil.sys file is open in another program.

The solution is to disable Hibernate mode. Windows will then automatically delete hiberfil.sys as a result. We’ll now explain exactly how to do this in Windows 7, 8 and 10.

How to the disable hiberfil.sys in Windows 10
There are two ways to disable the hibernation file that stores your session to the hard disk: Either disable the service using Command Prompt or change the registry entry for hiberfil.sys. In both cases, you have to have the necessary access privileges because the hibernation file is a system file, as mentioned above.

Deleting hiberfil.sys via PowerShell in Windows 10:

To turn off caching in the system file via PowerShell, all you need to do is a run a command. But first you need to run PowerShell as an administrator by choosing the keyboard shortcut [Windows] + [X] or right-clicking the Windows icon and choosing Windows PowerShell (Admin) Windows PowerShell:

Press Enter to confirm your entry. Hibernate mode will be disabled and the hiberfil.sys file will be automatically deleted.

Deleting hiberfil.sys via the registry in Windows 10:

You shouldn’t disable the hiberfil.sys file via the registry unless you have experience using the registry database. Incorrect entries or changes to the entries can easily cause Windows 10 to stop working properly.

The service is relatively easy to turn off using this method. First, open the “HibernateEnabled”registry entry, which is located at:

//HKEY_LOCAL_MACHINE//SYSTEM//CurrentControlSet//Control//Power
Double-click the above entry and set the value in the Value data field to 0 to disable Hibernate mode and delete the hiberfil.sys file:

hiberfil.sys,
disable hibernation,
delete hiberfil.sys,
Windows power-saving options,
Hibernate mode,
Sleep mode,
Saving disk space,
Windows system files,
Windows 10 tips,
Power management,
Windows registry,
PowerShell commands,
Windows troubleshooting,
System performance,
Windows tutorials

Our Official Group:
Telegram Group: Technical Foodie https://t.me/technicalfoodie1
Whatsapp Group: https://chat.whatsapp.com/CUeTjJKAXy4HVqucdT9I73
Our Facebook Page: https://www.facebook.com/youtubetechnicalfoodie/

#technical #foodie #training #analysis #technicalfoodie #telegramgroup #epunjab #hrms #ehrms #hrmspunjab #ifms #pfms #pfmshelpful #pfmssolution #hrmssolution

Please take the opportunity to connect and share this video with your friends and family if you find it useful.