Turning off Memory integrity removes a protection against malicious low-level drivers; I'd keep it on for normal use and seek a compatible driver first. On a work or school PC, get IT approval before proceeding. To turn it off, open Windows Security > Device security > Core isolation details, set Memory integrity to Off, save your work and restart. Reopen that page to verify the switch stays Off.
This changes the Memory integrity feature inside Core isolation; it isn't a switch for every virtualization-based security feature.
Decide whether the switch addresses your problem
Microsoft identifies Memory integrity as Hypervisor-protected Code Integrity, or HVCI. It uses hardware virtualization to protect code-integrity checks. Core isolation contains other security features, whose availability varies with Windows and the installed hardware.
| What you see | Next action |
|---|---|
| A named driver can't load | Check Windows Update or the driver maker for a compatible update first. |
| A gaming tip promises more FPS | Don't assume this setting causes your slowdown. Keep the game, hardware and test conditions specific. |
| A grayed switch or administrator message | Have the responsible administrator check the policy and device configuration. |
| Memory integrity is off and you want protection | Use the re-enable steps below and resolve any reported incompatible driver. |
For A driver can't load on this device, Microsoft's driver-block guidance puts an updated compatible driver before turning Memory integrity off. Record the driver and company names from the notification. If no update is available, ask the maker about a supported fix. An application launching afterward doesn't make an old driver secure or establish that all its functions work.
On a Secured-core PC, Microsoft warns that turning Memory integrity off takes the device out of its Secured-core state. Keep a plan to restore the protection. Don't disable Secure Boot, the TPM, antivirus or the vulnerable driver blocklist to accompany this change.
Turn Memory integrity off and restart
- Save open work. Record the current Memory integrity state and the exact task you're checking.
- Open Start, search for Windows Security and open the app.
- Select Device security, then Core isolation details.
- Set Memory integrity to Off. Approve the administrator prompt only if you're authorized to make this change.
- Restart the PC to apply the change. Return to the same page and confirm that Memory integrity remains Off.
- Repeat the specific driver or application task once and record the result. If the change doesn't address it, restore Memory integrity rather than leaving protection off while trying unrelated fixes.

The documented Windows 11 route is also available through Settings > Privacy & security > Windows Security > Device security > Core isolation details. A missing page or disabled control is a reason to inspect the device configuration, not to start deleting security registry values.
If Memory integrity already reads Off after a restart, there is no further off switch to apply here. Continue from the driver or application error you still have. Repeatedly cycling the control won't identify that failure.
Check running HVCI separately from VBS
An Off Memory integrity switch doesn't prove that every VBS service stopped. If support needs a runtime readout, open Windows PowerShell as an authorized administrator and run this read-only query from Microsoft's Win32_DeviceGuard verification method:
Get-CimInstance -ClassName Win32_DeviceGuard -Namespace root\Microsoft\Windows\DeviceGuard | Select-Object VirtualizationBasedSecurityStatus, SecurityServicesConfigured, SecurityServicesRunning- SecurityServicesRunning containing 2 means Memory integrity is running.
- SecurityServicesConfigured containing 2 means it is configured. That field alone doesn't establish the running state.
- VirtualizationBasedSecurityStatus equal to 2 means VBS is enabled and running. It isn't a separate claim that HVCI is running; read SecurityServicesRunning for that.
Keep the field names with their values. The same number has a different meaning in each field. If the page and runtime readout still disagree after restarting, give both to support rather than disabling the hypervisor to make the VBS value change.
If the switch is managed or turns itself back on
Stop at an administrator restriction you can't authorize. Microsoft documents Memory integrity management through Intune, Group Policy and App Control, including configurations with UEFI lock. Administrator membership alone doesn't describe every policy that can apply to the device. Give IT the Windows version, the exact message, before-and-after state and whether you completed a restart.
A Windows 11 24H2 community report describes the switch returning to On after reboot. Its owner reported success only after disabling firmware virtualization. That is a broader change than the Memory integrity toggle; I wouldn't copy it as a routine fix. A separate Windows 10 domain discussion reports similar persistence without a confirmed resolution from the original owner. These cases justify checking effective management, not assuming one registry value defeats it.
Don't leave a domain, rename code-integrity policy files or switch off the hypervisor to force this local setting. Have the administrator or PC maker resolve a persistent or unavailable control. Record a page that isn't present as missing; it doesn't prove that protection was successfully changed.
Don't confuse an Off switch with a performance result
Microsoft's HVCI performance guidance says older processors that emulate the required execution-control features can have a bigger performance impact. That doesn't establish a universal FPS gain for your game. Broad percentage claims without a matching processor, game, settings and measurement method aren't a reliable reason to weaken protection.
Keep the original application symptom separate. For a crash naming vgk.sys, use the Vanguard crash investigation; its security requirements matter. On a managed Hotpatch device, Hotpatch eligibility and restart checks address another task that depends on the device's security configuration. Neither problem is solved just by making a switch read Off.
Turn Memory integrity back on
- Finish the compatibility check and update or replace the affected software or driver through its maker's supported procedure.
- Return to Windows Security > Device security > Core isolation details and set Memory integrity to On.
- Save work and restart when required, then reopen the page and confirm the On state.
- Repeat the actual device or application task with protection restored. Keep both the security state and functional result in the support record.
If Windows reports an incompatible driver, record its exact name and contact the device or application maker for a compatible update. Microsoft's Device Security guidance also describes removing the device or app that needs an incompatible driver when no compatible version is available. Choose that with the responsible vendor; don't delete an unfamiliar .sys file or driver package blindly.
Windows 11 22H2 and later can show a warning when Memory integrity is off. Dismissing the warning doesn't turn the protection on. If Windows becomes unstable during re-enabling, preserve the error and involve the PC maker or administrator rather than repeatedly changing boot settings. The Windows system repair hub provides the separate error-specific investigations.


