ESX Virtualization

VMware ESXi, vSphere, VMware Backup, Hyper-V... how-to, videos....

Nakivo Backup and Replication - #1 Backup solution for Virtual, physical, cloud, NAS and SaaS

Menu
  • Certification
      • VCP-DCV vSphere 8
          • vcp2024-125.
        • Close
    • Close
  • VMware
    • Configuration Maximums
    • vSphere
      • vSphere 8.0
      • vSphere 7.0
      • vSphere 6.7
      • vSphere 6.5
      • vSphere 6.0
      • Close
    • VMworld
      • VMware EXPLORE 2024
      • VMware EXPLORE 2023
      • VMware EXPLORE 2022
      • VMworld 2019
      • VMworld 2018
      • VMworld 2017
      • VMworld 2016
      • VMworld 2015
      • VMworld 2014
      • VMworld 2013
      • VMworld 2012
      • VMworld 2011
      • Close
    • Close
  • Microsoft
    • Windows Server 2012
    • Windows Server 2016
    • Windows Server 2019
    • Close
  • Categories
    • Tips – VMware, Microsoft and General IT tips and definitions, What is this?, How this works?
    • Server Virtualization – VMware ESXi, ESXi Free Hypervizor, VMware vSphere Server Virtualization, VMware Cloud and Datacenter Virtualization
    • Backup – Virtualization Backup Solutions, VMware vSphere Backup and ESXi backup solutions.
    • Desktop Virtualization – Desktop Virtualization, VMware Workstation, VMware Fusion, VMware Horizon View, tips and tutorials
    • How To – ESXi Tutorials, IT and virtualization tutorials, VMware ESXi 4.x, ESXi 5.x and VMware vSphere. VMware Workstation and other IT tutorials.
    • Free – Free virtualization utilities, ESXi Free, Monitoring and free backup utilities for ESXi and Hyper-V. Free IT tools.
    • Videos – VMware Virtualization Videos, VMware ESXi Videos, ESXi 4.x, ESXi 5.x tips and videos.
    • Home Lab
    • Reviews – Virtualization Software and reviews, Disaster and backup recovery software reviews. Virtual infrastructure monitoring software review.
    • Close
  • Partners
    • NAKIVO
    • StarWind
    • Zerto
    • Xorux
    • Close
  • This Web
    • News
    • ESXi Lab
    • About
    • Advertise
    • Archives
    • Disclaimer
    • PDFs and Books
    • Close
  • Free
  • Privacy policy

Windows Server 2016 Hyper-V on VMware

By Vladan SEGET | Last Updated: June 16, 2016

Shares

Windows Server 2016 TP4 was released few weeks back. Lots of new stuff is coming in the upcoming Windows Server 2016, including Hyper-V. In one of my previous posts we have showed the installation of installation of Windows Server 2016 and activation of Hyper-V role by using VMware Workstation. We were actually testing the hot-add/remove RAM for hyper-v VMs, which worked as expected. In that setup we had setup a New VM through VMware Workstation where we just checked the box to activate Intel VT-x. No editing of VMX files or other tweeks were necessary. Today we'll do a deployment of Windows Server 2016 Hyper-V on VMware ESXi. We will than install a Hype-V role on this Windows 2016 VM and then we'll create and run a VM inside. We will see that to achieve this only small tweek is necessary and no need to edit VMX configuration files or install full vCenter server including vSphere we client.

Note that this is a lab setup and we're doing this for testing purposes. We'll be using the latest ESXi Built – VMware-VMvisor-Installer-6.0.0.update01-3029758.x86_64.iso –  You can download a trial of vSphere or the free VMware hypervisor from VMware site here. Note that you don't need to install the whole vSphere suite (including vCenter) in order to test this.

Windows Server 2016 Hyper-V on VMware – The setup

Download the Windows Server 2016 TP4 > upload it to the datastore that is seen from the host where you'll be testing.

Create a new VM with Virtual Machine version 11

How to install Windows Server 2016 and Hyper-V role on VMware

Choose Microsoft Windows Server 2016 (threshold) by selecting the operating system of the VM. This is important and it defines the content of the VMX file.

How to install Windows Server 2016 Hyper-V nested on VMware

The next step choose NIC. VMXNET3 as adapter is fine and should have best performance. From the drop-down pick your network.

How to install Windows Server 2016 Hyper-V nested on VMware

