Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Failed to start the virtual machine because one of the Hyper-V components is not running

Posted on 2014-12-23
9
Medium Priority
?
15,010 Views
2 Endorsements
Last Modified: 2016-06-26
I have successfully connected to a new build Hyper-V 2012 R2 server and created a VM. When I try to start the VM I get the message "Failed to start the virtual machine <vmservername> because one of the Hyper-V components is not running"
2
Comment
Question by:ClintonK
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
9 Comments
 
LVL 39

Expert Comment

by:Philip Elder
ID: 40515915
Are the virtualization acceleration settings in the BIOS turned on? Reboot the server and verify that all virtualization services are enabled.

You could force-start the Hyper-V service and check the Event Logs as well.
0
 

Author Comment

by:ClintonK
ID: 40516112
Do you mean the BIOS settings in the Hyper-V server or the VM?
0
 
LVL 5

Accepted Solution

by:
Arjun Vyavahare earned 2000 total points
ID: 40516199
Hi,

To fix this error you have to edit the VMX configuration file. This VMX configuration file is located at your Virtual Machine's path.
Before edit the configuration file Shutdown the Hyper-V host (Windows Server 2008/2008 R2/2012/2012 R2) from VMWare.

and

Open the VMX file with text editor such as Notepad. And enter the below line at end of the notepad.

hypervisor.cpuid.v0 = "FALSE"

I hope this will resolve your issue.

Regards,
Arjun
1
NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

 
LVL 39

Expert Comment

by:Philip Elder
ID: 40517865
On the physical host. If the virtualization settings are not turned on Hyper-V services will not start.
0
 

Author Comment

by:ClintonK
ID: 40524282
It's not quite a physical host. It's a virtual machine running under VMware ESXi 5.5.0
0
 
LVL 39

Expert Comment

by:Philip Elder
ID: 40525002
Unless VMware has some sort of magic to pass the host's virtualization acceleration features through to that VM it is not going to happen.

Hyper-V as a rule needs to run on bare metal with virtualization acceleration features enabled in the BIOS.
0
 

Author Closing Comment

by:ClintonK
ID: 40529468
This indeed was the solution once I had worked out where the VMX file lived. The Hyper-V host is a virtual server on a ESXi server so it was the VMX file for the server there. I built the Hyper-V server, closed it down and then removed it from the vSphere inventory. I then edited the file by copying it out of the datastore , editing it with the line hypervisor.cpuid.v0 = "FALSE" and the copied it back and added the server back into vSphere. Once I had done this the servers would start OK.
Servers within servers within servers was getting me confused!
0
 

Author Comment

by:ClintonK
ID: 40541354
In addition to
hypervisor.cpuid.v0 = "FALSE"
it is also necessary to add
vhv.enable = "TRUE"
0
 

Expert Comment

by:Desert Warrior_DZ
ID: 41675140
@Dear arjun,

the solution working perfect.

@ClintonK,

when u add  vhv.enable = "TRUE" will give you error in the possibility of running the server at all.
did u check it dear. plz advice
and what the use of this instruction.
0

Featured Post

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

OfficeMate Freezes on login or does not load after login credentials are input.
How to deal with a specific error when using the Enable-RemoteMailbox cmdlet to create a mailbox in the cloud-based service, for an existing user in an on-premises Active Directory.
In this Micro Tutorial viewers will learn how to use Windows Server Backup to create full image of their system. Tutorial shows how to install Windows Server Backup Feature on Windows 2012R2 and how to configure scheduled Bare Metal Recovery backup.…
In this Micro Tutorial viewers will learn how to use Boot Corrector from Paragon Rescue Kit Free to identify and fix the boot problems of Windows 7/8/2012R2 etc. As an example is used Windows 2012R2 which lost its active partition flag (often happen…

660 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question