Bobcares

Hyper-V cannot be installed a hypervisor is already running – How we fix it?

by | Feb 10, 2020

Are you stuck with Hyper-V cannot be installed a hypervisor is already running? We can help you fix it.

This error displays when we try to install Hyper-V in a virtual machine.

At Bobcares, we often get requests to fix Hyper-V errors as a part of our Server Management Services.

Today, let’s see how our Support Engineers this error for our customers.

 

Causes for Hyper-V cannot be installed a hypervisor is already running

This error occurs when we try to install Hyper-V in a server which is already a virtual machine.

The sample error looks like:

Hyper-V cannot be installed a hypervisor is already running cannot be installed a hypervisor is already running

Thus, the workaround is to install all the components for Hyper-V from Powershell.

Let’s discuss how our Support Engineers install Hyper-V in the virtual machine.

 

How to fix Hyper-V cannot be installed a hypervisor is already running?

Recently one of our customers contacted us saying that he was unable to install Hyper-V in his server and getting this error. The server was already a virtual machine. Let’s discuss how our Support Engineers help our customers install Hyper-V in the hypervisor server.

We can resolve this error by installing it from the Powershell. We need to install all the services manually.

Thus, we open the Powershell as an administrator.

Next, we install the Hypervisor. Thus, our Support Engineers use the command.

Enable-WindowsOptionalFeature –Online -FeatureName Microsoft-Hyper-V –All -NoRestart

Then we need to install the RSAT administrator tools. For that, we run the command,

Install-WindowsFeature RSAT-Hyper-V-Tools -IncludeAllSubFeature

Now a warning appears. Warning: You must restart this server to finish the installation process.

We ignore the message. And then we restart the server only after completing the whole process.

Hyper-V cannot be installed a hypervisor is already running

Next, we install the cluster service to support cluster in Hyper-V. Thus, to install the service we use the command,

Install-WindowsFeature RSAT-Clustering –IncludeAllSubFeature

Then we install Multipath I/O to enable multiple paths to the storage. We use the below command to install multipath.

Install-WindowsFeature Multipath-IO

Finally, we restart the server using the command

Restart-Computer

After the reboot, we can see that the Hyper-V is present, and we can also create a Virtual machine without any error.

 

[Need assistance with Hyper-V – We can help you with it]

 

Conclusion

In short, we’ve discussed the causes of the error. Also, we saw how our Support Engineers fix this error by installing Hyper-V in a virtual machine.

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";

11 Comments

  1. Hamza

    Shortly, it worked! Thank you for providing a useful tutorial with only needed information and thank you for putting commands that we can copy and paste!

    Reply
  2. Mohd Hasan

    Thank you very much for this informative steps. It worked for me.

    Reply
    • Syam S

      Thank you for the update.

      Reply
  3. Westie-J

    it says The term ‘Install’ is not recognized as the name of a cmdlet, function, script file, or operable
    program. Check the spelling of the name, or if a path was included, verify that the path is correct and try
    again.
    At line:1 char:1
    + Install -WindowsFeature RSAT-V-Tools -IncludeAllSubFeature
    + ~~~~~~~
    + CategoryInfo : ObjectNotFound: (Install:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

    Reply
    • Hiba Razak

      Hi,

      Our Experts can help you with the issue, we’ll be happy to talk to you on chat (click on the icon at right-bottom).

      Reply
  4. Krimo R

    thanks guys everything work great !!

    Reply
    • Hiba Razak

      Hi Krimo,
      Glad to know that our article helps you solves the issue ?

      Reply
  5. Peter Mexico

    It worked on Windows Server 2012 Datacenter. Thank you so much!

    Reply
    • Hiba Razak

      Hello Peter,
      We are glad to know that our article helps you solves the issue 🙂

      Reply
  6. tetbis

    worked perfectly. thanks alot

    Reply
    • Hiba Razak

      Hi Tetbis,
      Thanks for the feedback. We are glad to know that our article was helpful 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