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: 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.