# VMVare and Windows 10

## 2018/01/22

I recently upgraded by developer machine to Windows 10. After the upgrade, VMWare would fail to start any image with an error about disabling Hyper-V. Specifically this was the error

VMware Workstation and Hyper-V are not compatible. Remove the Hyper-V role from the system before running VMware Workstation


After many cycles of uninstalling and reinstalling VMWare and Hyper-V, turns out the problem is actually related to something called Device Guard.

I found the solution here. But the gist of the solution is

1. Run the extracted script:

DG_Readiness_Tool_v3.2.ps1 -disable

1. Make sure you have the feature uninstalled
 Disable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V –All

1. You may also need to disable Hyper-V from starting by using the following command line:
bcdedit /set hypervisorlaunchtype off