如何在 Windows 7 中真正关闭休眠

Tom*_*son 34 windows-7 hibernate

我已经尝试了所有我能想到的关闭休眠的方法。

我在电源管理中禁用了它,使用powercfg -h off它几乎可以工作。它在我执行命令时工作,但是当我重新启动时,文件 hiberfil.sys 再次创建。

如何关闭休眠并永久删除 hiberfil.sys 文件?

har*_*ymc 23

您也可以尝试关闭混合睡眠:

  1. 在以管理员身份运行的命令提示符下,键入powercfg.exe /hibernate off
  2. 开始菜单 > 输入电源选项
  3. 在左窗格中,打开标有“计算机休眠时更改”的链接,然后打开“更改高级电源设置”链接。
  4. 在高级睡眠选项下,展开睡眠树并关闭混合睡眠
  5. 按确定。
  6. 重启。

图片


joe*_*rty 18

我不知道这是否重要,但我总是使用以下命令将其关闭:

powercfg -h off
Run Code Online (Sandbox Code Playgroud)

与:

powercfg /h off
Run Code Online (Sandbox Code Playgroud)


Tom*_*son 7

我问了这个问题并在这里得到了答案:Microsoft Answers。因此,这就是您如何真正找到使用干净启动再次打开休眠状态的方法。

1. Start msconfig.exe
2. On the general tab select "Selective startup" and uncheck "Load startup items".
3. On the services tab unselect all first. 
4. Runt the command "powercfg -h off" to turn off hibernation.
5. Reboot
6. If hibernation is still deactivated start msconfig.exe again and activate half of the services.
7. Repeat 5 and 6 until you find the service causing hibernation to be turned back on (don't forget to do step 4 if it is activated again).
Run Code Online (Sandbox Code Playgroud)

  • Autoruns 比 msconfig 更容易使用。 (2认同)

use*_*686 6

有些东西正在让它重新开启。

尝试运行Autoruns以查看启动时自动运行的内容。
是否有执行此操作的程序或计划任务?

如果您没有看到任何内容,请运行Process Monitor并启用引导日志记录(删除过滤器以避免过滤掉调用),然后查找“hiber”并查看/发布您找到的内容。


ash*_*med 6

最简单的方法是启用休眠的 Microsoft 工具。以及禁用休眠的 Microsoft 工具。您不必编写任何命令。请点击此链接。 启用和禁用休眠工具

启用和禁用休眠工具

Update to the previous answer:
 To make hibernation unavailable, follow these steps:
  * Click Start, and then type cmd in the Start Search box.
  * In the search results list, right-click Command Prompt, and then click Run as Administrator.
  * When you are prompted by User Account Control, click Continue.
  * At the command prompt, type powercfg.exe /hibernate off, and then press Enter.
  * Type exit, and then press Enter to close the Command Prompt window.

To make hibernation available, follow these steps:
 * Click Start, and then type cmd in the Start Search box.
 * In the search results list, right-click Command Prompt, and then click Run as Administrator.
 * When you are prompted by User Account Control, click Continue.
 * At the command prompt, type powercfg.exe /hibernate on, and then press Enter.
  * Type exit, and then press Enter to close the Command Prompt window.
Run Code Online (Sandbox Code Playgroud)

  • 该页面现在说运行`powercfg.exe /hibernate off` (2认同)