您是否看到“内存(Memory)已关闭。您的设备可能容易受到攻击。” 错误并且无法在 Windows 11 PC 上打开该功能?您安装的设备驱动程序可能有问题,导致此问题。以下是修复损坏的驱动程序以及导致计算机上出现此问题的其他原因的几种方法。
您看到上述错误的其他原因包括您的Windows 安全(Windows Security)应用程序有故障、您的第三方应用程序有问题、Windows系统文件已损坏等等。

从注册表编辑器强制启用内存完整性(Force Enable Memory Integrity From Registry Editor)
如果您在从Windows 安全应用程序启用(Windows Security)内存完整性(Memory Integrity)时遇到问题,请使用替代方法来激活此安全功能。您可以调整 Windows 注册表中的值来打开此功能,这可以使用 PC 的内置注册表编辑器(Registry Editor)工具来实现。
请注意,对注册表进行不正确的更改可能会导致系统不稳定。因此,您应该只更改推荐值以确保您的电脑保持正常工作(ensure your PC remains working)。
- 按Windows + R打开“运行”(Run)对话框。
- (Type)在框中键入regedit,然后按Enter 键(Enter)打开注册表编辑器(Registry Editor)工具。
- 打开注册表编辑器(Registry Editor)后,转到以下路径:
ComputerHKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlDeviceGuardScenariosHypervisorEnforcedCodeIntegrity
- 双击(Double-click)右侧的启用(Enabled)键。

- 在数值(Value)数据字段中输入 1 ,然后选择确定。

- 关闭注册表编辑器。
- (Restart)打开“开始”(Start)菜单,选择“电源”(Power)图标,然后选择“重新启动” ,重新(Restart)启动电脑。
禁用有故障的设备驱动程序
出现上述错误并且无法打开内存完整性的(Memory Integrity)最常见原因是您安装的设备驱动程序已损坏。有缺陷的驱动程序通常会导致许多问题,使您的电脑出现故障或不稳定。
您可以使用名为Autoruns的免费工具(Autoruns)禁用这些不良驱动程序,(prevent such bad drivers from loading)以防止在您打开电脑时加载这些不良驱动程序。该工具会为您突出显示不良驱动程序,并允许您关闭并重新打开这些驱动程序。
- 打开您喜欢的网络浏览器并启动Autoruns网站。
- 在您的 PC 上下载(Download)、解压并启动该工具。
- 导航到该工具中的“驱动程序”(Drivers)选项卡,让该工具扫描已安装的驱动程序。
- 自动运行(Autoruns)会突出显示有问题的驱动程序。取消选中这些驱动程序旁边的框以关闭这些驱动程序。

- 重新启动您的电脑。
删除损坏(Remove Corrupt)或不兼容的驱动程序
如果禁用有故障的驱动程序后内存完整性(Memory Integrity)问题得到解决,请删除这些驱动程序(remove those drivers)以永久解决问题。然后,您可以从设备制造商的网站或设备管理器(Device Manager)下载适合您设备的驱动程序。
- 右键单击(Right-click)“开始(Start)”菜单图标并选择“设备管理器”(Device Manager)。
- Select View > Show在设备管理器中(Device Manager)选择视图 > 显示隐藏的设备以列出所有可用设备。

- 展开故障设备的类别,右键单击该设备,然后选择卸载(Uninstall)设备。

- 在提示中选择卸载(Select Uninstall)以删除设备。
- 重新启动您的电脑。
如果您之前通过 CD、DVD或USB驱动器安装了设备驱动程序,那么这一次,请从制造商的网站下载并安装最新的驱动程序。这将更新驱动程序并修复由驱动程序引起的任何问题,从而允许您打开设备的安全功能。
重置Windows安全应用程序
Windows安全应用程序的问题(Windows Security app’s issues)可能会阻止您启用内存完整性(Memory Integrity)功能。解决此应用程序问题的一种方法是将应用程序重置为出厂默认设置。这将删除应用程序中的任何自定义配置并修复可能导致内存完整性(Memory Integrity)问题的错误。
您可以使用 Windows 的内置选项来修复Windows 安全(Windows Security)应用程序。这样做还可以确保您的电脑免受恶意软件和病毒的侵害。
- 按Windows + I
打开Windows 设置。(Windows Settings)
- 选择(Select Apps)左侧边栏中的应用程序和右侧窗格中的
应用程序和功能。(Apps)
- 选择列表中Windows 安全(Windows Security)旁边的三个点,然后选择高级(Advanced)选项。

