Page tree

Welcome to FreeSoftwareServers Confluence Wiki

Skip to end of metadata
Go to start of metadata

I created 2 Cmds, one to enable Hyper-V to auto take control of Hyper-visor *it needs to control it from boot or it won't work* and another to stop it from auto taking control. This allows you to simply reboot and run VirtualBox or whatever then reboot and run Hyper-V without tweaking settings or uninstalling anything.

Disable-Hyper-V-Autolaunch.cmd Contents:

@ ECHO OFF

bcdedit /set hypervisorlaunchtype off && shutdown /r /t 5

Enable-Hyper-V-Autolaunch.cmd Contents:

@ ECHO OFF

bcdedit /set hypervisorlaunchtype auto && shutdown /r /t 5 
  • No labels