Hyper-V

Installing and managing Hyper-V in VMware Workstation 11

Installing and managing Hyper-V in VMware Workstation 11

If you want to use VMware workstation to play around with Hyper-V or create a Hyper-V lab, this is fairly easy to get up and running. ย Let’s take a look at installing and managing Hyper-V in VMware Workstation 11.

Creating the virtual machine is straightforward in VMware workstation. ย Simply create a new VM. ย Make sure theย Version in the options of the VM is set toย Hyper-V (unsupported) as opposed to Windows Server 2012, etc. ย If you create the VM with Windows Server 2012 instead of the Hyper-V setting, when you attempt to install the Hyper-V role in the server itself, you will get the error:ย ย Hyper-V cannot be installed: A hypervisor is already running”ย as detailed in this VMware KB article:ย https://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2044876

hyper-v_01_a

After you change the Version, you will no longer receive the message.

Installing the role

  • Choose the Hyper-V role


hyper-v_01_b

  • Virtual switch configuration


hyper-v_02

  • Virtual machine migration settings


hyper-v_03

  • Here we choose the Default storage location for the VHD files and VM config files


hyper-v_04

  • Confirmation of role selection


hyper-v_05
hyper-v_06

  • I chose not to restart the server automatically, so I received the restart pending warning. ย Restart your server at this point if you didn’t auto restart.


hyper-v_07

 

Managing the Hyper-V server

Installing the server and role is by far the easiest steps to this process. ย If you are like me and are installing the Hyper-V server simply into a workgroup and want to use this as a lab machine whereby you administer the server via your host workstation or other management VM that isn’t in the same domain or workgroup as the Hyper-V server, then you need to do a few steps to be able to administer the box without errors.

If you attempt to connect to the Hyper-V server fresh after the role install, you will most likely receive the following error message:

hyper-v_08

You will see the error that is presented talks about the management service needs to be running and that you have to be authorized to connect to the server.

Hyper-V Remote Management Configuration Utility (HVRemote)

There is a really great commandline utility called Hyper-V Remote Management Configuration Utility (HVRemote) which does all of the heavy lifting gettingย a lab server ready to connect via a workgroup client or a client in a different domain.

Take a look at the utility documentation here as well as download it: ย https://code.msdn.microsoft.com/HVRemote

After adding your remote user to the server itself for management purposes, you should be able to connect to the box remotely using the Hyper-V Manager.

hyper-v_09

You should also now have access to the functions of Hyper-V such as Import Virtual Machine, Hyper-V Settings, Virtual Switch Manager, etc. ย Also, most importantly access to New > Virtual Machine.


hyper-v_10

Subscribe to VirtualizationHowto via Email ๐Ÿ””

Enter your email address to subscribe to this blog and receive notifications of new posts by email.



Brandon Lee

Brandon Lee is the Senior Writer, Engineer and owner at Virtualizationhowto.com, and a 7-time VMware vExpert, with over two decades of experience in Information Technology. Having worked for numerous Fortune 500 companies as well as in various industries, He has extensive experience in various IT segments and is a strong advocate for open source technologies. Brandon holds many industry certifications, loves the outdoors and spending time with family. Also, he goes through the effort of testing and troubleshooting issues, so you don't have to.

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.