关于 Win10 Device Guard Credential Guard 引发的一些问题

操作系统:Windows 10 17134.1

前言

自从上次发现VirtualBox无法使用后,陆陆续续又出现了AMD Ryzen Master一打开就绿屏、堡垒之夜国服客户端报非法的问题,这些问题有个共性——都需要加载第三方驱动(?)。更新完AMD Ryzen Master 1.3版本后,打开时提示需要关闭Windows的"Virtualization-Based Security",于是搜索得知与Windows的Device Guard和Credential Guard功能有一些关系。

根据微软官方的描述,Device Guard是与企业相关的硬件和软件安全功能的组合,当两者一起配置时,将锁定设备,以使其只能运行受信任的应用程序,如果应用不受信任,则无法运行;Credential Guard使用基于虚拟化的安全来隔离密钥,以便仅允许特权系统软件访问这些密钥。两者都属于安全功能,确实可能导致驱动加载失败,因此用下面的方式尝试关闭它们。

方式1

用小娜打开"启用或关闭Windows功能",取消"Hyper-V"前的选框,确定后重启。

方式2

参考链接

  1. Enable virtualization-based protection of code integrity
  2. Device Guard and Credential Guard hardware readiness tool
  3. about_Execution_Policies
  1. 下载 Device Guard and Credential Guard hardware readiness tool(下载地址见参考链接2);
  2. 以管理员权限运行PowerShell;
  3. 设置PowerShell脚本的运行权限(具体设置项见参考链接3):
1
Set-ExecutionPolicy RemoteSigned
  1. 切换到 hardware readiness tool 目录,执行脚本(脚本说明见工具目录ReadMe.txt): ’’’ .\DG_Readiness.ps1 -Disable ’''

  2. 重启,提示关闭Credential Guard和Virtualization-Based Security功能时按Windows键或F3确认,正常启动。

问题

经过上述操作后,AMD Ryzen Master和堡垒之夜国服都能正常启动和使用,但Hyper-V虚拟机则不能继续使用了。

京ICP备17016743号
Built with Hugo
主题 StackJimmy 设计