Page 1 of 1
How to quickly disable hyper-v to be able to run VB machines
Posted: 3. May 2011, 02:53
by moeen49
Hi,
I have VB on a windows 2008 r2 server. It is working perfectly fine.
When I activate Hyper-V role, VB can’t run and it complains about not being able to access to hardware virtualization.
At this point I have to activate and deactivate hyper-v role (needs restart – long process) to be able to switch between HyperV and VB.
Is there any quicker way to temporarily disable Hyper-V, so I can run VB and then enable Hyper-V again?
I have tried to stop the hyper-v in its console, it didn't help.
Thank you,
Re: How to quickly disable hyper-v to be able to run VB machines
Posted: 3. May 2011, 11:58
by vbox4me2
You might be able to do this but after about 30 switches between the 2, hyperv can crash the Host because of a registry mess-up, so make a choice between the 2.
Re: How to quickly disable hyper-v to be able to run VB machines
Posted: 3. May 2011, 22:44
by moeen49
vbox4me2 wrote:You might be able to do this but after about 30 switches between the 2, hyperv can crash the Host because of a registry mess-up, so make a choice between the 2.
And that is why I am asking this question. Is the any better temporary way of disabling hyper-v?
Thanks,
Re: How to quickly disable hyper-v to be able to run VB machines
Posted: 3. May 2011, 23:09
by Sasquatch
No, and even if there was, you might get the same result noted above: crashes because of Hyper-V messing things up. Make up your mind, use Hyper-V or VB, don't mix and match. You can't run KVM and Xen at the same time on Linux either and I'm pretty sure they conflict each other in packages.
Re: How to quickly disable hyper-v to be able to run VB mach
Posted: 21. Sep 2012, 05:10
by Björn König
You can disable Hyper-V without deinstalling it. Start a command prompt with administrator rights and execute the following command:
Code: Select all
bcdedit /set hypervisorlaunchtype off
Reboot windows. Hyper-V is disabled now. If you want to enable it, then run this command:
Code: Select all
bcdedit /set hypervisorlaunchtype auto
and reboot again.
This solution still needs a reboot, but you don't mess up your registry and don't lose configuration settings.
I think this issue will become a topic because Windows 8 Pro edition provides the Hyper-V feature.
Best regards
Björn
Re: How to quickly disable hyper-v to be able to run VB mach
Posted: 21. Sep 2012, 08:11
by BillG
Or you can prevent the hypervisor from loading by changing hypervisorlaunchtype from auto to no. That is the official Microsoft method.
Re: How to quickly disable hyper-v to be able to run VB mach
Posted: 26. Apr 2015, 23:56
by Johannnz
Björn König wrote:You can disable Hyper-V without deinstalling it. Start a command prompt with administrator rights and execute the following command:
Code: Select all
bcdedit /set hypervisorlaunchtype off
Reboot windows. Hyper-V is disabled now. If you want to enable it, then run this command:
Code: Select all
bcdedit /set hypervisorlaunchtype auto
and reboot again.
This solution still needs a reboot, but you don't mess up your registry and don't lose configuration settings.
I think this issue will become a topic because Windows 8 Pro edition provides the Hyper-V feature.
Best regards
Björn
It Worked very well for me, I have been trying a lot of things, but this just this worked.. I really appreciate your help.
Regards
Johan
It Worked very well for me, I have been trying a lot of things, but this just this worked.. I really appreciate your help.