Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Hyperv does not appear to be installed

Hyper V has been started.

OS: Winsows 10 Pro RAM: 4GB

*****Power shell is started in Admin mode********

I have created a Virtual Switch Manager then I am trying the below command.

minikube start --vm-driver hyperv --hyperv-virtual-switch "Minikube Switch" it is throwing below error.

minikube v1.7.2 on Microsoft Windows 10 Pro 10.0.18363 Build 18363
* Using the hyperv driver based on user configuration
! 'hyperv' driver reported an issue: C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe Get-WindowsOptionalFeature -FeatureName Microsoft-Hyper-V-All -Online failed:
* Suggestion: Start PowerShell as Administrator, and run: 'Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All'
* Documentation: https://minikube.sigs.k8s.io/docs/reference/drivers/hyperv/

X hyperv does not appear to be installed

like image 501
Sambhaba Pani Avatar asked Feb 28 '20 08:02

Sambhaba Pani


Video Answer


1 Answers

I also experienced the same issue on my Windows 10 enterprise machine. Following below steps correctly probably solved my problem:

  1. Start the Windows Powershell as administrator. Note starting with administrator privileges is essential.
  2. Execute command

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

  3. After successful execution, restart the system.

  4. Execute command

    DISM /Online /Enable-Feature /All /FeatureName:Microsoft-Hyper-V

  5. Execute command

    minikube start --vm-driver=hyperv

like image 144
old_soul_on_the_run Avatar answered Oct 25 '22 12:10

old_soul_on_the_run