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

How to run Hyper-V on ESXi

By Vladan SEGET | Last Updated: September 2, 2013

Shares

How-to run nested Hyper-V 2012 Server on latest version of ESXi 5.1. If you want to test the latest Microsoft Hyper-V running as a VM on ESXi 5.1 free version, you might run into a following error: “Hyper-V cannot be installed: A hypervisor is already running.” when trying to install the Hyper-V role. Just follow this How to run Hyper-V on ESXi.

In ESXi 5.1 free version the tweak slightly changed (compared to ESXi 5.0) and it's much easier to install the Hyper-V role, to actually enable Hyper-V as a VM with the possibility to run second level nested 64bit VMs inside of that Hyper-V.

There is no need to SSH and tweak the /etc/vmware/config file in ESXi 5.1 free. I'm using the latest ESXi 5.1.0 build: 838463.  The only think which is necessary is to change single line in VMX configuration file of the Hyper-V VM.

Before starting, you have to make sure that your physical CPU is compatible:

– Intel Nehalem Generation (Xeon Core i7) or later processors or AMD Opteron Generatioin 3 (Greyhound) or later processors is used for the physical box.
– Verify that Intel VT-x or AMD-V is enabled in the BIOS so that hardware assisted virtualization is possible.

To be able to run nested Hyper-V on by using ESXi 5.1 free, you'll have to have CPU (EPT or AMD RVI) capable so you'll be able to run 64bits nested VMs.

When using the classic Windows vSphere client to connect to your Free ESXi 5.1 box, you'll just need to follow this quick guide.

To detail the whole process on setting up nested Hyper-V version 3 on VMware ESXi 5.1 Free:

ESXi - How to run nested Hyper-V01. Start creating new VM. Choose Microsoft Windows Server 2012 (64 bit) as a template when going through the assistant.

Before powering On go to the VM properties > Options tab > CPU/MMU Virtualization > Choose Use Intel VT-x/AMD-V.

Note: You will not have the option to create a VM hardware version 9 directly, so create the VM using hardware version 8 first , and then, in your vSphere client, do a right-click > and choose the option Upgrade Virtual Hardware.

This will upgrade to the latest Virtual Hardware version 9 (or rather vmx-09).

02. Now change one line in the VMX configuration file of that VM from:

  guestOS = "windows8srv-64" to guestOS = "winhyperv"

You can use the datastore browser > download that VMX file to your desktop > change the line as on the example above > upload it back to the datastore.

On the image bellow, the underlying ESXi 5.1 Free version installed on the physical box runs Hyper-V as a VM and then there is a second level nested Windows 7 x64 VM runing inside of that Hyper-V. And the Windows7 VM is very fast as well. (Booting in 16-18 sec) . I have to say that both VMs runs from Flash storage.

Hyper-V on ESXi 5.1 - Running Hyper-V as a VM on ESXi 5.1

Optionaly you can add following line to the VMX file which will prevent powering On this Hyper-V VM on a host which does not have CPU capable. But this is optional only, in the case you're using vCenter and have several hosts with capable and non CPU capable virtualization extentions. In case you're using standalone ESXi Free version you don't have to do that.

featMask.vm.hv.capable = “Min:1”

A quick quote from VMware communities forum message which explains this optional parameter:

With this setting, VC knows that the VM requires virtualized HV, and it won't let you try to power on the VM on a host that isn't capable of virtualized HV support. VC doesn't know thatguestOS=”winhyperv” implies the same constraint. Without this line, you'll get a more unfriendly failure if you try to power on the VM on a host that can't handle it.

Source: VMware Community Forum

This post ESXi 5.1 Free – How to run nested Hyper-V was pubished at ESX Virtualization at www.vladan.fr.  Feel free to contact me through Twitter or subscribe via RSS.

Shares
4.5/5 - (2 votes)

| Filed Under: How To Tagged With: Hyper-V on ESXi 5.1

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. Satish Sharma says

    October 14, 2013 at 5:41 am

    Hi,

    I am running ESXi 5 in Vmware workstation 9 in my laptop with 8 GB RAM.
    In Bios i have enabled intel VT.

    I cannot run 64 bit VM in ESXi.
    Do you have any solution for this.

    Regards
    Satish

  2. Dom says

    June 23, 2015 at 1:18 pm

    HI there
    everything works fine but when you try to install the integration services unde rth eVM vreated in hyper-v i get an error related guest os

    any idea?

    Dom

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