Memory integrity 导致 A driver can't load on this device

夜神模拟器无法使用

https://support.microsoft.com/en-us/help/4526424/windows-10-driver-cant-load-on-this-device

Memory integrity

You are receiving this message because the Memory integrity setting in Windows Security is preventing a driver from loading on your device. Here are a few options you can try if you want to be able to use this driver:

  • See if an updated and compatible driver is available through Windows Update or from the driver manufacturer.
  • If that doesn’t work, try turning off the Memory integrity setting in Windows Security.

Warning

If you choose to continue using your device without addressing the driver problem, you might discover that the functionality the driver supports does not work any longer, which could have consequences ranging from negligible to severe.

 

To turn off the memory integrity setting

  1. Go to the Core isolation page in Windows Security.
  2. Turn the Memory integrity setting Off if it isn’t already. You'll need to restart your computer for the changes to take effect.

Notes

  • You can also open the Core isolation page by selecting Start 
  • Though the driver has a minor vulnerability that’s preventing it from loading, it’s most likely not malicious in any way.
  • The driver name and company name that appear in the notification are the only reliable pieces of information that we have been able to gather about the driver.
  • If an updated driver is unavailable from the driver manufacturer, it might be a good idea to contact them and inquire whether a fix is coming soon.

这个配置页面,刚好也有Windows Defender Credential Guard

 

Memory integrity

Applies to:

Memory integrity is a feature of Windows that ensures code running in the Windows kernel is securely designed and trustworthy. It uses hardware virtualization and Hyper-V to protect Windows kernel mode processes from the injection and execution of malicious or unverified code. The integrity of code that runs on Windows is validated by memory integrity, making Windows resistant to attacks from malicious software. Memory integrity is a powerful security boundary that helps to block many types of malware from running in Windows 10 and Windows Server 2016 environments.

For more information about Windows Security, see Device protection in Windows Security.

 

通过注册表修改memory integrity配置,修改完成之后需要重启电脑

The downloadable .reg files below will modify the DWORD value in the registry key below.

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\DeviceGuard\Scenarios\HypervisorEnforcedCodeIntegrity

Enabled DWORD

0 = Off
1 = On

To Turn On Core Isolation Memory Integrity

A) Click/tap on the Download button below to download the file below, and go to step 4 below.

Turn_ON_Core_isolation_Memory_integrity.reg

Download

 

To Turn Off Core Isolation Memory Integrity

 

This is the default setting.


A) Click/tap on the Download button below to download the file below, and go to step 4 below.

Turn_OFF_Core_isolation_Memory_integrity.reg

Download

 

上面这个问题处理了,还会有nox蓝屏的问题,涉及到了Hyper-V的功能,而这个功能又是docker需要的

由于没有安卓机,想要测试一些东西,所以选择了安卓模拟器,可是一运行模拟器就导致电脑蓝屏,试了 N 次都不行。

于是在网上寻找解决方案,了解到导致蓝屏的原因都是因为虚拟化技术,我的系统是 Windows10 1903,加上之前开启了 Hyper-V 虚拟机,和 Windows 沙盒,再加上 Win10 对于安卓模拟器的虚拟化兼容不够才一直崩溃。

解决方案:关闭 Hyper-V 和 Windows 沙盒,运行以下命令,重启电脑。

DISM /Online /Disable-Feature /FeatureName:"Containers-DisposableClientVM"
DISM /Online /Disable-Feature /FeatureName:"Microsoft-Hyper-V-All"
DISM /Online /Disable-Feature /FeatureName:"VirtualMachinePlatform"

 

posted @ 2020-06-15 13:15  ChuckLu  阅读(542)  评论(0编辑  收藏  举报