我有 Windows Server 2019。默认情况下,休眠功能处于禁用状态。为了启用它,我尝试了:
powercfg -h on
,powercfg -h -size 75%
, 和powercfg -h -size on
。
什么都没用。我还尝试编辑注册表:
HKLM\SYSTEM\CurrentControlSet\Control\Power
通过将 HibernateEnabled 设置为类型 REG_DWORD 并将值设置为 0。这并没有启用休眠模式。该命令powercfg \a
给出以下结果:
The following sleep states are not available on this system: Standby (S1) The system firmware does not support this standby state. Standby (S2) The system firmware does not support this standby state. Standby (S3) The system firmware does not support this standby state. Hibernate The system firmware does not support hibernation. Standby (S0 Low Power Idle) The system firmware does not support this standby state. Hybrid Sleep Standby (S3) is not available. Hibernation is not available. Fast Startup Hibernation is not available.
如何修复该问题并启用休眠模式?
答案1
请打开提升的 CMD 窗口并输入以下内容
powercfg.exe /休眠开启
它可能不会显示在电源选项下的开始菜单中,但应该已启用。您可以使用
关机/小时
此修复的源文章:如何在 Windows Server 2019 上启用休眠模式?
如果它允许您在 Windows Server 2019 实例上启用休眠功能,请对此表示赞同。