How to Fix Can’t Enable Memory Integrity in Windows 11

Memory Integrity – also known as Hypervisor-protected Code Integrity (HVCI) – is a foundational security feature in Windows 11 that runs kernel-mode code inside an isolated, virtualised environment to protect against malware injection. However, many users discover that the Memory Integrity toggle in Windows Security is greyed out, automatically turns itself off, or displays the warning: “Memory integrity cannot be turned on. Try resolving any incompatibilities with your drivers.” Fixing this problem requires removing obsolete kernel drivers and enabling hardware virtualization.

Identify Incompatible Drivers in Windows Security

Windows 11 blocks Memory Integrity whenever an active or dormant hardware driver fails modern security verification:

  1. Press Windows Key + I to open Settings, then navigate to Privacy & security > Windows Security.
  2. Click Device security.
  3. Under the Core isolation section, click Core isolation details.
  4. Click the link labelled Review incompatible drivers.
  5. Windows will display a list of drivers blocking activation. Note the exact details: the Driver name (e.g. oem12.inf), Published name, and the associated Product/Provider (common culprits include obsolete Logitech, Western Digital, Huawei, or legacy gaming anti-cheat drivers).

Delete Incompatible Drivers via pnputil in Command Prompt

Once you know the published OEM name of the offending driver, the built-in Windows Plug and Play utility (pnputil) can cleanly uninstall and remove the driver package from the system DriverStore:

  1. Right-click the Start button and select Terminal (Admin) or Command Prompt (Admin).
  2. To verify the driver details, execute:
    pnputil /enum-drivers
  3. Find the driver matching the OEM identifier flagged by Windows Security (for example, oem25.inf).
  4. Forcefully uninstall and delete the driver package from the system:
    pnputil /delete-driver oem25.inf /uninstall /force
  5. Repeat this command for every incompatible driver identified on your system.
  6. Restart your computer once all problematic drivers have been purged.

Enable CPU Hardware Virtualization in BIOS/UEFI

Memory Integrity requires hardware-enforced virtualisation technologies built into your processor. If virtualisation is disabled in firmware, the toggle remains greyed out:

  1. Press Ctrl + Shift + Esc to launch Task Manager.
  2. Switch to the Performance tab and select CPU.
  3. Look at the bottom-right specifications for Virtualization. If it reads Disabled, you must enable it in your motherboard BIOS.
  4. Restart your computer and press the BIOS setup key (typically Del, F2, or F12).
  5. Navigate to the advanced CPU settings. On Intel motherboards, enable Intel Virtualization Technology (Intel VT-x) and VT-d. On AMD motherboards, enable SVM Mode (AMD-V).
  6. Save changes and reboot into Windows 11.

Enable Virtual Machine Platform and Windows Hypervisor Platform

Windows 11 requires optional hypervisor modules to host core isolation security boundaries:

  1. Press Windows Key + R, type optionalfeatures, and press Enter.
  2. In the Windows Features dialogue, scroll down and ensure both Virtual Machine Platform and Windows Hypervisor Platform are checked.
  3. Click OK. Allow Windows to download the required components and reboot your PC.

Enable Memory Integrity via the Windows Registry

If the user interface toggle remains unresponsive after resolving driver conflicts, force the enablement flag in the registry:

  1. Press Windows Key + R, type regedit, and hit Enter.
  2. Navigate to: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\DeviceGuard\Scenarios\HypervisorEnforcedCodeIntegrity
  3. Locate the DWORD value named Enabled. If absent, right-click, select New > DWORD (32-bit) Value, and name it Enabled.
  4. Double-click Enabled and change its value data to 1.
  5. Restart your PC. Return to Windows Security > Device security to confirm that Memory Integrity is active.

Get the best tech tips delivered straight to your inbox.

Join thousands of readers mastering Apple, Google, Microsoft, and Linux.