Ludovic Beauquel

Writing on ASP.NET, C#, .NET, Microsoft.

Toggling Hyper-V

leave a comment »


Disabling Hyper-V will allow you to get back power management features (sleep, hibernate), this is useful when you have installed Windows Server 2008 on a laptop.

To do so, type in an elevated command prompt:

sc config hvboot start= disabled

…and then restart the server.

Another option that will allow you to disable hyper-v and re-enable it at will is to execute the following command:

sc config hvboot start= demand

…and then restart the server.

This way, hyper-V will be deactivated by default, but you will be able to start it when needed, by executing the following command:

net start hvboot

However once started, it is not possible to shut it down – and have the power management features – without server restart.

Written by Ludovic Beauquel

July 22, 2011 at 6:57 am

Leave a comment