How to disable hibernation in Windows 7

Source: Internet
Author: User
Tags sleep function

I. key combination win + R

Open cmd

Input powercfg-H off

Press enter.

Ii. Start -- run

Input powercfg-H off
Press enter.

Disk C instantly reduces capacity as large as memory

Iii. Sleep non-sleep function
Generally, notebook users may use this function. Sleep is to write all the data in the memory to the hard disk, then shut down the system, and write the maintained data back to the memory at the next boot, the advantage is that your ongoing work will be saved and will not disappear even after the power is cut off. This is why some people often say that you do not need to shut down for a few months.
Most people do not often use this function, but we pay for it with the same size as the memory, thanks! In fact, we can start it as needed and close it directly at ordinary times.
To enable or disable the sleep function, follow these steps:

Copy the following code, paste it to notepad, and save the file as disabled sleep. bat
@ Powercfg-H off
Copy the following code, paste it to notepad, and save the file as enabling sleep. bat
@ Powercfg-H on
Disable Windows 7 sleep and delete hiberfil. sys

Since Windows XP began to support acpiadvanced configuration and Power interface, Windows has a function called "sleep. When we send a sleep command to the computer, it will store all the current working states (that is, information in the memory) to a file in the hard disk and then shut down, when the next computer is started, the last working status before shutdown can be restored.

Generally, the file size required for sleep is the same as the memory size. The larger the memory size, the larger the file size occupied by sleep. But not everyone will use this function. In this case, sleeping files will waste hard disk space.

If the computer supports ACPI, the "Sleep" function is enabled by default in Windows 7.

 

In Windows 7, a file named "hiberfil. sys" in drive C is used to store the data in the memory during sleep. However, the properties of this file are hidden. Therefore, you must set "Show Hidden Files" in the folder options to see the hidden files. The current memory is calculated in GB, so the file size of hiberfil. sys follows the "Rising Tide 」

 

If you are not used to sleep your computer, you can disable this function and the C disk will free up a few GB of space.

How does one disable the sleep function of Windows 7 and delete hiberfil. sys?

Step 1. Enter cmd in the search bar of the Start menu, right-click CMD in the search result, and click Run as system administrator]

 

Step 2: Enter the following command in the Command Prompt window and press Enter:

Powercfg-H off

 

After the above actions are completed, restart the computer. hiberfil. sys will be automatically deleted after the computer restarts.

TIPS: What is the difference between sleep mode and sleep mode?

Honestly, I used to be confused about the difference between sleep and sleep. It may be that the meaning of Chinese characters is too close, which may lead to confusion.

Sleep mode is also called standby in Windows XP. When a computer enters sleep mode, it does not completely shut down, instead, the screen, hard disk, and other devices that are not in use are turned off to save the information in the memory with extremely low power consumption, achieving the goal of "saving energy and reducing carbon. Then, when we "wake up" the computer, we can recover the previous work in a very short time.

What is different from sleep in hibernate mode is that it will completely shut down the computer, but save the work content to the hard disk before it is shut down, windows 7 is hiberfil. SYS. You can restore the final work content from this file at next boot.
In Windows 7, how does one check whether sleep is disabled?
Hybrid sleep is enabled by default in Windows 7. I understand that hybrid sleep is a kind of neutralization between sleep and sleep. It writes the content in the memory to the hard disk and disables the power supply of all devices except the memory. The hybrid sleep mode can be achieved only when sleep is enabled. So how can I check if my computer is sleeping, and how can I check whether my computer is sleeping in a mixed or sleep state?

Some systems disable the sleep state through optimization. At this time, computers can only work in sleep state. View the advanced settings in the power options.

No options for mixed sleep.

You can run the powercfg-H on command to enable sleep. The computer is in mixed sleep state. To disable sleep mode, run the command powercfg-H off.

If you want to enable sleep and do not want to set the sleep mode to hybrid sleep, you can disable the mode.

In this case, the sleep option is displayed in the close menu of the Start Menu,

 

Detailed source reference: http://www.jb51.net/ OS /windows/66093.html

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.