Vmware 无法启动虚拟机 -VMware Workstation and Device/Credential Guard are not compatible.

时间:2022-06-15 23:14:25
Vmware 无法启动虚拟机 -VMware Workstation and Device/Credential Guard are not compatible.

因为在学习Linux,起初尝试用Hyper-V安装Linux进行学习,之后为了方便和老师的设置一样,所以改装了VMware,所有初始设置先好后发现,虚机机无法启用。

VMware也提示不支持CPU虚拟化技术VT-x/AMD-V。BIOS中查询发现已经打开VT-x。

Vmware 无法启动虚拟机 -VMware Workstation and Device/Credential Guard are not compatible.

在网上找了很多方法,经过以下尝试问题终于解决:

主要是需要禁用Hyper-V,Device Guard和Credential Guard。

禁用Hyper-V的方法:
一、使用管理员权限运行命令
  • bcdedit /set hypervisorlaunchtype off
  • 使用”添加或删除Windows组件“图形界面程序,在里面取消勾选Hyper-V。
    Vmware 无法启动虚拟机 -VMware Workstation and Device/Credential Guard are not compatible.
    关闭Hyper-V

    二、禁用Device Guard和Credential Guard

  • 可以下载Device Guard and Credential Guard hardware readiness tool (https://www.microsoft.com/en-us/download/details.aspx?id=53337) ,解压后以管理员权限运行PowerShell:

    Set-ExecutionPolicy -ExecutionPolicy RemoteSigned
    输入Y确认
    然后通过Powershell手敲命令进入解压后的文件目录内(记住这个目录里一定要有以下提到的这个DG_Readiness_tool_v3.x.ps1文件)。

  • 然后执行:
    .\DG_Readiness_Tool_v3.2.ps1 –Disable
    可能会有注册表项或文件找不到的错误提示,没有关系。
    Vmware 无法启动虚拟机 -VMware Workstation and Device/Credential Guard are not compatible.
    禁用Device Guard和Credential Guard

    命令执行完毕后会重启你的电脑。

  • 根据提示关闭Credential Guard和Virtualization Based Security提示时按F3确认。
    重启后你会发现就虚机可以打开了。