-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hyperv: The requested operation requires elevation. #7347
Comments
Does this happen when you start Powershell as an Administrator, and run minikube from there? |
Experiencing the same issue.
The VM is successfully created if I execute the same command in a administrative terminal. |
I have the same issue on Windows 10 Pro when starting minikube with my normal user account:
It seems that a normal user ist not allowed to call:
If I issue this command as an admin user in powershell, it shows me that HyperV is activated and running:
I think minikube should not make this call on startup, as it seems to require admin permissions. Or probably add a flag so this step can be skipped. |
Yeah, you need to run minikube start in an elevated powershell for Hyper-V. This is a known issue. We run |
Hi @soumilshah1995 I haven't heard back from you, I wonder if you still have this issue? I will close this issue for now but please feel free to reopen whenever you feel ready to provide more information. Meanwhile have you tried out newest driver Docker Driver with latest version of minikube? for more information on the docker driver checkout: |
Steps to reproduce the issue:
$ minikube start
! 'hyperv' driver reported an issue: C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe Get-WindowsOptionalFeature -FeatureName Microsoft-Hyper-V-All -Online failed:
Get-WindowsOptionalFeature : The requested operation requires elevation.
At line:1 char:1
X hyperv does not appear to be installed, but is specified by an existing profile. Please run 'minikube delete' or install hyperv
The text was updated successfully, but these errors were encountered: