A good habit of putting the computer into sleep mode or hibernation mode allows you to reduce power consumption. But sometimes, after returning from lunch, we find that the PC with Windows 7 on board does not rest at all, but works in the normal order. In such cases thoughts of universal evil and conspiracy around you come to mind. Do not blame the whole office and domestic animals. In fact, the reason can be much more prosaic. Most likely, one of your computer’s devices or software is entitled to wake the operating system from sleep. In this material, you will learn how to calculate Windy’s “alarm clocks” and limit their right to spontaneous actions.
If you have not worked with the Windows command line yet, it’s time to get acquainted. Do not be afraid, you will not need abstruse skills, just the usual manipulations with the mouse and keyboard.
Work in the command line
Open the Windows search string and type in it cmd.exe.
The opened window of a prehistoric kind can shock you, take heart.
Type the following in the string: powercfg -lastwake
Pay attention to the blanks. Maximum accuracy is important here. As a result, you will be told the device that wakes up the system for the last time.
Not always the above command is triggered. So it was in our case, where the result of the team was a zero result.
But we do not stop, in our arsenal there is one more team.
Introduction to the line powercfg -devicequery wake_armed
Now you will learn about each of the devices that have the right to wake the computer from sleep mode. In our case, we received an answer Microsoft PS / 2.
Go to the device manager
Quick access to the device manager can be obtained all the same Windows search.
In our case, only the keyboard and mouse port has the right to remove the operating system from sleep mode. A double click on the corresponding device will open its properties.
If you want to prohibit the device from waking the computer, go to the Power Management tab and uncheck the corresponding option.
Be careful and do not wave your sword in all directions. Restricting absolutely all the devices in the right to wake up, you will one day not be able to return to work normally.
Restricting Software Rights
If you still have problems, they should be searched not in the hardware of the computer, but in the software. To do this, start setting up the current power plan.
Let’s turn to the additional power parameters.
On the tree structure, let’s move on to Sleeping and turn off the wake-up timers.
Now the software will not slow down your computer while resting.
The actions will take a small amount of time from you, but you will get to know the “hidden” corners of Windows 7 and you will be sure to leave the computer in sleep mode, saving on electricity.
It is likely that such manipulations can be successfully performed in other operating systems of the Windows family.
And how would you advise the readers of Lifhhacker to fight against the spontaneous release of the operating system from sleep?