Bobcares

How to Install Hyper-V Role in Windows 10 VM under VMWare ESXi

by | Dec 7, 2020

To Install Hyper-V Role in Windows 10 VM under VMWare ESXi we need to provide Nested Virtualization which allows running a hypervisor inside a virtual machine running on another hypervisor.

As part of our Server Management Services, we assist our customers to get Hyper-V Role installed on Windows 10 VM under VMWare ESXi.

Today, let’s see some of its benefits and how our Support Engineers gets this done.

Some benefits of having Hyper-V inside of VMware

Running Hyper-V inside of VMware provides some great advantages for Lab environments, and we do not need any additional hardware or network gear for this.

Hyper-V inside of VMware also provides Easily provision and tear down Hyper-V hosts.

 

To Install Hyper-V Task in Windows 10 VM under VMWare ESXi

If we have a VMWare ESXi 6.0 virtualization host running a Windows 10 1709 virtual machine.

While trying to install a Hyper-V hypervisor role from the Control Panel -> Programs & Features -> Turn Windows features on or off, the option turns out to be inactive.

install hyper-v role in windows 10 vm under vmware esxi

This is because of the following reason:

Hyper-V cannot be installed: The processor does not have the required virtualization capabilities

To enable nested virtualization for the VM with Windows 10 guest OS, we need to open the virtual machine settings using vSphere web client (The VM must be off).

In the CPU section, check the option “Expose hardware-assisted virtualization to the guest OS” (This option is not available in the vCenter C# thin client).

The previous ESXi versions which do not have this option and in the desktop VMWare Workstation we can enable nested virtualization by adding the following options into the configuration file of the virtual machine(*.vmx).

hypervisor.cpuid.v0 = “FALSE”
mce.enable = “TRUE”
vhv.enable= "TRUE"

In the VMware vSphere client, these options can be added to the VM settings.

This can be done with the following steps:

  1. Go to Options
  2. Then take General
  3. And take the Configuration Parameters.

install hyper-v role in windows 10 vm under vmware esxi

Add two new rows with the same parameters (Add Row).

Then we should start the Windows 10 virtual machine and try to install the Hyper-V role again.

Now Windows will not detect that it is running inside another hypervisor, but a new error will appear:

Hyper-V cannot be installed: the processor does not support second level address translation (SLAT).

This means that besides supporting the virtualization, the VM processor must support SLAT technology,

SALT technology means virtualization of memory pages and their direct control by the guest OS.

In Intel terms, this feature is called Extended Page Tables (EPT), and AMD calls it Rapid Virtualization Indexing (RVI).

Make sure that the processor (vCPU) supports SLAT using the following command:

systeminfo

The command in Hyper-V Requirements section should return that there is no SLAT support:

Second Level Address Translation: No

Now we need to change the parameters of the virtual machine processor. In CPU/MMU Virtualization section of the vSphere web client, select Hardware CPU and MMU.

In vSphere Client, the same option is located in the CPU/MMU Virtualization section of the Options tab and called ‘Use Intel VT-x/AMD-V for instruction set virtualization and Intel EPT/AMD RVI for MMU virtualization’.

Start Windows 10 virtual machine and make sure that its processor supports SLAT. Now we can all components of the Hyper-V role and run other virtual machines inside the Windows 10 VM.

[Need further assistance? We are here for you!]

Conclusion

In short, we have seen how to install Hyper-V Role in Windows 10 VM under VMWare ESXi. And the steps followed by our Support Engineers to do this.

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

GET STARTED

var google_conversion_label = "owonCMyG5nEQ0aD71QM";

2 Comments

  1. Jeferson Silveira

    thanks, it solved my problem

    Reply
    • Hiba Razak

      Thanks for the feedback.We are glad to know that it worked for you ? .

      Reply

Submit a Comment

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

Never again lose customers to poor
server speed! Let us help you.

Privacy Preference Center

Necessary

Necessary cookies help make a website usable by enabling basic functions like page navigation and access to secure areas of the website. The website cannot function properly without these cookies.

PHPSESSID - Preserves user session state across page requests.

gdpr[consent_types] - Used to store user consents.

gdpr[allowed_cookies] - Used to store user allowed cookies.

PHPSESSID, gdpr[consent_types], gdpr[allowed_cookies]
PHPSESSID
WHMCSpKDlPzh2chML

Statistics

Statistic cookies help website owners to understand how visitors interact with websites by collecting and reporting information anonymously.

_ga - Preserves user session state across page requests.

_gat - Used by Google Analytics to throttle request rate

_gid - Registers a unique ID that is used to generate statistical data on how you use the website.

smartlookCookie - Used to collect user device and location information of the site visitors to improve the websites User Experience.

_ga, _gat, _gid
_ga, _gat, _gid
smartlookCookie
_clck, _clsk, CLID, ANONCHK, MR, MUID, SM

Marketing

Marketing cookies are used to track visitors across websites. The intention is to display ads that are relevant and engaging for the individual user and thereby more valuable for publishers and third party advertisers.

IDE - Used by Google DoubleClick to register and report the website user's actions after viewing or clicking one of the advertiser's ads with the purpose of measuring the efficacy of an ad and to present targeted ads to the user.

test_cookie - Used to check if the user's browser supports cookies.

1P_JAR - Google cookie. These cookies are used to collect website statistics and track conversion rates.

NID - Registers a unique ID that identifies a returning user's device. The ID is used for serving ads that are most relevant to the user.

DV - Google ad personalisation

_reb2bgeo - The visitor's geographical location

_reb2bloaded - Whether or not the script loaded for the visitor

_reb2bref - The referring URL for the visit

_reb2bsessionID - The visitor's RB2B session ID

_reb2buid - The visitor's RB2B user ID

IDE, test_cookie, 1P_JAR, NID, DV, NID
IDE, test_cookie
1P_JAR, NID, DV
NID
hblid
_reb2bgeo, _reb2bloaded, _reb2bref, _reb2bsessionID, _reb2buid

Security

These are essential site cookies, used by the google reCAPTCHA. These cookies use an unique identifier to verify if a visitor is human or a bot.

SID, APISID, HSID, NID, PREF
SID, APISID, HSID, NID, PREF