Disable Windows 7 sleep, delete hiberfil. sys, and return it to drive C.

Source: Internet
Author: User
Tags sleep function

SinceWindows XPWindows {
Tagshow (Event)
} "> The system is called 「Sleep. When we pair {
Tagshow (Event)
} "> When the computer sends a sleep command, it will put all the current working states (that is {
Tagshow (Event)
} "> Data in memory) stored {
Tagshow (Event)
} "> {
Tagshow (Event)
} "> File and shut down. When the computer starts up next time, it can restore the last working status before shutdown. 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,Windows 7The "Sleep" function is enabled by default.
  

In Windows 7, the C drive is named 「Hiberfil. sysTo 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,In the Command Prompt window, enter the following command and then 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"In Windows XP, also known as" standby ", when the computer enters sleep mode, it will 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.
Hibernate Mode)Unlike sleep, it completely shuts down the computer, but saves work content to the hard disk before shutdown. In Windows 7, it is hiberfil. sys. At next boot, you can restore the final work content from this file.

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.