Install Windows Server 2016 Hyper-V on VMware ESXi

4

It's been awhile that I wrote an article on VMware since I am occupied with the 70-533 Azure series, which you can find here if you are interested.

I had to recently build a few Hyper-V Virtual Machines in my lab setup since I was testing the Rubrik software. I have a single physical ESXi and I am going to running Hyper-V on VMware ESXi.

In this example, I am using a Windows Server 2016 as my host, so the steps might slightly vary for an older version of Windows Server by editing the vmx file.

So let us start from scratch. I am connected to my physical ESXi host using the Embedded Host Client since this is recommended by VMware and the C# is deprecated with ESXi 6.5 officially, but I still find it to work.

You can connect to the Embedded Host Client by using any browser and connecting to the below URL.

https:///<IP address of ESXi>/ui

Once connected, click on Virtual Machines section and select Create/Register VM.

Install Windows Server 2016 Hyper-V on VMware ESXi

This will bring the New Virtual Machine Wizard. Select Create a New Virtual Machine option and select Next.

Install Windows Server 2016 Hyper-V on VMware ESXi

Provide a name for the Virtual Machine and select the below options.

  • Compatibility: Latest version of ESXi
  • Guest OS Family: Windows
  • Guest OS Version: Microsoft Windows Server 2016 (64 bit)

Click Next.

Install Windows Server 2016 Hyper-V on VMware ESXi

Select the datastore on which this VM will reside and click Next.

Install Windows Server 2016 Hyper-V on VMware ESXi

Select the default configs for now and make sure that the disk provisioning type is Thin since you want to save space on the datastore.

Also, I am attaching the Windows Server 2016 ISO image in this step by attaching the Datastore ISO image that I have already uploaded to one of my datastores.

Click Next.

Install Windows Server 2016 Hyper-V on VMware ESXi

Review the options that you have selected and click Finish to deploy the VM.

Install Windows Server 2016 Hyper-V on VMware ESXi

Once the VM is deployed, click on Edit Settings.

Expand the CPU section as shown below and Check the box Expose hardware-assisted virtualization to the guest OS. 

Install Windows Server 2016 Hyper-V on VMware ESXi

Boot the Virtual Machine and make sure that you deploy the Datacenter Edition with the GUI since we are trying to learn Hyper-V concepts by deploying this VM.

Install Windows Server 2016 Hyper-V on VMware ESXi

Go through the standard Windows installation process. Once done, install the VMware Tools as a best practice and in my case, I have assigned a static IP address and also joined this machine to my AD Domain.

Once all of this done, Click on Add Roles from Server Manager and select the Hyper-V role and Include the Add Features option as well which will help us with Management of the Hyper-V server as shown below.

 

Install Windows Server 2016 Hyper-V on VMware ESXi

Go through the process of installing the Role and reboot the Virtual Machine.

Once the VM is rebooted, select the Hyper-V Manager from the Tools section of the Server Manager.

As seen below, you will now be able to deploy VM inside the nested Hyper-V Virtual Machine. Talk about VM Inception! 😀

Install Windows Server 2016 Hyper-V on VMware ESXi

Now that I will be exploring Hyper-V, expect some articles on this topic.

I hope this has been informative and thank you for reading!

Share.

About Author

I am Adil Arif, working as a Senior Technical Support Engineer at Rubrik as well as an independent blogger and founder of Enterprise Daddy. In my current role, I am supporting infrastructure related to Windows and VMware datacenters.

4 Comments

  1. The way you are explaining step by step its really kudos bro. Could you please deeply explain how to create nested vm’s in Hyper-V.

    Thank you

  2. I was told by my consultant vendor to NOT do this, “Putting one hyper-visor on top of another is a bad idea.”.
    Just wanted to know your opinion if you did/ or are doing for a production environment? or it this only for testing and experimental systems?

Leave A Reply