How to enable sleep/standby on Windows Server 2012 Hyper V

Fowl asked:

I know it’s possible because sleep works in HyperV under Windows 8.

edit: I know this is probably not “supported”.

My answer:


On the server version of Windows, you can’t. Once the Hyper-V role loads, hibernate and sleep are disabled.

You can sleep on Windows 8 Hyper-V because it is “Client Hyper-V” in which sleep states remain enabled. (Windows IT Pro has a list of differences between Server and Client Hyper-V, and this appears among them.)

If you really need Hyper-V installed but still want to enable sleep/hibernate selectively, a workaround is available which will disable the Hyper-V role from loading. When it’s not loaded, you can put the machine to sleep/hibernate it. You need to reboot after applying these registry keys.

Gain hibernation/sleep – lose Hyper-V:

[HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServiceshvboot]
"Start"=dword:00000003

Lose hibernation/sleep – gain Hyper-V:

[HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServiceshvboot]
"Start"=dword:00000000

View the full question and answer on Server Fault.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.