如何在具有Hyper-Vangular色的Windows Server 2012上启用hibernate?

我在笔记本电脑上安装了Windows Server 2012。 我需要一台服务器,因为我开发的软件需要专门在服务器版上进行testing。 Windows Server 2012文档说

在安装Hyper-Vangular色时,hibernate和hibernate不再被禁用。

这个变化增加了什么价值?

运行Hyper-V的计算机可以进入睡眠或hibernate模式。 这对于在笔记本电脑上运行Hyper-V的用户特别有用。

如何在具有Hyper-Vangular色的Windows Server 2012上启用hibernate?

我试过的东西

  • 修改hvboot的registry 。 我没有在registry中的hvboot文件夹,所以我手动添加它,重新启动

    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\hvboot] "Start"=dword:00000003 

    没有效果。

  • 在桌面上按下Alt + F4 ,不提供睡眠或hibernate

关闭选项

  • 停止service.msc (它指向C:\ Windows \ system32 \ vmms.exe)中的Hyper-V虚拟机pipe理服务,所有其他Hyper-V服务默认停止。

  • 以pipe理员身份执行

     powercfg.exe /hibernate on 

    这是输出

     Microsoft Windows [Version 6.2.9200] (c) 2012 Microsoft Corporation. All rights reserved. C:\Windows\system32>powercfg.exe /hibernate on Hibernation failed with the following error: The request is not supported. The following items are preventing hibernation on this system. An internal system component has disabled hibernation. Hypervisor C:\Windows\system32>powercfg.exe /a The following sleep states are not available on this system: Standby (S1) The system firmware does not support this standby state. An internal system component has disabled this standby state. Hypervisor Standby (S2) The system firmware does not support this standby state. An internal system component has disabled this standby state. Hypervisor Standby (S3) An internal system component has disabled this standby state. Hypervisor Hibernate An internal system component has disabled hibernation. Hypervisor Standby (Connected) The hypervisor does not support this standby state. The system firmware does not support this standby state. Hybrid Sleep Standby (S3) is not available. Hibernation is not available. The hypervisor does not support this standby state. Fast Startup Hibernation is not available. C:\Windows\system32> 

你链接到的文章是错误的。 这是一个预计将成为2012R2的一部分的function。 文章的这一部分应该被标记为需要R2。