VirtualBox Won't Run - raw-mode unavailable courtesy of Hyper-V?

Hi All,

I was using the downloaded VM of the ERPNext in virtualbox on a PC without issues. I decided to move it to another PC with bigger capacity and better performance but the error message in the below screenshot popped up and virtualbox would not load. It appears virtualbox is affected somehow by Hyper-V on the new machine. Any ideas how I can resolve this?

Uninstall Hyper-V

Thanks.

Hi,

I have the same issue, and Hyper-V is not on. Any idea on what to do?

Thank you.

Check that none of the Hyper-V libraries are hiding there. Make sure you uninstall all things Hyper-V

Everything is off. See screen shot: image

I am having the same issue and verified Hyper V is not installed

How about temporarily turn off virtualization in the BIOS?

That might persuade Hyper-V to let go here?

1 Like

After some research via duckduckgo.com… vaguely/possibly this is of a bit of use

https://github.com/Microsoft/WSL/issues/2850

1 Like

Hi guys,

Sorry I am responding late. I hope my contribution will be of help though. I managed to resolve the issue but not by uninstalling Hyper-V. I saw a couple of suggestions but I find this one situable (it makes sense since I’m not an IT guru):

STEP 1:
Open the command prompt as an Administrator.

STEP 2:
Run the command with no argument: bcdedit

After you run the above command, you will see that the property hypervisorlaunchtype is set Auto by default. See screenshot below:

STEP 3:
Disable Hyper-V by running the command: bcdedit /set hypervisorlaunchtype off

STEP 4:
Restart your PC system to use VirtualBox.

To turn Hyper-V back on, run the command: bcdedit /set hypervisorlaunchtype auto
You will need to reboot the system to use Hyper-V.

5 Likes

If yo do that, you will get this error message: image

Yes, finally i managed to make it work. Sirjames, I used your suggestion, but deactivating (bcdedit /set hypervisorlaunchtype off), restart and reactivating (bcdedit /set hypervisorlaunchtype auto) does nothing for me. And than i have tried only the deactivation part (bcdedit /set hypervisorlaunchtype off) and restart… Now I have 4 VM’s running in the same time and no issue.


Thank you very much Sirjames. You were a very big help :smiley:

Thanks, it works for me!
If we have more than one OS then can run:

bcdedit /set {current} hypervisorlaunchtype off

accordingf to this:BCDEdit /set - Windows drivers | Microsoft Learn

Worked for me, thank you very much!

Thanks Sirjames tjis helped

Dosen’t work for me, I tried the command bcdedit /set hypervisorlaunchtype off, but nothing…

Also ensure that Windows 10 developer mode isn’t enabled.

The answer to this thread left me with a BSoD upon restarting, does anyone know why?

What’s the error code on the BSOD?

Hi @MirkoD2, did you restart your PC after you tried the command?

I had a similar experience before I got it right. In fact, it happened to me twice. It will not work for you if any of these two scenarios happened:

a) If you did not RESTART the system after you tried the command bcdedit /set hypervisorlaunchtype off.

b) If you SHUTDOWN the PC (instead of RESTART) after the bcdedit /set hypervisorlaunchtype off command.

In both cases, it did not work for me. I had to undo the whole thing just to be safe (i.e., I ran the command bcdedit /set hypervisorlaunchtype auto and restarted the PC.)

Then I tried the bcdedit /set hypervisorlaunchtype off command again and restarted the PC. That was when it worked.

Hope this helps.

2 Likes