Sunday, March 1, 2015

Hyper-V and Hyper-V Adminsitrators Group

While VirtualBox is an excellent virtualization solution, it is a Type-2 Hypervisor, i.e. it has greater overhead.  The extra overhead can be a problem for Virtual Machines that facilitate demanding applications such as Visual Studio.  Virtual Machines with these demanding application would be better served by a Type-1 (aka Bare Metal) Hypervisor.

There are Type-1 Hypervisors available, but some can be very strict in hardware requirement; and some can be a bit tricky to setup.  Since Hyper-V comes with Windows 8.1, and is in the "Click and Install" software category, I decided to give it a spin.

Hyper-V is not installed in Windows 8.1 by default.  To add Hyper-V, go to "Programs and Features", click on "Turn Windows features on or off", select Hyper-V features and click OK.


With the default setup, only Administrators or user in the Administrators group can connect to the Hyper-V Server.  Since I have taken extra trouble to create a Normal User account for my day-to-day use, I do not want to ruin all my efforts because I want to use Hyper-V.  Luckily, you can allow a non-admin user to connect to Hyper-V server by adding the user to the Hyper-V Administrators group (rather than the Administrators group).  You can find this group by right clicking on Computer, selecting Manage. Under the "Local Users and Groups", you should be able to find the "Hyper-V Administrators" groups as shown below.  Add the local user who you are allowed to connect, and off you go.  The local user you have added can now connect to the Hyper-V server.



Further information on Hyper-V setup can be found at: https://technet.microsoft.com/en-gb/library/jj647785.aspx

No comments: