Today I have come across an issue where I’m unable to Install Hyper-v role on Windows Server 2008 r2
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.
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
Date: 9/30/2014 4:51:34 PM
Event ID: 41
Task Category: None
Hyper-V launch failed; Either VMX not present or not enabled in BIOS.
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:
The command that I have used to bring this to auto:
Ran the command and the output was successful.
Now Hyper-v is up and running without any Issues.
MCTS, MCITP | Exchange Server
Publisher @ Techrid.com