myspaghetti / macos-virtualbox

Push-button installer of macOS Catalina, Mojave, and High Sierra guests in Virtualbox on x86 CPUs for Windows, Linux, and macOS
GNU General Public License v2.0
13.53k stars 1.12k forks source link

Hardware-Supported Virtualization Detection Issue #370

Closed jordanm82 closed 3 years ago

jordanm82 commented 3 years ago

All Hardware Supported Virtualization features are turned off and still receiving the error message that something is locking virtualization. Rebooted, checked all features again to be sure, same outcome.

Troublehoot.txt is attached as well as screenshot of Windows Features, memory integrity protection is also turned off. image

macOS_troubleshoot.txt

Masamune3210 commented 3 years ago

Virtual Machine Platform might be locking it? not sure though

jordanm82 commented 3 years ago

Virtual Machine Platform might be locking it? not sure though

I'll give it a shot.

jordanm82 commented 3 years ago

Virtual Machine Platform might be locking it? not sure though

I'll give it a shot.

Problem remains with "Virtual Machine Platform" feature disabled as well.

myspaghetti commented 3 years ago

There are many Windows features and software that block access to VT-x/AMD-V. Check for memory integrity protection or core isolation settings, Device Guard settings, and other installed software or enabled features that may block VT-x/AMD-V.

mceasyweb commented 3 years ago

Virtual Machine Platform might be locking it? not sure though

I'll give it a shot.

Problem remains with "Virtual Machine Platform" feature disabled as well.

Try to see if the "hypervisorlaunchtype" parameter is Auto if so put it to off (by administrator bcdedit /set hypervisorlaunchtype off) and restart Windows. I have noticed this problem I use Hyper-V and wsl2, and I can't get the mac os to work with wsl2. @myspaghetti would it be possible to install mac on Hyper-V instead of VirtualBox?

myspaghetti commented 3 years ago

would it be possible to install mac on Hyper-V instead of VirtualBox?

Not at the moment. VirtualBox 6.1.16 still has memory corruption issues on macOS guests under Hyper-V.

If you're really adamant about using Hyper-V you can enable nested virtualization under WSL2.

mceasyweb commented 3 years ago

would it be possible to install mac on Hyper-V instead of VirtualBox?

Not at the moment. VirtualBox 6.1.16 still has memory corruption issues on macOS guests under Hyper-V.

If you're really adamant about using Hyper-V you can enable nested virtualization under WSL2.

It seems a bit complicated, but the guide is well detailed, I'll try, thanks.

myspaghetti commented 3 years ago

Closing until further details are provided.

neolectron commented 3 years ago

Just logging here in case people are still struggling with this (as I just did for several hours).

I had a network bridged connection between my ethernet card and the Hyper-V one. I had to completely delete the bridge, and kill the HV Host Service.

Then I could continue the script normally.

piyush1104 commented 3 years ago

I was using wsl2 which was giving me the same problem. Switching to wsl1 and turning off "Virtual Machine Platform" feature worked for me.