Home  >  Article  >  “Windows 11 Memory Integrity is Off” Issue: How to Fix

“Windows 11 Memory Integrity is Off” Issue: How to Fix

WBOY
WBOYforward
2023-04-28 19:34:0512352browse

The security of your Windows PC is critical to its proper functioning. If the system is protected from hackers and malware and its core functionality is stable, then Windows has a secure environment to perform full functionality.

Windows has a number of security features that utilize different components to achieve this, and Memory Integrity is one of them. But these features can sometimes impact system performance, especially if they are forced on you by default.

How does memory integrity work?

To understand the breadth of how memory integrity works, we need to understand two other features related to it - core isolation and virtual machine platform (VMP).

  • Core Isolation: This is a set of virtualization-based security features that work by isolating important core processes in memory and creating processes that can run without hindrance. virtual environment to protect them.
  • Virtual Machine Platform (VMP): VMP provides the virtual machine services that the "core isolation" function relies on.
  • Memory Integrity: Also known as Hypervisor Protected Code Integrity (HVCI), this is a Windows security feature that falls under the primary "Core Isolation" umbrella that helps Prevent malware and programs from accessing drivers and control high-security processes.

When these features are turned on, Windows isolates the core decision-making processes from the rest of memory and creates a safe working environment for them.

When a program runs, Memory Integrity must verify its driver code and ensure that the installed driver is trustworthy before it can access core Windows functionality. As Microsoft itself emphasizes, this whole process is akin to security in a locked booth, where "Memory Integrity" is the security guard in an isolated environment created by "Core Isolation."

All of this increases the security of the system, and although it all happens very quickly, with so many checks, there is bound to be some impact elsewhere.

What impact does memory integrity have on your PC performance?

Microsoft notes that virtualization technology and memory integrity features may have some impact on performance, especially when gaming or running resource-intensive applications.

In a blog post, Microsoft stated that "in certain scenarios and in certain configurations of gaming devices, memory integrity and VMP may have an impact on performance...".

The entire process of driver verification occupies key system resources and is bound to have an impact on performance. However, it's important to note that on modern systems running Windows 11, this effect appears to be negligible when you're running day-to-day tasks. Only when running resource-hungry applications are valuable resources squeezed.

When should you disable memory integrity on Windows 11?

The entire set of core isolation features is an important aspect of Windows security. It is an important part of ensuring the overall security of your PC and data from malware and hackers. But the performance trade-off may not be worth it, depending on where you stand.

While the performance impact on general productivity may or may not be noticeable, when it comes to gaming it's a different story. This means that if you experience performance degradation when these features are turned on, you should probably consider disabling them before starting a game.

According to Microsoft, "Gamers who want to prioritize performance can choose to turn off these features while playing games and turn them back on when they're done. However, if turned off, the device may be vulnerable to threats ."

"Windows 11 Memory Integrity is turned off" Question: How to turn it on in 3 ways

If you decide to turn off Memory Integrity, here are some ways to help you do so One point:

Method 1: Use Windows Security

Press Start, type "Windows Security" and then press Enter.

“Windows 11 内存完整性已关闭”问题:如何修复

Click Device Security in the left pane.

“Windows 11 内存完整性已关闭”问题:如何修复

Under Core Isolation, click Core Isolation Details.

“Windows 11 内存完整性已关闭”问题:如何修复

Here, under Memory Integrity, toggle the switch to "Off".

“Windows 11 内存完整性已关闭”问题:如何修复

You will receive a Windows security notification asking you to restart your system for the changes to take effect.

To turn memory integrity back on, return to this window and switch Memory Integrity to On.

Method 2: Use Registry Editor

Another way to turn off memory integrity is to use Registry Editor. Here's how to do it.

Press Start, type "regedit" and press Enter.

“Windows 11 内存完整性已关闭”问题:如何修复

Once the Registry Editor opens, navigate to the following address:

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

Alternatively, copy and paste the above into the address bar of Registry Editor and press Enter.

“Windows 11 内存完整性已关闭”问题:如何修复

Next, double-click the Enable key on the right.

“Windows 11 内存完整性已关闭”问题:如何修复

#Then set its value data from "0" to "1".

“Windows 11 内存完整性已关闭”问题:如何修复

Click OK.

“Windows 11 内存完整性已关闭”问题:如何修复

Now close the Registry Editor and restart your PC for the changes to take effect.

