As virtual machines become more common—and helpful—in the software development process, sometimes it’s necessary to juggle between virtual machines.

With an AMD-based PC running Windows 10, changing the hypervisor launch type is required in order to switch between using VirtualBox and using x86 Android emulators.

Virtualbox requires the launch type to be “off”, and x86 Android emulators require the launch type to be “auto”. Enter the following commands in a Command Prompt or a PowerShell window started with “Run As Administrator”.

To enable Virtualbox:

bcdedit /set hypervisorlaunchtype off

To enable x86 Android Emulators:

bcdedit /set hypervisorlaunchtype auto