Framecalm › Tweaks › System and security

Turn off Memory Integrity and VBS

Extreme · Noticeable · Windows 10 and 11

What it does

Virtualization-based security costs some CPUs 5 to 15% in games. Microsoft itself suggests gamers can turn it off. This does both parts.

CategorySystem and security
TierExtreme: turns off a Windows protection or feature. Only for people who know what they give up.
Expected differenceNoticeable
Needs adminYes
RestartNeeded before it takes effect
Framecalm presetsExtreme

The trade-off

Removes a layer of protection against kernel-level malware. A few anti-cheats and work devices require it. Takes effect after a restart.

Exactly what it changes

Do it by hand

Open Command Prompt as administrator and run:

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

To undo it:

reg delete "HKLM\SYSTEM\CurrentControlSet\Control\DeviceGuard" /v "EnableVirtualizationBasedSecurity" /f
reg delete "HKLM\SYSTEM\CurrentControlSet\Control\DeviceGuard\Scenarios\HypervisorEnforcedCodeIntegrity" /v "Enabled" /f

Restart Windows afterwards. Make a restore point first if you're changing several things at once. Framecalm does that for you, keeps the old values, and checks each one after writing it.

More system and security tweaks