To turn memory integrity back on, return this key, change the value back to "0" and click OK.

Method 3: Use the Group Policy Editor

The Group Policy Editor can be used to enable or disable the entire virtualization-based security on which memory integrity depends. To do this, follow these steps:

Press Start, type "Group Policy", and then press Enter.

“Windows 11 内存完整性已关闭”问题:如何修复

After the Group Policy Editor opens, click Administrative Templates under Computer Configuration in the left pane.

“Windows 11 内存完整性已关闭”问题:如何修复

#Then, on the right side, double-click System.

“Windows 11 内存完整性已关闭”问题:如何修复

Double-click Device Guard.

“Windows 11 内存完整性已关闭”问题:如何修复

Now, double-click to turn on virtualization-based security .

“Windows 11 内存完整性已关闭”问题:如何修复

Select Disable to turn it off.

“Windows 11 内存完整性已关闭”问题:如何修复

Then click OK.

“Windows 11 内存完整性已关闭”问题:如何修复

Now close the Group Policy Editor and restart your PC.

To turn it back on, select Enable.

“Windows 11 内存完整性已关闭”问题:如何修复

#Then, under Options, click the drop-down menu for Virtualization-based Code Integrity Protection.

“Windows 11 内存完整性已关闭”问题:如何修复

Select Enabled with UEFI Lock.

“Windows 11 内存完整性已关闭”问题:如何修复

Finally, click OK.

“Windows 11 内存完整性已关闭”问题:如何修复

Now close the Group Policy Editor and restart your PC.

FIX: Memory Integrity is turned off and cannot be turned on

For some users, simply turning on the Memory Integrity switch does not turn it on. Instead, what they get is an error message telling them that an incompatible or malicious driver is installed.

In most cases, Windows will determine exactly which driver is causing the problem. You will need to check with the device manufacturer if a compatible driver is available. If this is not the case, uninstalling the application or device linked to these drivers may resolve the issue, and you must wait until the publisher rolls out a compatible driver before you can use the application associated with it.

If uninstalling the application or device does not resolve the issue, you must uninstall the incompatible driver yourself. To do this, first, note the "Release Name" of the driver when you receive the error message.

“Windows 11 内存完整性已关闭”问题:如何修复
Image: Microsoft Answers

Then, follow these steps:

Press Start, type cmd, Right-click Command Prompt and select Run as administrator.

“Windows 11 内存完整性已关闭”问题:如何修复

Here, type the following command to get a list of all third-party drivers on your system:

dism /online /get-drivers / format:table

“Windows 11 内存完整性已关闭”问题:如何修复

Click to enter. You will now get a list of all third-party drivers on your system, including additional information about them such as the name of the provider, release date, version, etc.

“Windows 11 内存完整性已关闭”问题:如何修复

To uninstall the one causing the problem, type the following command:

pnputil /delete-driver (driver's published name) /uninstall /force

“Windows 11 内存完整性已关闭”问题:如何修复

# Make sure you type the correct publication name. Otherwise, you may end up deleting running drivers and causing problems with peripherals and applications. Press Enter after entering the command.

You will now remove the problematic driver and can turn on Memory Integrity via the method given above.

FAQ

1. Should I turn on Memory Integrity on Windows 11?

Memory integrity is a key feature of Windows security because it creates another layer of security for core components running in a virtual environment. If you don't turn it on, you're basically leaving your system vulnerable to a variety of threats that can compromise not only your system, but your data as well.

That said, if you only disable it for a short period of time, such as while playing a game, it shouldn't cause much trouble as there are other Windows security features that can protect you on its behalf.

2. Does memory integrity slow down your PC?

Theoretically, memory integrity will have an impact on performance. However, in real applications, you may or may not feel any performance degradation at all. You'll only experience slight slowdowns when running resource-intensive applications like games. So if you want to improve your gaming performance, you can try disabling memory integrity beforehand.

3. Is memory integrity turned on by default?

The memory integrity feature was previously turned off by default. However, Microsoft has been pushing hard for users to make this a security feature, and it has been turned on by default since the 22H2 update.

We hope you now have a better understanding of what memory integrity is, what it does, and how to turn it on or off depending on whether you want better performance or better security on Windows 11 .

The above is the detailed content of “Windows 11 Memory Integrity is Off” Issue: How to Fix. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:yundongfang.com. If there is any infringement, please contact admin@php.cn delete