About VMware running centos error: Device/Credential Guard solution

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.
insert image description here

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

  1. 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.
  2. Go to "Local Computer Policy—>Computer Configuration—>Administrative Templates—>System—>Device Guard (Device Guard)—>Enable Virtualization-Based Security" and select Disabled.
  3. Go to Control Panel --> Uninstall a program --> Turn Windows features on or off
  4. Close Hyper-V, choose not to restart
    insert image description here

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

insert image description here

After trying to start the system successfully: (recommended method 2!)
insert image description here
Success~

Guess you like

Origin blog.csdn.net/qq_44281591/article/details/116082175