It’s not possible to run VirtualBox or VMWare Workstation Player on Windows 10 when Hyper-V is enabled.
The symptoms are:
- When starting VirtualBox you will get the error Raw-mode unavailable courtesy of Hyper-V.
- When starting VMWare Workstaion Player you will get VMware Workstation and Device/Credential Guard are not compatible. VMware Workstation can be run after disabling Device/Credential Guard.
The easiest way I have found to fix this is to disable Hyper-V by running the following command as Administrator. You need to do a restart after that.
To enable Hyper-V again, run the following command as Administrator, followed by a restart:
Notice if you are running Docker on Windows 10!
If Hyper-V has been disabled, you can run into the error Hardware assisted virtualization and data execution protection must be enabled in the BIOS. In that case you need to enable Hyper-V to get Docker to work. See my post here.