Verify the Status of Data Execution Prevention (DEP) settings in Windows 10/8/7

Data Execution Prevention, written in abbreviated form as DEP is a security feature that helps you safeguard your system against viruses and other security threats by monitoring your programs to make sure they use the computer’s memory safely. Users need not worry about turning this feature on as it already running and working silently in the background to protect Windows system binaries or programs that “opt-in”. Still. If you want to be sure that the application is running/verify if Data Execution Prevention or DEP in your Windows 10/8/7 PC is on or off, here’s the tip.

Here is a tip that tells you how to verify if Data Execution Prevention or DEP in your Windows 10/8/7 is on or off.

Verify Status of Data Execution Prevention settings

Open an elevated command prompt and copy-paste the following and hit Enter:

wmic OS Get DataExecutionPrevention_SupportPolicy

The number which is displayed denotes the status of DEP on your machine.

0 – DEP is disabled for all processes.
1 – DEP is enabled for all processes.
2 – DEP is enabled for only Windows system components and services. (Default)
3 – DEP is enabled for all processes.

If DEP is turned on for all programs, it can cause issues with some certain programs, in some case. While it is normally not recommended to turn off DEP for the entire system, you can turn off Data Execution Prevention for a particular program in Windows – but don’t do it for the entire computer, as it may make your Windows less secure.
Related posts about DE:
Posted by on , in Category Windows with Tags
Anand Khanse is the Admin of, a 10-year Microsoft MVP Awardee in Windows (2006-16) & a Windows Insider MVP. Please read the entire post & the comments first, create a System Restore Point before making any changes to your system & be careful about any 3rd-party offers while installing freeware.