Win7 hibernate on and off methods command line operation and graphics combined mouse action

Source: Internet
Author: User
Tags administrator password

How to open and close Win7 hibernationFrom the Start menu, find "accessories → command Prompt", manually enter the following command: Powercfg-a, from here can be clearly seen, the computer is to support hibernation, the display "hibernation is not enabled." Still operating at the command prompt,


Start Hibernation method: Manually type the following command:


Powercfg-hibernate on (off is powercfg-hibernate off)


The command executes immediately after execution, no need to reboot the system, execute the "powercfg-a" command again, this will prompt the current system to support hibernation, mixed sleep.


At this point the Open win Start menu may have only one sleep button and no Sleep button, which is called hybrid hibernation ... Then how to find the Sleep button ...


Open Control Panel-Power Options-Choose power Plan-balance/ENERGY/performance-change plan settings-change advanced power settings-sleep-allow hybrid sleep-change to off. Save exit.
Then you can see a "Sleep" button. Ha ha.


Because hybrid sleep was turned on, the so-called mixed sleep is the combination of standby and hibernation. If you mix sleep after the computer constantly electricity, the essence is on standby, if power off, the essence is sleep. When you turn off mixed sleep, the sleep button is the real standby, which still maintains the power to the memory, and the sleep mode that even the memory is powered off is out.


figuring out Win7 sleep and sleep more efficiently with computers


I believe many friends have begun to experience windows 7, we leave the computer often let the computer into sleep mode in order to get back to the computer quickly into the working state to achieve energy-saving purposes. In Windows7, there are three modes of sleep, sleep and mixed sleep, how do we choose to make our computer more energy-efficient?


View power-supported sleep modes


If other factors are excluded, how do we know which sleep states our computers support? The method is simple and you do not need to reboot into the BIOS setup program for viewing, just by typing a few commands.

Mode 2:

From the Start menu, find "accessories → command Prompt", right click to select "Run as Administrator", you may need to enter the administrator password or UAC confirmation, manually enter the following command: Powercfg-a, from here can be clearly seen, the computer is to support hibernation, but never enabled. Still at the command prompt to operate, manually type the following command: Powercfg-hibernate on, the command immediately after execution can take effect, do not need to restart the system, to execute the "powercfg-a" command, this will prompt the current system has supported hibernation, mixed sleep. If we go back to the control Panel "hardware and sound → power options → system settings" and go to the Advanced Settings window, we can look at the time setting options for hibernate in the "Sleep" section.


Turn on power save mode from the command line


Efficiently manage hibernation files to avoid wasted disk space


Whether hibernation or hybrid hibernation is enabled, a file named Hiberfil.sys is automatically generated at the root of the system partition, which is equal to the capacity of the physical memory, and even if a dual operating system is installed, deleting the file is not an easy task ...


We can follow the steps below to clean up sleep files under the Windows 7 system:


① from the Control panel, go to "hardware and sound → Power options", we need to disable sleep here. In the left task pane, select Change Computer sleep time, and the Edit Schedule Settings dialog box pops up, setting the option "Put your computer to sleep" to "never", and note that if you are using a laptop, you can set the two options like "Battery" and "Power on".


② Clean Disk


Go to the Computer window, right-click on the disk letter of the Windows 7 operating system, open the Properties window and click the Disk Cleanup button in the lower right corner, the system will start to automatically scan the system, and then open the Disk Cleanup dialog box, where you can see the "Hibernation File Cleaner", Select this project and other items that need to be cleaned, and then click the OK button in the lower right corner, and a confirmation dialog pops up to clean up the related items again.


Set a password to keep your computer safe during sleep


Go to the Control Panel, jump to "hardware and sound → Power Options", select "Require a password on wakeup" In the task pane on the left, and select "Require password (recommended)" here, which will take effect after confirmation, if you have already created a strong security password for your account. Later, every time you need to wake from sleep, we must type the correct password in addition to pressing the power button to prevent unauthorized access. Setting a password is essential if you want to protect your data and privacy.





Under normal circumstances, if the computer goes to sleep, the network connection is automatically disconnected. The download task is also temporarily suspended. However, we often want to continue the download process in sleep, for the Windows 7 operating system, only need to manually enable the low-power "leave" mode, you can achieve the above requirements:


Open Registry Editor with Administrator privileges and go to the Hkey_local_ Machinesystemcurrentcontrolsetcontrolsession managerpower "Location, manually create a" DWORD (32-bit) "value named" awaymodeenabled "in the right pane, Double-click Assign Value "1" (16 binary).


Log off or restart the system, now we can normally use thunder or express to perform the download task, even if the computer goes to sleep, the network will continue to connect, download tasks will be normal execution, is not very energy-saving? Of course, because the computer's CPU, memory, hard disk and other major hardware in the left mode continue to be in normal working condition, so the amount of power saved can be said to be very small, the effect is not very significant, so if you are not ready to continue using the Windows 7 Leave mode, you can go to the Registry Editor except " Awaymodeenabled "key value.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.