Skip to Content

How Can You Stop Windows 11 Memory Integrity from Enabling After Restart? (Simple Guide)

Why Does Windows 11 Keep Turning On Memory Integrity? (Easy Steps to Regain Control)

Memory Integrity keeps your computer safe. It stops bad code and drivers from changing important parts of Windows. Windows may turn this on even if you switch it off. This protects your machine from harm, but it sometimes goes against what users want.

Reasons Memory Integrity Turns On Again

Group Policy Enforced by Admin

If your computer is at work or school, a policy may turn Memory Integrity back on after you switch it off. Group Policy tells Windows to always leave protection on.

Windows Update Resets Setting

After an update, Windows might reset security options. This happens to keep your PC safe by putting security settings back to recommended values.

Registry Flags Reset

Windows uses special settings in the Registry. Sometimes, these get set back to ‘Enabled’ (1), making Memory Integrity turn back on.

Third-Party Tools

Some security tools or system cleaners might re-activate the feature or block your changes.

Solutions to Control Memory Integrity

Solution 1: Change Group Policy (If Available)

  1. Open Group Policy Editor (type gpedit.msc in the Start menu).
  2. Go to: Computer Configuration > Administrative Templates > System > Device Guard
  3. Find Turn On Virtualization Based Security.
  4. Set to Disabled.
  5. Click Apply > OK.
  6. Turn off Memory Integrity. Restart your computer.

Solution 2: Change the Registry (For Home Editions)

  1. Press Win + R, type regedit, hit Enter.
  2. Go to: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\DeviceGuard\Scenarios\HypervisorEnforcedCodeIntegrity
  3. Double-click Enabled and set the value to 0.
  4. Restart.

Solution 3: Block Updates from Enabling Memory Integrity

  1. Open Windows Security.
  2. Go to Apps & browser control > Exploit protection > Exploit protection settings.
  3. Set Force randomisation for images (Mandatory ASLR) to Off.
  4. Turn off Randomise memory allocation (Bottom-up ASLR).
  5. Reboot.

Solution 4: Use PowerShell

  1. Right-click Start, choose Windows PowerShell (Admin).
  2. Type:
    Set-MpPreference -EnableMemoryIntegrity $false
  3. Press Enter. Restart.

Solution 5: Turn Off Hardware Virtualization (Last Resort)

  1. Reboot and enter BIOS/UEFI (usually F2 or DEL at startup).
  2. Find Virtualization or Intel VT/AMD-V.
  3. Set it to Disabled.
  4. Save and exit BIOS.

Caution: Disabling this may break other features needing virtualization—use only if nothing else works.

Solution 6: Clean Boot to Spot Third-Party Interference

  1. Press Win + R, type msconfig, Enter.
  2. Go to the Services tab.
  3. Tick Hide all Microsoft services. Click Disable all.
  4. Go to Startup tab, open Task Manager, disable unnecessary items.
  5. Restart.

Enable third-party services one by one to find what turns Memory Integrity back on.

More Questions Answered

Question: Why does Memory Integrity keep turning off?

Answer: Usually, outdated or broken drivers block this security tool. Windows checks drivers on startup. If any are not safe or compatible, Memory Integrity turns off to avoid crashes and problems.

Question: Is Memory Integrity on by default?

Answer: Yes. Most new Windows 11 computers have this on. Some workplaces may turn it off for their own reasons using policies.

Helpful Tips at a Glance

  • Always back up your data before changing settings.
  • Only turn off security features if you understand the risks.
  • If you can’t change settings, ask your IT admin for help.
  • Check drivers for updates—they often cause Memory Integrity issues.

Stay secure and keep your Windows 11 settings the way you want them.