Use the defaults for the next steps:

  • LSI logic SAS as a disk controller
  • Create new virtual disk
  • Size 40 Gb (or higher if you like) > Thin provision > Store with the virtual machine

How to install Windows Server 2016 Hyper-V nested on VMware

In the next step just we'll attach an ISO to boot from. Browse for the ISO of Windows Server 2016 on the datastore to which you have uploaded the ISO in the very first step of the guide.

How to install Windows Server 2016 Hyper-V nested on VMware

Then you can start the VM and do a normal (with GUI) install… The Desktop Experience option, as on the screenshot below.

How to install Windows Server 2016 Hyper-V on VMware ESXi

After finished the install and after the first login as an administrator, install VMware Tools in that VM…. Nothing new here so far…

How to install Windows Server 2016 Hyper-V on VMware ESXi

Shut down the VM (you're prompted for reboot I know….)

Now, you can have two options:

Option 1: You have vCenter and vSphere Web client use this to edit the VMs config Right click the Hyper-V 2016 TP4 VM > Edit Settings > CPU > Check the box Expose hardware assisted virtualization to the guest OS. 

How to install Windows Server 2016 Hyper-V on VMware ESXi

Option 2: You don't have vCenter and only using C# client. In this case we must do something different.

What If I don't have vCenter and vSphere Web Client?

If you don't have vSphere web client which is part of vCenter server components you can try the new ESXi host client! It's very very easy to setup and I'll show you this in few steps. The host client is very cool (currently in preview) and it allows us to modify an advanced CPU settings which are not visible through the vSphere C# client (the legacy one). It shall replace the vSphere C# (legacy client) in the future release of ESXi.

First – download the vib package from VMware labs here and put your host in maintenance mode (you'll need to stop the running VMs, if any).

Download the ESXi host client

Second – upload the package to a datastore visible from ESXi host. Use datastore browser for that.

ESXi host client install

Third – fire up an SSH session (Putty) and enter the single command:

esxcli software vib install -v /vmfs/volumes/<the_name_of_your_datastore>/esxui-signed.vib

so in my case the datastore's name is drobo

esxcli software vib install -v /vmfs/volumes/drobo/esxui-signed.vib

Install ESXi host client

Done!

Now you can connect to your host via ip adress or dns name, and edit the advanced CPU configuration there…

https://ip_of_esxi/ui

in our case

https://10.10.5.9/ui/

ESXi host client

And after the login we have access to our VMs running on the host and their config… Click the Virtual Machines section > select and click on the Hyper-V 2016 VM > Edit Settings.

How to install Windows Server 2016 Hyper-v on VMware ESXi

Then Expand the CPU section by clicking the small black triangle and check the Expose hardware assisted virtualization to the guest OS

How to install Hyper-V 2016 on VMware ESXi

As you can see, both web clients can do that. Additionally there is a third way by editing the VMX file.

So we have our VM ready so we can go forward, start the VM and add a Hyper-V role via Windows Server 2016 server manager. You do that via the menu Manage > Add Roles and Features …

How to install Hyper-V 2016 on VMware ESXi

So at the end we have our Windows Server 2016 TP4 running (1), and inside the VM we have hyper-v manager console (2) and there we have an XP VM running on the nested Hyper-V….-:)

How to install Hyper-V 2016 on VMware ESXi

As you can see, not much problems, but we still had to activate the advanced CPU config which is accessible through web client. In case you're using VMware Workstation this config is accessible through the VMware Workstation menu as I detailed in my previous post about testing Hot-Add/remove RAM in the VM.

Physical Box (running desktop OS …. Windows 8.1) > VMware Workstation VM running Server 2016 TP4 (named “2016TP4MAIN” ) with Intel VT-x activated

Wrap-up

Nested virtualization at VMware is very convenient as it's possible to run multiple nested hypervisors in a lab environment. Microsoft also recently announced nested virtualization for upcoming Windows Server 2016. It's not supported for production environments but for labs and learning purposes it's just ideal. With the SSDs prices dropping down fast it's very convenient for people learning towards VMware or Microsoft certification exams to build a homelab running either ESXi or VMware Workstation on the top of existing Windows or Linux system.

Shares
4.5/5 - (4 votes)

| Filed Under: Home Lab, How To, Windows Server 2016

About Vladan SEGET

This website is maintained by Vladan SEGET. Vladan is as an Independent consultant, professional blogger, vExpert x16, Veeam Vanguard x9, VCAP-DCA/DCD, ESX Virtualization site has started as a simple bookmarking site, but quickly found a large following of readers and subscribers.

Connect on: Facebook. Feel free to network via Twitter @vladan.

Comments

  1. Rene says

    December 18, 2015 at 1:08 pm

    I did test it double-nesting

    Host esxi 6.0 > Windows 2016 TP4 (hyper-v) > Windows 2016 Tp4 (hyper-v) > Windows 10 VM

    This way you can fully test containers and hyper-v containers on homelab.
    To enable hyper-v inside hyper-v you need to run the Microsoft powershell modules to allow nested hyper-v

    Performance numbers:

    Windows 2016 TP4 hyper-v 100%
    Windows 2016 TP4 hyper-v (2) 73%
    Windows 10 (3) 55%

    So compared to your first VM you loose 45% speed. Which was pretty impressive on a fast system you can really use this setup.

    • Vladan SEGET says

      December 18, 2015 at 2:02 pm

      Hi Rene,

      Great. Thanks for sharing this.

  2. Don Lemon says

    May 25, 2016 at 8:33 pm

    Nested Hyper v 2016 on esx 6 does not work if processor is AMD. Any thoughts?

    • Vladan SEGET says

      May 29, 2016 at 7:20 am

      No, as I only run Intel in the lab. Perhaps some of our readers?

    • alex x says

      November 13, 2018 at 2:46 am

      Agreed, I have a dual Opteron 4334 whitebox for ESXi 6.0 and while I can run a Hyper-V host as a VM, I cannot start any of the VM’s, it tells me the hypervisor is not running. Since these CPU’s are >2012 they should have AMD RVI feature (for SLAT) but it appears that maybe VMware does not support this properly, I have not been able to start any VMs

  3. Anthony says

    September 12, 2016 at 1:05 pm

    Microsoft only supports intel CPU’s for Hyper-V nesting.

  4. Daniel says

    January 11, 2017 at 4:54 pm

    I have wmware esxi 5.5 to which I add a with Windows Server 2016 Datacenter. I manage to add the Hyper V role but when I create a new wm inside Hyper v I am not able to start it. I receive the message that the hypervisor isn’t running.

    Any suggestions on how to trouble shoot?

    • Adrian says

      January 11, 2017 at 7:19 pm

      I get the same, anyone have any ideas?

    • Jonathan says

      January 20, 2017 at 8:11 am

      Also receiving the same error

    • Chris says

      May 12, 2017 at 10:07 am

      Did you ever manage to get the VM started?

      • Abhinav Gupta says

        June 13, 2018 at 3:56 am

        I get the same message, despite systeminfo showing all required things present for Hyper-V.

Private Sponsors

Featured

  • Thinking about HCI? G2, an independent tech solutions peer review platform, has published its Winter 2023 Reports on Hyperconverged Infrastructure (HCI) Solutions.
  • Zerto: One Platform for Disaster Recovery, Backup & Cloud Mobility: Try FREE Hands-On Labs Today!
Click to Become a Sponsor

Most Recent

  • Veeam Backup & Replication v13 Beta: A Game-Changer with Linux
  • What is Veeam Data Cloud Vault and how it can help SMBs
  • Nakivo Backup and Replication – Malware Scan Feature
  • Zerto 10 U7 released with VMware NSX 4.2 Support
  • XorMon NG 1.9.0 Infrastructure Monitoring – now also with Veeam Backup Support
  • Heartbeat vs Node Majority StarWind VSAN Failover Strategy
  • Vulnerability in your VMs – VMware Tools Update
  • FREE version of StarWind VSAN vs Trial of Full version
  • Commvault’s Innovations at RSA Conference 2025 San Francisco
  • VMware ESXi FREE is FREE again!

Get new posts by email:

 

 

 

 

Support us on Ko-Fi

 

 

Buy Me a Coffee at ko-fi.com

Sponsors

Free Trials

  • DC Scope for VMware vSphere – optimization, capacity planning, and cost management. Download FREE Trial Here.
  • Augmented Inline Deduplication, Altaro VM Backup v9 For #VMware and #Hyper-V – Grab your copy now download TRIAL.

VMware Engineer Jobs

VMware Engineer Jobs

YouTube

…

Find us on Facebook

ESX Virtualization

…

Copyright © 2025 ·Dynamik-Gen · Genesis Framework · Log in