diff --git a/ProcessHacker/options.c b/ProcessHacker/options.c index 8b77898a1979..7f83b10814cc 100644 --- a/ProcessHacker/options.c +++ b/ProcessHacker/options.c @@ -1101,7 +1101,7 @@ NTSTATUS PhpSetExploitProtectionEnabled( { status = PhOpenKey( &keyHandle, - DELETE, + KEY_WRITE, PH_KEY_LOCAL_MACHINE, &keypath->sr, OBJ_OPENIF