- 在下一页中选择重置。

- 在打开的提示中
选择重置。(Reset)
- (Reboot)重置Windows 安全应用后,(Windows Security)重新启动电脑。
卸载有问题的应用程序
您的 Windows 11 电脑可能安装了有问题的恶意软件,从而干扰 Windows 的内存完整性功能。如果您在安装特定应用程序后开始遇到此问题,请从电脑中删除该应用程序(remove that app from your PC)以解决您的问题。删除不良应用程序还有助于提高系统性能。
然后,您可以找到更好的应用程序替代方案并继续您的任务。
- 按Windows + I
启动设置。
- 选择(Select Apps)左侧边栏中的应用程序和右侧窗格中的
应用程序和功能。(Apps)
- 选择有问题的应用程序旁边的三个点,然后选择卸载(Uninstall)。

- (Select Uninstall)在提示中
选择卸载以删除该应用程序。
- 重新启动您的电脑。
修复 Windows 损坏的系统文件
您看到“内存(Memory)集成已关闭”的可能原因之一。您的设备可能容易受到攻击。” 错误且无法打开内存完整性(Memory Integrity)是因为您的Windows系统文件已损坏。这些有缺陷的文件会阻止您的系统功能正常工作,从而导致许多问题。
幸运的是,您的 Windows 11 PC 包含一个用于扫描和修复不良系统文件的工具。您可以使用 PC 的SFC(系统文件检查器(System File Checker))工具来查找有问题的文件并修复这些文件(find faulty files and fix those files)。该工具从命令提示符(Command Prompt)运行,并且在大多数情况下可以独立工作。
- 打开“开始”(Start)菜单,搜索“命令提示符”(Command Prompt),然后选择“以管理员
身份运行” 。(Run)
- (Choose Yes)在用户帐户控制提示中(User Account Control)选择是。
- 在CMD(CMD)窗口中键入以下命令,然后按Enter。此命令请求Windows Update下载修复损坏文件所需的文件。
DISM.exe /Online /Cleanup-image /Restorehealth

- 运行上述命令后,执行以下命令开始查找并修复损坏的 Windows 文件:sfc /scannow

- 等待(Wait)该工具完成其工作。
由于恶意代码或其他原因而损坏的系统文件现已修复。
更新 Windows 11
Microsoft经常推送各种Windows 11操作系统更新,让您可以修补系统错误、获取新功能并优化整体体验。但是,您的“内存(Memory)集成已关闭。您的设备可能容易受到攻击。” 问题可能是由于系统问题而发生的。在这种情况下,请将您的 Windows 软件更新(update your Windows software)到最新版本,这将解决您的问题。
- 按Windows + I 打开“设置”(Settings)。
- 在左侧边栏中选择“Windows 更新” 。(Windows Update)

- (Choose Check)在右侧窗格中
选择检查更新。
- 下载并安装可用的更新。
- 重新启动您的电脑。
解决(Troubleshoot)电脑(Your)上的Windows
11内存完整性问题(Memory Integrity Problems)
Windows 11 的内存完整性问题(Windows 11’s Memory Integrity issue)发生的原因有多种,其中损坏的设备驱动程序是主要原因。希望(Hopefully)上述故障排除步骤足以解决您的问题。
然后,您可以根据需要打开和关闭内存完整性。(Memory Integrity)享受!
How to Fix the Memory Integrity Is Off Issue on Windows 11
Do you see a “Memorу inis off. Your device may be vulnerаble.” error and can’t turn on the feature on your Windows 11 PC? Your іnstalled device drivers mаy be faulty, leading to this issue. Here are a few ways to fix corrupt drivers and other causes of this problem on yoυr computer.
Other reasons you see the above error are that your Windows Security app is faulty, you have problematic third-party apps, Windows system files are corrupt, and more.

Force Enable Memory Integrity From Registry Editor
If you have trouble enabling Memory Integrity from the Windows Security app, use an alternative method to activate this security feature. You can tweak a value in your Windows registry to turn on this feature, which is possible using your PC’s built-in Registry Editor tool.
Note that making incorrect changes to the registry can render your system unstable. So, you should only change the recommended values to ensure your PC remains working.
- Open the Run dialog box by pressing Windows + R.
- Type regedit in the box and press Enter to open the Registry Editor tool.
- Head to the following path when Registry Editor opens:
Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\DeviceGuard\Scenarios\HypervisorEnforcedCodeIntegrity
- Double-click the Enabled key on the right.

- Type 1 in the Value data field and select OK.

