Skip to content

Windows Batch Script to toggle Hypervisor Launch Type

License

Notifications You must be signed in to change notification settings

mzellho/HyperV-Toggle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.