天天看点

VMware Workstation 与 Device/Credential Guard 不兼容的问题排查及解决方案

系统版本:Windows 10, Version 1909

VM  版本:VMware® Workstation 15 Pro - 15.0.4 build-12990004

故障提示:

[英文版本]:VMware Workstation and Device/Credential Guard are not compatible. VMware Workstation can be run after disabling Device/Credential Guard. Please visit http://www.vmware.com/go/turnoff_CG_DG for more details

[中文版本]:VMware Workstation 与 Device/Credential Guard 不兼容。在禁用 Device/Credential Guard 后,可以运行 VMware Workstation

参考 "VMware Workstation and Device/Credential Guard are not compatible" error in VMware Workstation on Windows 10 host (2146361)

其中提出了官方解决方案 :

“To resolve this issue, disable Device Guard or Credential Guard.For more information on Device Guard or Credential Guard, see the Microsoft article Manage Windows Defender Credential Guard.”

( 要解决此问题,请禁用 Device Guard 或 Credential Guard. 有关 Device Guard 或 Credential Guard 的详细信息,请参阅Microsoft文章《管理 Windows Defender Credential Guard》)

该解决方案 (发布于2019.08.15) 针对的只是一部分用户,所以大部分人的设置并不会导致问题。意思就是可能没啥卵用 😀

所以,不同的情况,解决问题的方案不相同。有的只需要很简单的设定即可修复,有的可能就需要复杂点。

经过差不多一个小时的时间,解决了我自己的情况,将我搜集的信息汇总,可以按照这个顺序排查:

1. SandBox [ Windows自带虚拟机 ]

SandBox和VM Station可能会产生冲突。操作:控制面板→程序→ 打开或关闭windows功能→取消SandBox的所有选项。

2. Hyper-V [ 微软虚拟化产品 ]

如果你没有关闭第1步骤的窗口可就太好了,顺手可以把Hyper-V也取消掉,这一步配置完成后可能会重启。

建议是,最好再多费点事,彻底解决这个问题,如下"开始"界面输入cmd,右键以管理员身份运行cmd,复制以下命令行:

bcdedit /set hypervisorlaunchtype off
           

然后 Shift+Insert 粘贴到CMD中(如果需要重新开启hyper,可以使用以“ bcdedit /set hypervisorlaunchtype auto ”)

我在这一步就解决了,因为我默认关闭SandBox、Hyper-V、内核隔离默认。

3. 内核隔离 [ 启动它就默认启动了Hyper-V ]

"开始"里搜内核隔离/Core Isolation就直接出来了。操作:设置→更新&安全→Windows安全→设备安全→内核隔离。一般是默认关闭的,所以如果打开了就关掉。

4. 修改Device Guard

这个操作我觉得没什么作用,为了避免不能安装第三方软件的情况,我没有更改,而是默认的不配置。而且就我的情况来说,不修改它也对VM的冲突不会产生影响。

但也不排除可能会影响一小部分人,操作:Win+R →输入gpedit.msc→ Computer Configuration → Administrative Templates → Systems → Device Guard → 右侧设置,双击Turn on Virtualization Based Security → 左上第三个Disabled/禁用 (禁用可能会导致不能安装第三方软件)

5. Credential Guard 凭据保护/机密防护

我没试过,更改策略的都不是什么好方子,而且网上很多人已经贴出来了这种方法,我对这个不评价,也不推荐。

最后

如果你用了上边的顺序排查,依然不能解决问题,请放弃吧不要灰心,那就试试第5个方法,如果还不行,那可真是惨啊,真的,放弃吧 也不要灰心,再探索探索别的解决方案。🙂

问题解决,归档处理。

继续阅读