2011-10-18 12:36:00 +0000 2011-10-18 12:36:00 +0000
33
33
Advertisement

如何真正关闭Windows 7中的休眠?

Advertisement

为了关闭休眠,我能想到的都试过了。

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

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

Advertisement
Advertisement

答案 (9)

23
23
23
2011-11-15 09:35:29 +0000

你也可以尝试关闭Hybrid Sleep:

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

17
17
17
2011-10-18 12:41:01 +0000

我不知道这是否重要,但我总是用以下命令关闭它。

powercfg -h off

而不是:

powercfg /h off
7
Advertisement
7
7
2011-12-21 08:05:22 +0000
Advertisement

我问了这个问题,在这里得到的答案。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).
```。
6
6
6
2011-11-14 19:58:03 +0000

有什么东西_正在把它重新打开。

尝试运行 自动运行 看看启动时有什么在自动运行。
是否有一个程序或计划任务会这样做?

如果你没有看到任何东西,运行 进程监控 并启用启动日志(删除过滤器以避免过滤掉调用),然后查找 “hiber” 并查看/发布你的发现。

6
Advertisement
6
6
2014-09-10 19:41:05 +0000
Advertisement

最简单的方法是微软工具启用休眠.微软工具禁用休眠.你不需要写任何命令.只需要按照这个链接启用和禁用休眠工具

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.

4
4
4
2011-11-19 10:33:23 +0000

Hiberfil.sys hidden system file位于安装操作系统的驱动器的根文件夹中。安装Windows时,Windows Kernel Power Manager会保留这个文件。这个文件的大小大约等于计算机上安装了多少随机存取内存(RAM)。

Hiberfil.sys设置为hybrid sleep时,计算机使用turned on文件在硬盘上存储系统内存的副本。如果该文件不存在,计算机就无法休眠。

请关注这个链接的完整细节,因为微软支持

使用下面的命令打开休眠

powercfg.exe /hibernate off

并从Advanced Power Settings关闭混合睡眠设置。请看@harrymc的回答,知道在哪里做。

如果你有一些问题与Windows,然后使用Microsoft Fixit.它是不错的实用程序。我在我的正版Windows XP操作系统上使用这个。

2
Advertisement
2
2
2011-11-15 10:24:42 +0000
Advertisement

只要删除hiberfil.sys中的C:文件即可。作为一个额外的好处,你也会节省几GB的磁盘空间!

2
2
2
2014-11-24 21:36:10 +0000

要使休眠不可用,请按照以下步骤操作。

  • 单击 “开始",然后在 "开始搜索 "框中输入cmd。
  • 在搜索结果列表中,右键单击命令提示符,然后单击以管理员身份运行。
  • 当用户账户控制提示你时,单击 "继续"。
  • 在命令提示符下,键入 powercfg.exe /hibernate off,然后按 Enter 键。
  • 键入 exit,然后按 Enter 键关闭命令提示符窗口。

要使休眠可用,请遵循以下步骤。

  • 单击开始,然后在开始搜索框中键入cmd。
  • 在搜索结果列表中,右键单击命令提示符,然后单击以管理员身份运行。
  • 当用户账户控制提示你时,单击 "继续"。
  • 在命令提示符下,键入 powercfg.exe /hibernate on,然后按 Enter 键。
  • 输入exit,然后按Enter键关闭命令提示符窗口。
0
Advertisement
0
0
2017-02-23 08:31:26 +0000
Advertisement

我创建了快捷方式,可以不休眠地关闭它。

shutdown /s /t 0

如何创建快捷方式指令:

Advertisement

相关问题

3
28
13
7
5
Advertisement