Enabling And Disabling Hibernation In Windows 10 Using The Command And Through The Registry

Enabling And Disabling Hibernation In Windows 10 Using The Command And Through The Registry

First you need to decide how the hibernation mode differs from sleep mode. Both of these modes are used and designed to save energy consumption. The most tangible advantage of using hibernation and sleep will of course be for laptops, in which the battery charge capacity is by far the most critical parameter. Therefore, after some downtime without work, the system will put your computer into sleep mode. At the same time, RAM will be used to store all data and running programs, which naturally consumes energy. Unlike sleep mode, hibernation mode uses a hard drive on which a special hiberfil.sys file is created and it is in it that the current state of the operating system is saved.

After removing the computer or laptop from these modes, Windows will continue to work in the exact state in which it went into a state of sleep or hibernation. In the first case, the system starts working immediately (since all the data is already in RAM), and in the second, the system first transfers the data from the hiberfil.sys file to the RAM and then starts working. The differences between the two modes are the startup speed of the previous state and the natural power consumption.

How to enable and disable hibernation in windows 10

If you drew attention to previous articles, usually the easiest way to enable or disable something is to use the command line. In the same way, here you need to run the command line with administrator rights. To do this, right-click on the start button (I can’t stop wondering how the developers made a convenient tool with this button) and select the command line (administrator).

Read more:  How To Use The Built-In Antivirus In Windows 10

Having administrator rights at the command line to disable hibernation, enter the following command and press "Enter":

Disabling windows 10 hibernation

By analogy with disabling, in the same way, using the command line, we can enable hibernation in Windows 10. Having launched the command line with administrator rights, enter the following command:

How to enable hibernation in windows 10 using the registry

In the first case, the solution was simple and did not require any special skills, but there is an option how to enable or disable hibernation using the registry. It is possible that the above procedures did not work for any reason, then using the registry you can see the state of hibernation and manually switch to the one you need. So, we start the registry editor with the WinR key combination and the “regedit” command.

In the editor, go to the following registry key:

In the right part of the editor window and section Power find parameter HibernateEnabled and double-click on it with the left mouse button. The window for editing the parameter and setting the value opens. Parameter HibernateEnabled determines whether hibernation is enabled. If the value of this parameter is set in the form of "0". then the mode is off, so to enable hibernation in windows 10, set the value to "1" in the field and the system will switch to this mode.

Add the ability to switch to hibernation mode through the start menu

Previous methods for setting the mode put the system in the mode when it "fell asleep" to save electricity. In order not to wait until the system “falls asleep” and manually put it into hibernation mode, you must add the translation line to this mode through the “Start.> Completion of work. " To do this, right-click on the "Start" button and open the "Power Management" menu.

Read more:  Why Does Not Sound Work In Windows 10

In the window on the right, click on "Power Button Actions."

To access the editing of shutdown options, click on the link "Change settings that are currently unavailable."

After that, in the lower part of the window it will be possible to enable the menu item "Hibernation Mode". Turn it on and click save changes.

Now click on the “Start” button and then on “Shutdown”. You will see a new “Hibernation” item and clicking on it will put windows 10 in hibernation mode.

How to reduce hiberfil.sys and can it be deleted?

The hiberfil.sys file is created by the system at the moment when windows goes into hibernation mode, and since it is a system file, deleting in the usual way will fail. Each time you switch to hibernation, windows 10 will recreate it. If you disable hibernation mode and will not use it, the file will be deleted and, accordingly, should not appear again.

In addition to removal (or the inability to delete), there is a way to reduce its size. If you do not use manual translation of the system into hibernation, but left the possibility of switching in automatic mode, it makes sense to reduce the hiberfil.sys file.

Run the command line with administrator rights (on the "Start" button, right-click).

To cancel the installation of the reduced size of the hiberfil.sys file, enter the same command, but with the “full” parameter:

Share this "Enabling and disabling hibernation in Windows 10 using the command and through the registry"

, , , , ,