Memory Integrity On: Fix the Drivers That Block It

Core isolation's best feature often refuses to switch on, and the fix is usually a forgotten driver you can remove in minutes.

FREE$34.95UpdateStar PremiumShare a link to claimThere it is again: the little yellow warning on the Windows Security icon in your taskbar. You click it, expecting something dramatic, and find a calm sentence telling you that memory integrity is off. You flip the switch, and Windows answers with a list of "incompatible drivers" and a toggle that refuses to budge. Annoying, sure. But this switch is one of the best free security upgrades your PC has, and getting it to stick usually takes ten minutes.

Memory integrity (Microsoft also calls it Hypervisor-protected Code Integrity, or HVCI) is part of Core isolation in Windows Security. It checks drivers inside an isolated, hardware-virtualized area before they're allowed to run in the Windows kernel. That makes it much harder for malware to sneak in through a low-level driver and take over your PC. As a bonus, turning it on also activates the Microsoft vulnerable driver blocklist, which stops known-bad drivers from loading.

Before you start: is virtualization enabled?

Memory integrity needs hardware virtualization, and that has to be switched on in your PC's UEFI/BIOS. On most current PCs it already is. If the memory integrity toggle is missing or greyed out, restart into your firmware setup and look for the CPU virtualization option (often named Intel VT-x or AMD SVM, depending on the board). Save, reboot, and continue below.

Step 1: Flip the switch

  1. Open Windows Security from the Start menu.
  2. Click Device security.
  3. Under Core isolation, click Core isolation details.
  4. Set Memory integrity to On.
  5. Restart when Windows asks you to.

Windows Security Device security page with the Device security menu item and the Core isolation details link highlighted Device security is where Core isolation lives.

Want a shortcut? Press Win+R, paste windowsdefender://coreisolation/ and hit Enter. That opens the Core isolation page directly.

If the toggle stays on after the restart, you're done. If Windows complains about drivers instead, keep reading.

Step 2: Find the drivers that block it

When memory integrity can't start, the Core isolation page shows a link called Review incompatible drivers. Click it and expand each entry. You'll typically see a Published name such as oem42.inf, plus the original file name, the manufacturer and the driver date. Write down every published name.

Often the culprit is a leftover from hardware you stopped using years ago: an old USB Wi-Fi stick, a game controller adapter, an RGB tool, a virtual drive utility. Sometimes it's a driver for something you still own.

Step 3: Try an update first

Microsoft's advice is to check with the device manufacturer for an updated driver before removing anything. That's the safe path for hardware you still use.

  1. Run Windows Update and check Advanced options > Optional updates for driver updates.
  2. Visit the manufacturer's support page and install the newest driver for your model.
  3. Restart and open Core isolation details again.

If the vendor has stopped updating the device, removing the app or device that installed the driver is the next move.

Step 4: Remove the old driver package with pnputil

For drivers belonging to hardware you no longer use, the built-in pnputil tool removes them cleanly. Create a restore point first (search for Create a restore point in Start), so you can roll back if you pick the wrong one.

  1. Right-click Start and open Terminal (Admin) (on Windows 10: Windows PowerShell (Admin)).
  2. Type pnputil /enum-drivers to list all third-party driver packages. Find the published name from Step 2 and check that the provider and class match what you expect.
  3. Remove it with pnputil /delete-driver oem42.inf /uninstall (use your own number).
  4. If pnputil reports that a device is still using the driver, add /force at the end. Only do that when you're sure you don't need the device.
  5. Restart and check the incompatible driver list again.

Repeat for every entry. Once the list is empty, the memory integrity toggle should finally stay on.

Step 5: Drivers without an INF name

Some entries only show a .sys file, with no oem name. These are usually drivers left behind by uninstalled software. AutoRuns from Microsoft's Sysinternals suite can find them: run it as administrator, open the Drivers tab, search for the file name from the list and delete that entry. Restart, then try the toggle again. Treat this as the last resort, because removing a driver Windows still needs can break the hardware that relies on it.

Step 6: What it costs in games

Here's the honest part. Microsoft itself has said that memory integrity and the Virtual Machine Platform can affect gaming performance, and that gamers may want to switch them off while playing and back on afterwards. Microsoft didn't publish numbers, and the effect depends heavily on your processor.

Newer chips handle it far better. Memory integrity runs best on Intel processors from the Kaby Lake generation onwards and on AMD processors from Zen 2 onwards, which have hardware features for it. Older CPUs fall back to an emulation mode that, in Microsoft's words, has a bigger impact on performance.

So test it yourself. Run your favorite game with memory integrity on, note the frame rate in the same scene, then compare. On a modern gaming PC the difference is often hard to notice. If you do switch it off for a gaming session, put a reminder somewhere to turn it back on, because the protection only works while it's enabled.

Trick: check that it's really running

Press Win+R, type msinfo32 and press Enter. In System Summary, scroll down to the Virtualization-based security lines. With memory integrity active, Virtualization-based security shows Running, and the services running list includes Hypervisor enforced Code Integrity.

If Windows won't boot afterwards

Rarely, an incompatible driver causes boot failures once memory integrity is on. Microsoft documents a fix: boot into the Windows Recovery Environment, open Command Prompt and run:

reg add "HKLM\SYSTEM\CurrentControlSet\Control\DeviceGuard\Scenarios\HypervisorEnforcedCodeIntegrity" /v "Enabled" /t REG_DWORD /d 0 /f

Restart, and Windows starts with memory integrity off again. Then deal with the problem driver before you retry.

Our verdict

Memory integrity belongs on for nearly everyone: office PCs, family laptops and most gaming rigs with a reasonably modern CPU. Only owners of older processors who play demanding games have a real reason to think twice. Your task for today: open Core isolation details, try the toggle, and if it refuses, clear out those forgotten drivers.

Related on UpdateStar

about author