Enable Hibernation and Sleep in Windows Server 2008 R2

Posted: June 5, 2010 in Windows

Normally when you install Hyper-V role in your server, it will disable sleep and hibernate facilities provided by Windows.

But you can avoid this by doing some alterations to Windows.

Hibernate and seep features are disabled when the Hyper-V service is started, so you can regain hibernate and sleep by changing the start parameter of the Hyper-V service (hvboot).

To change,

1. Open the registry editor by typing “regedit” in the run window.

Locate the key,

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\hvboot and then set the start value of it to 3.

Start property can hold the following values.


Boot (Not supported by hvboot.)






On Demand



Now you will have the hibernate and sleep facilities until you start the Hyper-V services in your machine.
2. Type the following command in a command prompt window with administrative rights.
sc config hvboot start= demand
Note that there needs to be a space between the = sign and the word demand.
  1. André says:

    Great post!

    You forgot about one thing though. Once one is able to enable sleep-mode the hypervisor service becomes disables. In order to restart the hypervisor service, one must enter into the command line:

    net start hvboot

    Once this is done then sleep mode and hyper-v should work without error.

    Thanks for the tips, and keep up the good work!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s