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,
How to quickly disable hyper-v to be able to run VB machines
Re: How to quickly disable hyper-v to be able to run VB machines
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.
[This space is intentionally left blank]
If you can read this, you can read the VirtualBox Manual, the Forum FAQ, and the QuickClick FAQ
-=[ Search this forum with Keywords, VirtualBox solutions at you're fingertips]=-
If you can read this, you can read the VirtualBox Manual, the Forum FAQ, and the QuickClick FAQ
-=[ Search this forum with Keywords, VirtualBox solutions at you're fingertips]=-
-
- Posts: 3
- Joined: 3. May 2011, 02:44
- Primary OS: MS Windows 2008
- VBox Version: OSE self-compiled
- Guest OSses: Windows 2008
Re: How to quickly disable hyper-v to be able to run VB machines
And that is why I am asking this question. Is the any better temporary way of disabling hyper-v?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.
Thanks,
-
- Volunteer
- Posts: 17798
- Joined: 17. Mar 2008, 13:41
- Primary OS: Debian other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Windows XP, Windows 7, Linux
- Location: /dev/random
Re: How to quickly disable hyper-v to be able to run VB machines
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.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org
Retired from this Forum since OSSO introduction.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org
Retired from this Forum since OSSO introduction.
-
- Posts: 3
- Joined: 21. Sep 2012, 05:04
Re: How to quickly disable hyper-v to be able to run VB mach
You can disable Hyper-V without deinstalling it. Start a command prompt with administrator rights and execute the following command:
Reboot windows. Hyper-V is disabled now. If you want to enable it, then run this command:
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
Code: Select all
bcdedit /set hypervisorlaunchtype off
Code: Select all
bcdedit /set hypervisorlaunchtype auto
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
-
- Volunteer
- Posts: 5106
- Joined: 19. Sep 2009, 04:44
- Primary OS: MS Windows 10
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Windows 10,7 and earlier
- Location: Sydney, Australia
Re: How to quickly disable hyper-v to be able to run VB mach
Or you can prevent the hypervisor from loading by changing hypervisorlaunchtype from auto to no. That is the official Microsoft method.
Bill
Re: How to quickly disable hyper-v to be able to run VB mach
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:
Reboot windows. Hyper-V is disabled now. If you want to enable it, then run this command:Code: Select all
bcdedit /set hypervisorlaunchtype off
and reboot again.Code: Select all
bcdedit /set hypervisorlaunchtype auto
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.