ComputersOS

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

Sleep mode turns the computer into a state of economical power consumption and allows you to quickly restore work. This mode can be switched on either at the user's request or automatically. The latter occurs if no actions are performed on the computer for a while.

After the PC (personal computer) is put into sleep state, the control system will turn off the image output to the monitor, and the operation of hard disks and peripheral devices is suspended. These actions can reduce energy costs while the computer is not being used by the user or system.

Power Save Mode Options in Windows 7

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

  • Sleeping mode. In this version, before all the open programs, windows, documents and other parameters are stored in its memory before entering the power saving mode in the computer (laptop). When you go into working state, all the saved data is restored automatically by the system.
  • Hibernation. Unlike the sleep mode, in this version, all the programs, parameters and documents that are involved are stored not 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 saves battery power.
  • Hybrid, or mixed, sleep mode. When using this option, all working documents and open programs are stored simultaneously on the hard disk and in the computer memory. After that, it is transferred to power saving mode. In the event of a power failure, all stored data will be restored from the hard disk.

In all the listed versions of Windows 7 energy saving, the sleep mode is turned off simply and quickly by pressing any key on the keyboard.

How to disable sleep mode in Windows 7 - the main ways

Of course, the mode of economical energy consumption is convenient, but there are cases when you need 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 not at all comfortable to work when your car at the first opportunity "falls asleep," especially if it's not a laptop, and you do not need to save battery power.

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

  • Disable hibernation using the control panel;
  • Using the command line;
  • Change the HiberFileSizePercent and HibernateEnabled entries in the registry.

Let's consider in more detail all listed ways.

Disabling Hibernation Using the Control Panel

The prohibition of Windows 7 sleep mode by disabling it using the control panel is the simplest and most understandable way, which does not require deep knowledge. This option is recommended for novice users or inexperienced users.

Let's take a step-by-step view of how to disable hibernation.

  1. Open the "Start".
  2. Go to the "Control Panel".
  3. Next, open the "Power", if you look through the large icons. Otherwise, you must enter the "System and Security" item. Then look for and open the "Power Supply". Before you appear the choice of power plan.
  4. The next step is to open the "Power plan settings" where you have a circle.
  5. In the opened window it will be necessary to change the parameters responsible for switching the computer to sleep mode from the battery and from the network. In the corresponding windows you will need to set the value of the parameter "Never".
  6. After that it will be necessary to save the changes.

In addition, you can turn off the sleep function by selecting "Change additional power settings". After that, we find the item "Sleep" and set the value in the corresponding fields to 0. In order for the changes to take effect, you must click "Apply" and "OK".

And what is this amazing hiberfil.sys?

First, we'll figure it out, which requires a file named hiberfil.sys, and then we'll see how to turn off sleep mode in Windows 7.

When the computer goes into hibernation, all data 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 exits sleep mode, all data is restored to the computer memory at the time of "falling asleep".

Hibernation mode allows you to save battery power from your laptop. But on stationary computers, this mode is rarely used, while hiberfil.sys occupies a significant amount of hard disk, because its size can be several gigabytes. However, when disabling sleep mode using the control panel, the file with the name hiberfil.sys will be automatically created by the system again and again.

How can I turn off Windows 7 sleep mode using the command line

To completely disable hibernation mode, open the cmd.exe console.

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

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

Changing the HiberFileSizePercent and HibernateEnabled File Entries in the Registry

Now consider how to disable sleep mode in Windows 7 using the registry, by modifying the HiberFileSizePercent and HibernateEnabled file entries. For this you need:

  1. The Registry Editor starts. To do this, you must simultaneously press win and R.
  2. At the command prompt, enter regedit.
  3. Next, you need to move to the next registry branch - HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Control \ Power
  4. Change the parameters of the HiberFileSizePercent file by clicking on the right mouse button and selecting "Edit", where in the opened field you should specify the value 0.
  5. Change the settings of the HibernateEnabled file in the same way.
  6. You must close the Registry Editor window and restart the computer.

After all of the above, even a novice user can turn off the hibernation mode in Windows 7.

Similar articles

 

 

 

 

Trending Now

 

 

 

 

Newest

Copyright © 2018 en.delachieve.com. Theme powered by WordPress.