- Close Registry Editor.
- Restart your PC by opening the Start menu, selecting the Power icon, and choosing Restart.
Disable Faulty Device Drivers
The most common reason you get the above error and can’t turn on Memory Integrity is that your installed device drivers are corrupt. Faulty drivers often cause many issues, making your PC malfunction or unstable.
You can prevent such bad drivers from loading when you turn on your PC by disabling them with a free tool called Autoruns. This tool highlights the bad drivers for you and allows you to turn those drivers off and back on.
- Open your preferred web browser and launch the Autoruns website.
- Download, extract, and launch the tool on your PC.
- Navigate to the Drivers tab in the tool and let the tool scan for installed drivers.
- Autoruns highlights your faulty drivers. Untick the boxes next to these drivers to turn these drivers off.

- Restart your PC.
Remove Corrupt or Incompatible Drivers
If your Memory Integrity issue is resolved after disabling the faulty drivers, remove those drivers to fix the problem for good. You can then download the proper drivers for your device from your device manufacturer’s site or Device Manager.
- Right-click the Start menu icon and choose Device Manager.
- Select View > Show hidden devices in Device Manager to list all available devices.

- Expand the category for your faulty device, right-click the device, and choose Uninstall device.

- Select Uninstall in the prompt to remove the device.
- Restart your PC.
If you installed your device drivers from a CD, DVD, or USB drive before, then this time around, download and install the latest drivers from the manufacturer’s website. This will update drivers and fix any issues caused by your drivers, allowing you to turn on your device’s security feature.
Reset the Windows Security App
The Windows Security app’s issues can prevent you from enabling the Memory Integrity feature. One way to fix this app’s problems is by resetting the app to the factory defaults. This deletes any custom configuration in the app and fixes the bugs that may be causing your Memory Integrity problem.
You can use Windows’ built-in option to repair your Windows Security app. Doing this also ensures your PC is safe from malware and viruses.
- Open Windows Settings by pressing Windows + I.
- Select Apps in the left sidebar and Apps & features on the right pane.
- Select the three dots next to Windows Security on the list and choose Advanced options.

- Select Reset on the following page.

- Choose Reset in the prompt that opens.
- Reboot your PC when you’ve reset your Windows Security app.
Uninstall Problematic Applications
Your Windows 11 PC may have problematic malicious software installed, causing interference with Windows’ Memory Integrity feature. If you’ve started experiencing this issue after installing a particular app, remove that app from your PC to resolve your issue. Removing bad apps also helps improve system performance.
You can then find a better alternative to your app and continue your tasks.
- Launch Settings by pressing Windows + I.
- Select Apps in the left sidebar and Apps & features on the right pane.
- Choose the three dots next to the problematic app and select Uninstall.

- Select Uninstall in the prompt to remove the app.
- Restart your PC.
Fix Windows’ Corrupt System Files
One possible reason you see a “Memory integration is off. Your device may be vulnerable.” error and can’t turn on Memory Integrity is that your Windows system files are corrupt. These faulty files prevent your system functions from working normally, causing many problems.
Luckily, your Windows 11 PC includes a tool to scan for and fix bad system files. You can use your PC’s SFC (System File Checker) tool to find faulty files and fix those files. This tool runs from Command Prompt and works on its own for the most part.
- Open the Start menu, search for Command Prompt, and select Run as administrator.
- Choose Yes in the User Account Control prompt.
- Type the following command in the CMD window and press Enter. This command requests Windows Update to download the files required to fix your corrupt files.
DISM.exe /Online /Cleanup-image /Restorehealth

- After running the above command, execute the following command to start finding and fixing corrupt Windows files: sfc /scannow

- Wait for the tool to finish its job.
Your system files that went corrupt due to malicious code or another cause are now fixed.
Update Windows 11
Microsoft often pushes various Windows 11 operating system updates, allowing you to patch system bugs, get new features, and optimize your overall experience. However, your “Memory integration is off. Your device may be vulnerable.” issue may have occurred due to a system problem. In this case, update your Windows software to the latest version, which will resolve your issue.
- Press Windows + I to open Settings.
- Select Windows Update in the left sidebar.

- Choose Check for updates on the right pane.
- Download and install the available updates.
- Restart your PC.
Troubleshoot Windows 11 Memory Integrity Problems on Your PC
Windows 11’s Memory Integrity issue occurs for various reasons, with corrupt device drivers being the leading cause. Hopefully, the troubleshooting steps above are all you need to resolve your issue.
You can then turn on and off Memory Integrity as and when you want. Enjoy!