Enable ASLR, DEP, and heap protection
Enable Windows Exploit Protection safeguards in Windows 10 or Windows 11.
Windows Exploit Protection helps block common memory-based attacks. This guide enables ASLR, DEP, and heap protection across Windows.
Enable the protections
These steps are the same in Windows 10 and Windows 11.
1
2
3
4
Verify the settings
Return to Windows Security → App & browser control → Exploit protection. Confirm each setting shows On by default.
If an application stops working
Open Exploit protection settings → Program settings.
Select the affected application, or use Add program to customize.
Restore the incompatible protection to its default value.
If settings are unavailable
A work or school organization may manage Exploit Protection. Contact your administrator if the controls are locked or revert after changes.
Last updated
Was this helpful?
