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.46k stars 1.11k forks source link

Running in cygwin getting virtualization error #609

Closed scottkw closed 2 years ago

scottkw commented 2 years ago

Checked all the hardware-accelerated virtualization stuff to no avail. Keep getting this error...

"Virtualbox is not using hardware-supported virtualization features. Check that software such as Hyper-V, Windows Sandbox, WSL2, memory integrity protection, and other Windows features that lock virtualization are turned off. Exiting."

Any help would be much appreciated.

myspaghetti commented 2 years ago

The specific software or feature that's blocking it is not reported by Windows. Core Isolation, Credential Guard, Device Guard, some virtualization software, and even some anti-virus software block VirtualBox from accessing VT-x/AMD-V. The script does not provide an exhaustive list of all software that blocks VirtualBox, and VirtualBox doesn't (and probably can't) specify which software is blocking it, so troubleshooting this issue is up to you. People have reported that running the following command as administrator and rebooting twice usually solves the issue:

bcdedit /set hypervisorlaunchtype off 
scottkw commented 2 years ago

Thanks so much for the reply. I'll give it a try.

scottkw commented 2 years ago

That did it! Thanks again.