Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

This question already has an answer here:

I have Windows Server 2012 installed on a laptop. I need a server because I develop software that I need to test specifically on a server edition. Documentation for Windows Server 2012 says

Sleep and hibernate are no longer disabled when the Hyper-V role is installed.

What value does this change add?

Computers running Hyper-V can be put into sleep or hibernate mode. This is particularly useful to users who are running Hyper-V on laptops computers.

Question

How to enable hibernation on Windows Server 2012 with Hyper-V role?

Things I tried

  • Modify registry for hvboot. I did not have hvboot folder in the registry, so I added it manually, rebooted

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

    No effect.

  • Pressed Alt+F4 on desktop, no Sleep or Hibernate available

shut down options

  • Stop Hyper-V Virtual Machine Management service in service.msc (which points to C:\Windows\system32\vmms.exe), all other Hyper-V services were stopped by default.

  • Executed as Administrator

    powercfg.exe /hibernate on
    

    This is the output

    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>
    
share|improve this question

marked as duplicate by MDMarra, EEAA, Michael Hampton Aug 13 '13 at 14:19

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

    
+1 for a well written question –  Dan Aug 13 '13 at 12:39
add comment

1 Answer 1

up vote 3 down vote accepted

The article you linked to is in error. This is a feature expected to be a part of 2012R2. That section of the article should be labeled as requiring R2.

share|improve this answer
    
I wonder what will happen to the guests when the host goes into hibernation... –  Ryan Ries Aug 13 '13 at 12:40
    
@RyanRies from the article: "When entering sleep or hibernate Hyper-V will save running virtual machines. When coming out of sleep or hibernate Hyper-V will attempt to restart the virtual machines that were running before entering sleep or hibernate." –  longneck Aug 13 '13 at 13:13
    
This feature exists in Client Hyper-V for Windows 8, but not in Server 2012. No idea what it's doing in that Technet article, as it's clearly erroneous. –  Michael Hampton Aug 13 '13 at 14:19
    
@MichaelHampton The article was updated to include details for R2. When they made the change, they should have noted the R2 requirement for that feature. –  longneck Aug 13 '13 at 14:34
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.