Click here to Skip to main content
15,887,268 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi,
I tried to add hyper-v feature to my windows server 2012 but got an already running error. So I did some research and found this (How to fix hyper-v cannot be installed- a hypervisor is already running - YouTube[^])

What I have tried:

When I run this first comment; <pre>Enable-WindowsOptionalFeature –Online -FeatureName Microsoft-Hyper-V –All -NoRestart

I got this error below;

The source files could not be downloaded...
[screenshot]

How can I fix this?
Posted
Updated 14-Jul-23 19:50pm
v3

1 solution

If you got the instructions from Youtube and they don't work, the first place to start looking for a solution is the forum on Youtube for that video.

Asking here means we have to watch the whole video first to try and work out what you were supposed to do, and what you might have done that could be wrong ... and I've seen enough drivel on YT that purports to be a "solution" to a dev problem to not want to do that! :D
 
Share this answer
 
Comments
AstroTheDog 15-Jul-23 5:44am    
There is wmware already installed I think that's why I have problems installing hyper-v. Do you have any suggestions on how to install hyper-v? Will you be solution-oriented or will you make excuses? YT video suggests running those commands in powershell, but I got the error for the first command on the screenshot.
CMD:
Enable-WindowsOptionalFeature –Online -FeatureName Microsoft-Hyper-V –All -NoRestart
CMD:
Install-WindowsFeature RSAT-Hyper-V-Tools -IncludeAllSubFeature
CMD:
Install-WindowsFeature RSAT-Clustering -IncludeAllSubFeature
CMD:
Install-WindowsFeature Multipath-IO
CMD:
Restart-Computer
Dave Kreskowiak 15-Jul-23 10:43am    
Are you trying to get the details on running Vmware VM's or are you trying to run both Vmware and Hyper-V VM's on the same server at the same time?
AstroTheDog 15-Jul-23 11:09am    
Hi Dave,

I am trying to run both.
Dave Kreskowiak 15-Jul-23 14:32pm    
What version of Windows and it's build number are you running?

NEVERMIND, you're on Server 2012. You cannot run both HyperV and VMware on the that server at the same time.

You need Server 2016 or newer and VMware 15.5.6 or newer.
AstroTheDog 16-Jul-23 1:36am    
What if just install both? Is it possible? Because I need to get RAM, CPU etc data from hyper-v. I will write a c# console application in order to get those data via WMI.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900