目录
5.1 Process to troubleshoot the error:
5.2. Steps to Disable Hyper-V:
5.2.2. Open command prompt window as an administrator
5.3. Process to turn off virtualization-based Security:
5.3.1 For Microsoft Windows 10 Pro & above:
5.3.2 For Microsoft Windows 10 Home:
1. Symptoms
- Powering on the virtual machine in VMware Workstation 12.5 or later version on a Windows 10 1909 or earlier host fails to start in following situation:
- Credential Guard/Device Guard is enabled.
- Windows Sandbox is enabled
- Virtual machine platform is enabled
- WSL2 is enabled
- Hyper-V is enabled
-
Error message in VMware Workstation Pro/Player similar to:
VMware Workstation and Device/Credential Guard are not compatible. VMware Workstation can be run after disabling Device/Credential Guard.
2. Purpose
This article provides steps to disable Hyper-v for a Windows 10 Host.
3. Cause
This issue occurs because Hyper-V is incompatible with Workstation Pro or Workstation Player.
4. Impact / Risks
Hyper-v virtual machine cannot be started after this change.
5. Resolution
5.1 Process to troubleshoot the error:
To troubleshoot the error follow the steps below:- If your Host has Windows 10 20H1 build 19041.264 or newer, upgrade/update to Workstation 15.5.6 or above.
- If your Host has Windows 10 1909 or earlier, disable Hyper-V on the host to resolve this issue.
5.2. Steps to Disable Hyper-V:
It is recommended to take back up of your data and have system restore points as a safety measure. The following features would not work anymore once the Hyper-V is disabled
- Credential Guard/Device Guard
- Windows Sandbox
- Virtual machine platform
- WSL2
- Hyper-V
Verify Virtualization-based Security (VBS) is Enabled/Not Enabled:
ensure the Value is set to Not enabled.
5.2.1. Turn Off Hyper-V
- Go to "Turn Windows features on or off"
- Make sure Hyper-v is not ticked.
- If it is Ticked, untick it and click "Ok".
5.2.2. Open command prompt window as an administrator
- Run “bcdedit /enum {current}”
- Note down the hypervisorlaunchtype in case this needs to be reverted
- Run “bcdedit /set hypervisorlaunchtype off” to disable hypervisor Close the command prompt after executing the commands and restart the system.
5.3. Process to turn off virtualization-based Security:
Below steps can be followed to turn off virtualization-based Security for Windows 10 Home & Pro:5.3.1 For Microsoft Windows 10 Pro & above:
- Edit group policy (gpedit)
- Go to Local Computer Policy > Computer Configuration > Administrative Templates > System
- Double Click on Device Guard on the right hand side to open.
- Double Click on "Turn On Virtualization Security" to open a new window
- It would be "Not Configured", Select "Disable" and click "Ok"
- Close the Group Policy Editor.
- Restart the system
5.3.2 For Microsoft Windows 10 Home:
Note: This procedure modifies the Windows registry. Before making any registry modifications, ensure that you have a current and valid backup of the registry and the virtual machine. For more information on backing up and restoring the registry, see the Microsoft Knowledge Base article 256986.- Open Registry Editor
- Go to HKEY_LOCAL_MACHINE > SYSTEM > CurrentControlSet > Control > DeviceGuard
- On the right-hand side, write a new key
a. Right Click > New > DWORD (32-bit) Value
b. Name this Value "EnableVirtualizationBasedSecurity"
By default, it should be 0, Double click, and confirm the value
4. Go to HKEY_LOCAL_MACHINE > SYSTEM > CurrentControlSet > Control > Lsa
5. On the right-hand side, write a new key
a. Right Click > New > DWORD (32-bit) Value
b. Name this Value "LsaCfgFlags"
By default, it should be 0, Double click, and confirm the value
For more information on Device Guard or Credential Guard, see the Microsoft article Manage Windows Defender Credential Guard.
Disclaimer: VMware is not responsible for the reliability of any data, opinions, advice, or statements made on third-party websites. Inclusion of such links does not imply that VMware endorses, recommends, or accepts any responsibility for the content of such sites.
6. Related Information
Minimum requirement for Windows Host VBS support in VMware Workstation (76918)