首頁  >  文章  >  系統教程  >  修復 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 中的介面錯誤而導致的。 ,讓我們檢查一下提出一些解決問題的解決方案。

檢查並更新不相容的驅動程式

在核心隔離視窗中,您將看到記憶體完整性已關閉訊息,該訊息下方將有一個「檢查不相容的驅動程式”選項。當您單擊此選項時,您將看到導致問題的不相容驅動程式。

您將看到有關不相容驅動程式的信息,例如其產品名稱、驅動程式版本和發布的名稱。 5 Ways to Fix Memory Integrity Errors on Windows 11

如果您按一下驅動程式名稱未提供所有這些詳細信息,您可以執行 DISM 命令來檢索它們。若要執行 DISM 命令,請開啟「開始」功能表,在搜尋列中鍵入命令提示符,然後選擇「以管理員身分執行」。 5 Ways to Fix Memory Integrity Errors on Windows 11

在提升的命令提示字元視窗中,輸入以下命令並按 Enter:

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

此命令將列出電腦上安裝的所有驅動程式以及其他資訊。您必須找到在「Windows 安全性」中「已發佈名稱」列下標記的不相容驅動程式。 5 Ways to Fix Memory Integrity Errors on Windows 11

找到它後,記下其提供者名稱。之後,您必須更新不相容的驅動程式。這是因為該問題可能是由於驅動程式損壞或過時而導致的;無論哪種情況,更新驅動程式都可以解決問題。

若要更新驅動程序,請開啟裝置管理員,按一下“檢視”,然後選擇“按驅動程式列出的裝置”。

找到不相容的驅動程序,雙擊它,然後右鍵單擊相關設備並選擇“更新驅動程式”。 5 Ways to Fix Memory Integrity Errors on Windows 11

選擇「自動搜尋驅動程式」。然後,Windows 將嘗試尋找並下載該裝置的最新驅動程式。如果 Windows 無法找到更新,您可以造訪裝置製造商的網站下載最新的驅動程式更新。 5 Ways to Fix Memory Integrity Errors on Windows 11

例如,如果問題與您的鍵盤驅動程式有關,請造訪鍵盤製造商的網站並下載鍵盤的最新驅動程式更新。更新將採用 .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