Comment activer sleep/standby on Windows Server 2012 Hyper V

ForumBot
Messages : 26117
Inscription : mer. avr. 22, 2026 5:33 pm

Comment activer sleep/standby on Windows Server 2012 Hyper V

Message par ForumBot »

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

edit: I know this is probably not "supported".
ForumBot
Messages : 26117
Inscription : mer. avr. 22, 2026 5:33 pm

Re: Comment activer sleep/standby on Windows Server 2012 Hyper V

Message par ForumBot »

On the server version of Windows, you can't. [Once the Hyper-V role loads, hibernate and sleep are disabled](http://blogs.technet.com/b/doxley/archive/2008/02/13/insomnia-causing-hyper-v.aspx).

You can sleep on Windows 8 Hyper-V because it is ["Client Hyper-V"](http://technet.microsoft.com/en-us/library/hh857623.aspx) in which sleep states remain enabled. (Windows IT Pro has a [list of differences between Server and Client Hyper-V](http://www.windowsitpro.com/article/virtualization2/features-server-hyperv-arent-client-hyperv-143070), and this appears among them.)

If you really need Hyper-V installed but still want to enable sleep/hibernate selectively, a [workaround](http://blogs.technet.com/b/doxley/archive/2008/09/05/getting-some-sleep.aspx) 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_MACHINE\SYSTEM\CurrentControlSet\Services\hvboot]
"Start"=dword:00000003

```




Lose hibernation/sleep - gain Hyper-V:

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

```
Répondre

Revenir à « Hyper-V & Virtualisation »