How to enable Memory Integrity on Windows 11 July 16, 2025 by mpogiatzis Open CMD as admin and paste the following command. reg add "HKLM\SYSTEM\CurrentControlSet\Control\DeviceGuard\Scenarios\HypervisorEnforcedCodeIntegrity" /v Enabled /t REG_DWORD /d 1 /f It should look like this.Restart your PC and you are good to go.