The Pro version of Windows comes with Hyper-V, the inhouse virtual machine solution from Microsoft built-into Windows. However, if you enable Hyper-V, it also enables the Windows Defender Credential Guard.
Now, what if you want to disable Credential Guard in Windows 10?
You may be required to disable Credential Guard to make sure that the other virtual machine solutions like VMware operate normally, which is not possible with the Credential Guard running.
In this article, we walk you through the steps required to disable Credential Guard in Windows 10 to run VMware and Hyper-V.
How can I disable Credential Guard to run Hyper-V and VMware:
1. Disable Credential Guard from the Control Panel
Note: If you already have Hyper-V enabled, jump to the second step below.
- Press “Windows Key + R” to open Run.
- Type control and click OK to open the Control Panel.
- In the Control Panel, go to Programs > Programs and Features.
- On the left pane, click on “Turn Windows features on or off” link.
- In the Windows Features window, check “Hyper-V” and click OK.
- If you are running Windows 10 version earlier than 1607, then check Hyper-V Hypervisor as well Isolated User Mode option.
- Click OK to save the changes.
- Windows will prompt you to restart the computer. Click on Restart to install Hyper-V.
Disable Credential Guard
- Press Windows Key + R to open Run.
- Type gpedit.msc and click OK. This will open the Group Policy Editor.
- In the Group Policy Editor, navigate to the following location:
Computer Configuration -> Administrative Templates -> System -> Device Guard
- Select Device Guard.
- On the right pane, double-click the “Turn on Virtualization Based Security” policy.
- In the new dialogue box, select Disabled / Not Configured option.
- Click OK to save the changes.
- Close the Group Policy Editor.
- Restart the computer to apply the changes.
- After the restart, you can work with Hyper-V as well as VMware without any issues.
If the issue persists, open the Windows Features window again from step 1 and then de-select Hyper-V and reboot the computer.
2. Diable Hyper-V using PowerShell command
- If you get “WMware Player and device/Credential Guard are not compatible. VMware Player can be run after disabling Device/Credential Guard” error; the first method should help.
- However, if the issue persists, you can disable Hyper-V using the PowerShell command.
- Right-click on “Start” and select “Windows PowerShell (Admin).”
- In the PowerShell window, type the following command to disable Hyper-V.
bcdedit /set hypervisorlaunchtype off
- Now try relaunching VMware and check if the error is resolved.
Enable Hyper-V using PowerShell
- If you want to turn on Hyper-V, use the following command.
bcdedit /set hypervisorlaunchtype auto
- This will enable Hyper-V on your machine.
The first method to disable Credential Guard is recommended if you want to run both Hyper-V and VMware virtual machines on you computer.
However, the PowerShell command can disable Hyper-V without having to install/uninstall it from Windows Features.
RELATED STORIES YOU MAY LIKE:
- How to create Hyper-V virtual switch [Step-by-step guide]
- How to export Virtual Machine in VMware
- Here’s how to add network adapter to Windows 10 Hyper-V virtual machine