Troubleshooting Minikube Installation on Windows(also for WSL/WSL2 users)

Getting VT-x/AMD-v disabled error while installing Minikube on your Windows machines? Here are some of the reasons why it is not working and the troubleshooting methodologies :

  • Your PC does not have Virtualization enabled. To solve this, all you need to do is to enable Virtualization in the BIOS menu. All you need to do is to restart your PC and press the BIOS menu key (F2 for Asus) with respect to your PC/Laptop vendor. Now go to Advanced menu in BIOS and enable the Virtualization. Press F10 and Enter to save it and reboot.
bcdedit /set hypervisorlaunchtype off

Now restart your device to make changes take effect. Now you’ll be able to set up your minikube server using Virtual Box as a driver. But while Hyper-V is turned off, you won’t be able to use WSL2 on your system.

But if you’re using newer version of Virtual Box supporting Hyper-V, you only need to disable Hyper-V while installing/setting up minikube server. Once it is set up and running, you can again enable Hyper-V. Now both WSL2 and minikube server will run successfully. To enable Hyper-V, type the following command in command prompt in administrator mode:

bcdedit /set hypervisorlaunchtype auto

Now restart your PC and start working!!

--

--

Final Year Undergrad from Indian Institute of Information Technology Ranchi interested in learning the ins and outs of Technology

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Akshansh Singh

Final Year Undergrad from Indian Institute of Information Technology Ranchi interested in learning the ins and outs of Technology