Setting up sleep mode in Windows 7

Power-saving mode, when switching to which the contents of RAM are saved to the hard disk, is called hibernation. In Microsoft operating systems, its support appeared in Windows 95. Until 2007, in the Russian localization, it was called sleep mode. The greatest benefits of using it are received by laptop owners, but it can also work on stationary PCs. Our experts tell you how to set up sleep mode in Windows 7.

Power supply plan

In Microsoft operating systems, the user can use three power-saving modes. For regular PCs with a permanent power connection, it is preferable to use sleep and hybrid sleep modes. For laptops-hibernate.

Open the ” Run ” dialog box using the “Win+R”keyboard shortcut. Type the command “powercfg.cpl” in the text field and click “OK”. Using it gives you direct access to the power management section in the Windows control panel.

Setting up sleep mode in Windows 7

In the main field of the window, the radio button shows the current power supply plan for the computer. To configure it, click on the hyperlink marked with one or use the item in the navigation menu marked with two.

Setting up sleep mode in Windows 7

Using the drop-down menus shown by arrows, we set the time of transition to sleep mode when using a battery or a stationary power supply. We record the changes made with the button marked with a triple in the screenshot. The hyperlink indicated by the number ” 4 ” opens additional parameters.

Setting up sleep mode in Windows 7

In the window that opens, we find the “Sleep” section. Expand its contents and determine whether to use hybrid mode. For stationary PCs, we move the switches indicated by the arrow to the “On” position, for laptops we leave them as shown in the screenshot. We record the changes with the “Apply” button.

Setting up sleep mode in Windows 7

Wake-up protection

For security reasons, waking up from sleep mode is accompanied by a password requirement. If this is not necessary, for example, for a home PC, you can disable it.

In the power management panel, go to the section highlighted in the following screenshot.

Setting up sleep mode in Windows 7

The arrow shows drop-down menus designed to select actions performed by the operating system when the sleep and power-off buttons are pressed. To configure the security settings, click on the hyperlink marked with the number “2”.

Setting up sleep mode in Windows 7

Move the radio button to the position indicated by the arrow in the screenshot and record the changes. As a result of these actions, the system will no longer require you to enter a password when you Wake up from sleep mode.

Setting up sleep mode in Windows 7

Command line

File hiberfil.sys located in the root directory of the system disk, it is intended for writing information from RAM when the computer goes into hibernation mode. Its size is 80% of the amount of RAM installed on the PC. If each session ends with a shutdown on a desktop computer, there is no need to use a file that takes up free space.

Run the command prompt in elevated privileges mode. Type “powercfg /h off” in the prompt bar and press Enter on the physical keyboard. Hibernation mode on the computer is disabled, and the file is saved in the following format: hiberfil.sys it is deleted from the hard disk.

If you change the order in which the PC is used, you can switch it back with the command “powercfg /h on”. The operation does not require a reboot. File hiberfil.sys it will be created immediately after pressing Enter.

In conclusion

In this article, our experts explained how to configure or completely disable sleep mode in the Windows 7 operating system.

You like? Share!

You may be interested: