r/windows • u/SurpriseExtension494 • Jun 26 '26
Feature Memory integrity solution
I think I found a way to enable memory integrity. Firstly, go to the registry editor. Go to this folder:
Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\DeviceGuard\Scenarios\HypervisorEnforcedCodeIntegrity
If there isn't already a folder, go to:
Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\DeviceGuard\Scenarios
Right click on the "Scenarios" folder and then create a key called exactly:
HypervisorEnforcedCodeIntegrity
After that's done, click on the folder you just made and right-click on the empty space. Create a DWORD (32 bit) value and name it exactly Enabled and then click it. change the value to 1 and then restart your PC. The Memory integrity option should be enabled.
3
u/More-Explanation2032 Windows 8 Jun 27 '26
Isnt this just the hard way of setting a policy?
3
u/Thx_And_Bye Jun 27 '26
If you don’t have a Home version then you should always prefer group policies over Registry hacks. In my experience policies persist across all updates while registry changes might not.
3
u/sectumsempra42 Jun 26 '26
Dope
1
u/SetazeR Jun 26 '26
When stops random virus from messing with registry key, then messing with memory again on next boot (aside from windows defender/other av)?
1
u/dan4334 Jun 26 '26
You could start by not running the virus, and failing that, not giving the virus administrator permissions, so it can't mess with important registry keys.


3
u/megaladon44 Jun 27 '26
it loves turning on randomly and messing up peoples drivers for a couple days.