Ludovic Beauquel

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

Archive for July 2011

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

SharePoint 2010 Development Environment

leave a comment »

Here is my SharePoint development environment configuration set up in a virtual machine:

  • Windows Server 2008 R2 Enterprise 64bits SP1
    • Domain name: dev.internal
    • Machine name: sp2010
  • Visual Studio 2010 Premium SP1
    • Visual C#
    • Visual Basic .NET
  • Microsoft Office Professional Plus 2010 64 bits SP1
  • Microsoft SharePoint Designer 2010 64 bits
  • Microsoft SQL Server Enterprise 2008 R2 64 bits
    • Analysis Services
    • Reporting Services
  • Microsoft SQL Server Management Studio
  • Microsoft SharePoint Server 2010 Enterprise
  • Windows PowerShell ISE

For productivity purpose I have tuned the following settings:

  • Shut down tracker disabled
  • “14” environment variable pointing to “C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14”
  • “C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\BIN” added to PATH
  • Central admin address: http://sp2010:40000

Written by Ludovic Beauquel

July 21, 2011 at 10:12 pm

Posted in SharePoint