首页  >  文章  >  系统教程  >  修复 Windows 11 上内存完整性错误的 5 种方法

修复 Windows 11 上内存完整性错误的 5 种方法

WBOY
WBOY原创
2024-06-19 09:08:30337浏览

您是否在“Windows 安全”中看到“内存完整性已关闭”消息,并且由于其切换呈灰色而无法启用它?禁用此功能意味着您的系统面临被恶意软件入侵的风险。请继续阅读以了解导致此问题的原因以及如何解决它。

Windows 上内存完整性错误的原因

内存完整性是一项基于虚拟化的安全功能,可保护您的计算机免受试图利用 Windows 内核的恶意软件的侵害。您可以在 Windows 安全应用程序的核心隔离部分中将其打开或关闭。打开Windows安全应用程序,单击左侧的“设备安全”选项卡,然后滚动到核心隔离。

有时,内存完整性切换可能会显示为灰色,并显示一条消息:“内存完整性已关闭。您的设备可能容易受到攻击。”

5 Ways to Fix Memory Integrity Errors on Windows 11

此问题通常与您的驱动程序有关。如果您的驱动程序由于系统关闭不当或 BSOD 等原因而损坏,您可能会遇到此问题。

您可能遇到此问题的另一种情况是将新设备连接到计算机时。如果您在这种情况下看到此消息,则表明您的计算机可能与新连接的设备的驱动程序不兼容。

除了所有这些情况之外,它可能只是一个接口问题。这意味着该功能在后台正常运行,但您看到的消息是由于 Windows 11 中的界面错误而导致的。

现在您已经了解了 Windows 11 上通常导致内存完整性错误的原因,让我们检查一下提出一些解决问题的解决方案。

检查并更新不兼容的驱动程序

在核心隔离窗口中,您将看到内存完整性已关闭消息,该消息下方将有一个“检查不兼容的驱动程序”选项。单击此选项时,您将看到导致问题的不兼容驱动程序。

5 Ways to Fix Memory Integrity Errors on Windows 11

您将看到有关不兼容驱动程序的信息,例如其产品名称、驱动程序版本和发布的名称。

5 Ways to Fix Memory Integrity Errors on Windows 11

如果单击驱动程序名称未提供所有这些详细信息,您可以执行 DISM 命令来检索它们。要运行 DISM 命令,请打开“开始”菜单,在搜索栏中键入命令提示符,然后选择“以管理员身份运行”。

在提升的命令提示符窗口中,输入以下命令并按 Enter:

<code class="hljs javascript">dism /online /get-drivers /format:table</code> 
5 Ways to Fix Memory Integrity Errors on Windows 11

此命令将列出计算机上安装的所有驱动程序以及其他信息。您必须找到在“Windows 安全”中“已发布名称”列下标记的不兼容驱动程序。

找到它后,记下其提供商名称。之后,您必须更新不兼容的驱动程序。这是因为该问题可能是由于驱动程序损坏或过时而导致的;无论哪种情况,更新驱动程序都可以解决问题。

要更新驱动程序,请打开设备管理器,单击“查看”,然后选择“按驱动程序列出的设备”。

5 Ways to Fix Memory Integrity Errors on Windows 11

找到不兼容的驱动程序,双击它,然后右键单击相关设备并选择“更新驱动程序”。

5 Ways to Fix Memory Integrity Errors on Windows 11

选择“自动搜索驱动程序”。然后,Windows 将尝试查找并下载该设备的最新驱动程序。如果 Windows 无法找到更新,您可以访问设备制造商的网站下载最新的驱动程序更新。

例如,如果问题与您的键盘驱动程序有关,请访问键盘制造商的网站并下载键盘的最新驱动程序更新。该更新将采用 .exe 格式,因此您可以像任何其他 Windows 应用程序一样安装它。更新驱动程序后,重新启动计算机并检查是否仍然出现内存完整性错误。

Delete the Incompatible Driver

If updating the incompatible driver was unable to fix the problem, you should consider deleting it completely. Don't worry, deleting the driver will not have any adverse effects, as Windows will automatically reinstall the driver once you use the related device again. However, this time Windows will install the newest working driver for that device.

To delete the incompatible driver, open Command Prompt as an administrator and execute the following command to view the list of installed drivers.

<code class="hljs javascript">dism /online /get-drivers /format:table</code> 

Type the command below and press Enter. Make sure to replace with the published name of the incompatible driver.

<code class="hljs sql">pnputil /delete-driver <Publisher Name> /uninstall /force​</code> 

For example, if the published name of the incompatible driver is oem58.inf, then the command will be:

<code class="hljs sql">pnputil /delete-driver oem58.inf /uninstall /force​</code> 
5 Ways to Fix Memory Integrity Errors on Windows 11

Once the command is executed, you'll see the "Driver Package Uninstalled" message. After that, restart your computer and then check if you're still facing the problem.

Download Any Available Windows Updates

The issue can also occur due to a bug in the Windows version you are currently using. A bug in the Windows Security app could also be the reason behind the problem.

Either way, you should check for and download any available Windows updates. Downloading Windows updates will not only update the Windows version but may also include updates for the Windows Security app that could resolve the issue.

Once you have downloaded the available updates for your Windows PC, open the Windows Security app and check if the "Memory integrity is off" message still appears.

Perform a Clean Boot

Your computer has numerous processes and services running in the background that help the operating system run smoothly. Sometimes, these processes or services may interfere with other programs, which may lead to various issues, including the one at hand.

You can identify that problematic agent by performing a clean boot. Once you have identified the problematic service or process, you can either delete it or download any available driver updates for it.

Enable Core Integrity Using the Registry Editor

If none of the above solutions were helpful, the last step you can take is to use the Registry Editor to forcibly enable the memory integrity feature. However, you must be very careful when applying this fix, as a single incorrect edit in the registry can make your system unstable.

To be on the safe side, you must back up the registry and create a restore point. This way, you can easily restore your computer to a working state in case any issues arise during the registry editing process.

Once you have taken these essential safety measures, let's begin. First, open the Start menu, type Registry Editor in the search bar, and press Enter.

In the Registry Editor, navigate to the following location:

<code class="hljs ">HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlDeviceGuardScenariosHypervisorEnforcedCodeIntegrity</code> 

Double-click the "Enabled" key, type 1 in the Value data field, and click "OK."

5 Ways to Fix Memory Integrity Errors on Windows 11

Restart your computer, and you will find that you can activate the memory integrity toggle without any problems.


We hope the above solutions were helpful in fixing the problem. Memory integrity is an important security feature, and now that you have enabled it, you shouldn't worry about malicious agents exploiting critical parts of your Windows operating system.

以上是修复 Windows 11 上内存完整性错误的 5 种方法的详细内容。更多信息请关注PHP中文网其他相关文章!

声明:
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn