/HyperV-Toggle

Windows Batch Script to toggle Hypervisor Launch Type

Primary LanguageBatchfileMIT LicenseMIT

HyperV-Toggle

Since Virtual Machines and Docker require different Hypervisor Launch Types on a Windows Host, this script can be used to quickly toggle between Off (VMWare, VirtualBox, ...) and Auto (Docker).

hyperv.bat is a Batch-Script and uses the bcdedit command. It has to be executed from a Command Prompt with Administrative Privileges.

Note that updating the Hypervisor Launch Type requires a reboot to take effect, which the script will offer to the user after updating the Launch Type.