Share via


Hyper-V launch failed with error-41″VMX not present or enabled”

Today I have come across an issue where I’m unable to Install Hyper-v role on Windows Server 2008 r2

 

http://www.techrid.com/wp-content/uploads/2014/10/hyper-v-1.png?w=300

 

Steps that were performed :

 

Uninstalled the Hyper-v and Installed still the same.

 

Checked the Services and found that all the three services are in Stopped state.

 

Also checked for the services Windows Update if that is also one of the culprit.

http://www.techrid.com/wp-content/uploads/2014/10/hyper-v-2.png?w=300

Turned on the all the Hyper-v Services and Windows Update service.

 

Tried to install still no go and this time got some strange event ID’s.

in the Server Manager.

 

This time I’ve found few Events like “Error 41″

 

Log Name: System

Source: Microsoft-Windows-Hyper-V-Hypervisor

Date: 9/30/2014 4:51:34 PM

Event ID: 41

Task Category: None

Level: Error

Keywords:

User: SYSTEM

Computer: Techrid

Description:

Hyper-V launch failed; Either VMX not present or not enabled in BIOS.

 

http://www.techrid.com/wp-content/uploads/2014/10/hyper-v-3.png?w=300

 

So with this error in the fraction of seconds I have restarted the Machine and jumped in Bios.

 

And confirmed that “Intel(R) Virtualization Technology” was in Disabled state.

 

Enabled the feature in the Advanced Tab

 

Advanced > Advanced Processor Options. Enable “Intel(R) Virtualization Technology” and rebooted the server.

 

This time after restarting the server I have seen that Hyper-v Role is Installed perfect with “No Errors”

 

And to be in safer side enabled the start type “Hypervisor launch type” to Auto using the command “BCDEdit /set”

 

BCDEdit /set command to configure specific boot entry elements, such as kernel debugger settings, memory options, or options that enable test-signed kernel-mode code or load alternate hardware abstraction layer (HAL) and kernel files.
For More Info on bededit:

http://msdn.microsoft.com/en-in/library/windows/hardware/ff542202%28v=vs.85%29.aspx

 

The command that I have used to bring this to auto:

http://www.techrid.com/wp-content/uploads/2014/10/hyper-v-4.png?w=300

Ran the command and the output was successful.

http://www.techrid.com/wp-content/uploads/2014/10/hyper-v-5.png?w=300

 

http://www.techrid.com/wp-content/uploads/2014/10/hyper-v-6.png?w=300

 

Now Hyper-v is up and running without any Issues.

Regards,
Praveen Kumar