Turning hyper-v on and off


I use hyper-v on my laptop. When I know I don’t need VMs for the day, I can squeeze a bit more performance out of the machine by turning hyper-v off with:


bcdedit /set hypervisorlaunchtype off


and a reboot. To turn it back on:


bcdedit /set hypervisorlaunchtype on (or auto start)


and reboot.

Comments (11)

  1. Anonymous says:

    hello

  2. Anonymous says:

    Run Cmdr as administrator

  3. lugalzagesi says:

    I receive the message:  an error occurred while attempting to reference the specified entry.  I did this from the command prompt installation disk.  Thanks

  4. Alastair D'souza says:

    Would this work on Windows 8 or Windows 8.1? And do I need to use cmd?

  5. Gilberto says:

    Great! Thank you, that saved my life hehe =]

  6. dinto says:

    and where does the bcdedt/set hypervisorlaunchtype get switched on?

  7. john says:

    thanks just use bcdedit /set hypervisorlaunchtype auto start for it to turn back on

  8. thanks. That would be cool. to keep both!.

    I assume that normally this would work… however…

    The boot configuration data store could not be opened.
    The system cannot find the file specified.

    Note that this is a dual-boot grub2 based linux/windows setup.

    Roeland

  9. Command/Parameter to turn it back would be
    bcdedit /set hypervisorlaunchtype Auto

    Ref:
    https://msdn.microsoft.com/en-us/library/windows/hardware/ff542202(v=vs.85).aspx