Sleep and hibernate for Windows systems

Source: Internet
Author: User

The problem is that I bought a solid-state drive to reload the Win7 system, before the mechanical hard drive put power options off the monitor and the computer went into sleep mode both chose "never", the computer will not go to sleep state. I can remote my company's computer at home or in the field. But found the newly installed SSD computer set this power option, will still "sleep" (actually later check know, not sleep, is hibernation), resulting in my home suddenly found unable to remote company computer, is because Power options advanced here, hibernate default 360 minutes after entering hibernation. (Of course, if you take high-performance mode, hibernation is never the default)

Windows sleep and sleep differences:
Hibernate: Copy the machine's memory to the hard drive to form a hibernation file (can be viewed via browser input file:///C://, The name is Hiberfil.sys, the size of the space and the size of the memory, I and my colleague's computer is 8G physical memory, the file is 5.9G), and then turn off all hardware power, including power off the memory, at this time, the program, the network and so do not work. The next time you restore the status before the boot, you need to press the power button (boot will have the screen is recovering Windows system), after the memory read HDD inside the hibernation file to restore the state of the program before the boot.
Sleeping: Copy the machine's memory to the hard disk, form a hibernation file (name Hiberfil.sys), then turn off all other hardware except memory power, note that the memory power is not shut down, still running, but at this time the state is still the program, the network and so on do not work. The next time you restore the state before the boot, you need to press the power button (the screen is recovering the Windows system), and then directly read the memory without power, so the boot will be much faster than sleep. Then you will ask, since sleep after the boot direct reading is memory, why sleep and sleep as the first to survive a dormant file, is because of the prevention of sleep during the sudden external power outage, then if there is a power outage during sleep, then although the memory information is lost, but the hibernation file has memory backup, The system will still restore the pre-boot state, because this is the read hibernation file, boot speed at this time is not fast, and sleep mode boot is the same.
Figure 1 Hibernation file

Figure 2 Viewing the Windows machine sleep time setting

3. High-performance mode default hibernation is never


4. You can turn off the machine hibernation with the command powercfg-h off, but after using this command, the hibernation menu is gone.

5. Resume hibernation after using the powercfg-h on command

6. It is recommended not to use the command powercfg-h on/off, directly change the sleep time to 0 to realize never hibernate, so do not lose the menu.

7.powercfg-h off command, Hiberfil.sys system hibernation file disappears (in addition Hiberfil.sys system hibernation file, Pagefile.sys system virtual memory file)

Sleep and hibernate for Windows systems

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.