Root cause analysis
After upgrading from Windows 1909 to 20H1, trying to run centos through VMware, the following error message appears:
VMware Workstation is not compatible with Device/Credential Guard. After disabling Device/Credential Guard, VMware Workstation can run.
It can't stop me from playing Linux and thinking about how to solve this problem.
problem causes
Reason 1: Device or Credential Guard is not compatible with VMware.
Reason 2: The Hyper-V of the Windows system is not compatible with VMware.
Solution
One: Close Device/Credential Guard
- Right-click "Start" --> "Run" (or win+ R), type
gpedit.msc
(Windows Professional Edition, Home Edition needs to be enabled by itself), and open the local group policy editor. - Go to "Local Computer Policy—>Computer Configuration—>Administrative Templates—>System—>Device Guard (Device Guard)—>Enable Virtualization-Based Security" and select Disabled.
- Go to Control Panel --> Uninstall a program --> Turn Windows features on or off
- Close Hyper-V, choose not to restart
Two: Completely close Hyper-V (close the command line - the control panel cannot be completely closed)
right-click "Start" --> enter Windows PowerShell (administrator) or (use shortcut key win+ Xenter Windows PowerShell (administrator))
Run the following command to close Hyper-V, restart the computer to take effect
bcdedit /set hypervisorlaunchtype off
After trying to start the system successfully: (recommended method 2!)
Success~