VMware Cloud Community
mbmast
Enthusiast
Enthusiast

Cannot create Windows 10 VM under ESXi 6.5 running as a VM under Workstation 12

I'm running ESXi 6.5 as a VM under Workstation 12, which in turn is running under Windows Server 2012 R2 Essentials.  I am unable to create VMs under ESXi 6.5.

From the Navigator I click on Host.  From the Host configuration panel, I click on Actions and select Create/Register VM.  Then I select Create a new virtual machine and click on Next.  In the name field, I enter a name (Windows 10 Pro x64 Test).  For Compatability, I leave the setting at ESXi 6.5 virtual machine.  For Guest OS family, I select Windows, for Guest OS version, I select Microsoft Windows 10 (64-bit).  Then I click Next.  I have only one datastore, so that is displayed and automatically selected.  It has a capacity of 292.5GB, 291.55GB free, the type is VMFS5, Thin provisioning is set to Supported and Access is set to Single.  I click Next taking me to the Customize settings panel.  I leave all the Virtual Hardware settings at their defaults, except for Video Card which I change from Specify custom settings to Auto-detect settings.  I don't enter/change any VM Options.  Click Next.  This takes me to the Ready to complete panel.  I click Finish.

Then I get a VM config error message:  The VM configuration was rejected.  Please see browser Console.  The browser console states "Failed - The operation is not allowed in the current state."

When I Google this, I find a few YouTube videos with titles like "Installing Windows 10 under ESXi," but when I watch these videos, they are all running ESXi under vSphere, not under Workstation 12, and the browser interface looks completely different from what I see on my machine.  Also, what does "current state" refer to?  The instance of ESXi?  The instance of the VM I'm trying to create?  The datastore?  What state is whatever-the-error-message-is-referring-to in and what state should it be in?  I wish it would give more complete messages, like the X is in state Y and it needs to be in state Z.

6 Replies
daphnissov
Immortal
Immortal

Update your ESXi host client and try creating the VM via the HTML5 web client.

0 Kudos
bluefirestorm
Champion
Champion

Since you are using Workstation, you can also create the VM on the ESXi through Workstation.

Use the "Connect to Server" to connect the ESXi (it does not matter whether it is a physical ESXi or that ESXi itself is a VM). Once connected, you should be able to create VM on the ESXi from Workstation.

Make sure that the "Virtualize Intel VT-x/EPT or AMD-V/RVI" is checked for the ESXi VM CPU settings in the Workstation.

The CPU of the host machine also need to have Secondary Level Address Translation (SLAT); which is called Extended Page Table (EPT) in Intel CPUs or Rapid Virtualization Indexing (RVI) in AMD CPUs. Without EPT or RVI, you cannot run 64-bit guest OS VMs inside an ESXi VM.

0 Kudos
mbmast
Enthusiast
Enthusiast

I have updated the host client to version 1.24.  I am experiencing the same problem when using the remote client (via the Chrome browser).  I can successfully connect to the instance of ESXi running under Workstation 12 by selecting File (from Workstation 12) > Connect to server and supplying the IP address of the host (a local 192.168.blah.blah IP address), user id (root) and password.  This brings up a healthy looking Workstation user interface:

Workstation with ESXi client.png

But when I click on Create a new virtual machine, Workstation 12 quits/exits/dies.  The Workstation 12 UI just vanishes with no error message and the Workstation 12 process terminates (any running VMs remain and restarting Workstation 12 correctly shows those running VMs).

I have confirmed that "Virtualize Intel VT-x/EPT or AMD-V/RVI" is checked for the ESXi VM CPU settings in the Workstation.  I have NOT confirmed that the CPU of the host machine has Secondary Level Address Translation (SLAT); which is called Extended Page Table (EPT) in Intel CPUs or Rapid Virtualization Indexing (RVI) in AMD CPUs. I haven't confirmed this yet because I haven't got far enough for this to be an issue.  Since I can't create VMs within ESXi, I don't get as far as attempting to even install the guest OS.

So I'm still unable to create a VM within the ESXi host (running under Workstation 12).

0 Kudos
daphnissov
Immortal
Immortal

So you're talking about two different interfaces here: One is the ESXi embedded host client accessed purely via a web browser; the second is an API connection through Workstation. Are you saying if you connect to the host client you get the same failure? Can you share screenshots showing your attempt and the failure?

0 Kudos
bluefirestorm
Champion
Champion

If you have an Intel CPU, you can check the Intel ARK site (https://ark.intel.com) and see whether the CPU has Intel Virtualization with Extended Page Tables indicated Yes. EPT started with Nehalem CPU but there are exceptions.

https://ark.intel.com/Search/FeatureFilter?productType=processors&ExtendedPageTables=true

I am not familiar with AMD CPU family but I suppose you can refer to this

http://support.amd.com/en-us/kb-articles/Pages/GPU120AMDRVICPUsHyperVWin8.aspx

On the other hand, I also noticed that you have a number of VMs with OS X in their names.

It is a violation of both Apple EULA and VMware EULA to run macOS VMs on VMware Workstation.


Apple EULA requires that macOS runs only on Apple Hardware.

http://images.apple.com/legal/sla/docs/macOS1012.pdf#page=2&zoom=auto,-211,724

Running macOS on VMware Workstation means that the VMware Workstation you are using is cracked. This violates clauses 3.1(e), 3.1(h) and 3.4 of the VMware EULA

https://www.vmware.com/download/eula/universal_eula.html

Considering that the VMware Workstation you are using is cracked, it can easily because it is cracked/broken that is why it simply crashes when you click on the "Create a new virtual machine" in the ESXi VM tab.

mbmast
Enthusiast
Enthusiast

Because I'm running ESXi 6.5 under Workstation, I just decided to create a new Workstation VM that contained a fresh install of ESXi.    This turned out to be build 4887370.  So now I have two sibling ESXi guest OSes under Workstation.  The new one allowed me to create a Windows 10 VM with no problems.  Note, I have not yet installed Windows 10, I've just created a Windows 10 VM.  But this is further than I was able to get using the older instance of ESXi (build 4564106).

While it is true that I've hacked my install of Workstation 12 to accommodate Mac OS VMs, this hack does not appear to have caused the problem I was experiencing (as I have not re-installed Workstation).

0 Kudos