/ / How to disable hibernation in Windows 7? Step-by-step guide on disabling hibernation in Windows 7

How do I turn off sleep mode in Windows 7? Step-by-Step Guide to Disabling Sleep Mode in Windows 7

Спящий режим переводит компьютер в состояние economical power consumption and allows you to quickly recover work. This mode can be activated either on demand or automatically. The latter occurs if no actions are performed on the computer for some time.

После того как ПК (персональный компьютер) transferred to sleep state, the control system will turn off the display on the monitor, and stop the work of hard drives, as well as peripheral devices. These actions allow you to reduce energy costs at a time when the computer is not used by the user or the system.

Options for power saving modes in Windows 7

The following power saving options are available in Windows 7: hibernation, hibernation, and mixed mode options.

  • How to disable hibernation in Windows 7
    Sleeping mode.
    In this option, before entering the computer(laptop) in power saving mode, all open programs, windows, documents and other parameters are stored in its memory. Upon transition to a working state, all saved data is restored by the system automatically.
  • Hibernation. В отличие от спящего режима, в данном варианте all involved programs, parameters and documents are not stored in memory, but on the hard disk itself. After that, the computer turns off. Most often, hibernation is used on laptops, since this mode consumes little energy, which significantly saves battery power.
  • Hybrid, or mixed, sleep mode. With this option, all workersDocuments and open programs are saved simultaneously on the hard disk and in the computer's memory. After which it is transferred to the power saving mode. In the event of a power failure, all saved data will be restored from the hard disk.

In all the listed power saving options for Windows 7, hibernation is turned off simply and quickly by pressing any key on the keyboard.

How to disable sleep mode in Windows 7 - basic methods

Of course, the mode of economical energy consumption -The thing is convenient, but there are cases when it is just necessary to remove the sleep mode of Windows 7. So, in this mode you will not be able to connect remotely to the computer. And sometimes it’s completely inconvenient to work when your car “falls asleep” at the first opportunity, especially if it’s not a laptop and you don’t need to save battery power.

how to disable hibernation in windows 7

Therefore, very often the users face the problem: how to disable sleep mode in Windows 7. This dilemma can be solved in the following ways:

  • disabling hibernation using the control panel;
  • use command line;
  • change the entries in the HiberFileSizePercent and HibernateEnabled files in the registry.

Consider in more detail all of these methods.

Disable hibernation using the control panel

Prevent hibernation from Windows 7 by disablingusing the control panel is the easiest and most understandable method that does not require in-depth knowledge. This option is recommended for beginners or inexperienced users.

Consider the step-by-step disabling hibernation.

  1. Open the "Start".
  2. Go to the "Control Panel".
  3. Next, open "Power", if youbrowsing by large icons. Otherwise, you must enter the item "System and Security". Then look for and open Power. You will be presented with a choice of power plan.
    hibernate in windows 7
  4. The next step is to open the "Power Plan Settings" where you have a circle.
    how to disable hibernation in windows 7
  5. In the window that opens, you will need to changethe parameters responsible for the transition of the computer to sleep mode from the battery and from the network In the appropriate windows will need to set the value of the parameter "Never."
  6. After which you will need to save the changes.
    remove sleep mode windows 7

Дополнительно можно выключить функцию сна, выбрав item "Change advanced power settings." Then we find the item "Sleep" and set the value to 0 in the corresponding fields. In order for the changes to take effect, you must click "Apply" and "OK".

And what is this amazing hiberfil.sys?

First, let's look at what a file called hiberfil.sys is needed for, and then consider how to disable hibernation in Windows 7.

During the transition of the computer to hibernation alldata about running programs, open documents and other information is stored on the hard disk by writing it to the hiberfil.sys file. After the system goes out of sleep mode, all data is restored in the computer's memory at the time of "falling asleep".

Hibernation mode saves chargebattery at the laptop. But on desktops, this mode is rarely used, with hiberfil.sys occupying a significant amount of hard disk, because its size can be several gigabytes. However, when disabling sleep mode using the control panel, a file named hiberfil.sys will automatically be created by the system again and again.

How can I turn off hibernation in Windows 7 using the command line

To completely disable hibernation, you need to open the cmd.exe console.

  1. In the "Start" menu in the search type cmd.exe and click search.
  2. The cmd.exe console opens.
  3. We start it with the rights of the Administrator. To do this, move the cursor to cmd and click on the right mouse button. In the expanded menu, you must select the run from the administrator.
  4. At the command prompt, type powercfg.exe -h off. After that hiberfil.sys will be deleted automatically.

If you need to re-enable hibernation,then you need to open the dialog box with the command line (repeat steps 1 through 3). In the window that opens, write powercfg.exe -h on to the command line. Then set the required values ​​in the power plan settings.

Modifying the HiberFileSizePercent and HibernateEnabled file entries in the registry

Now let's look at how to disable hibernation in Windows 7 using the registry by modifying the HiberFileSizePercent and HibernateEnabled file entries. For this you need:

  1. Start Registry Editor. To do this, you must simultaneously press win and R.
  2. At the command prompt, enter regedit.
  3. Next, you need to navigate the following registry branch - HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlPower
  4. We modify the parameters of the HiberFileSizePercent file by clicking the right mouse button and selecting the "Modify" item, where the value 0 should be indicated in the opened field.
  5. Change the HibernateEnabled file settings in the same way.
  6. You must close the registry editor and restart the computer.

After all the above, even a novice user can disable hibernation in Windows 7.