Viruses and other threats can control your computer by executing code from the memory. To avoid damage, screen application feature Data Execution Prevention (DEP) is provided to keep the memory in safe.
 If there are any improper uses of applications, Data Execution Prevention will close them automatically. By default, it monitors the programs and services of Windows, but sometimes it also works for the 3rd application which makes you unable to execute those applications. Like security features, it is not recommended to disable.
However, in many cases, a reliable program is prevented repeatedly by DEP, so you have to define this program for DEP to avoid being blocked or you can also disable this feature.
 
Method 1: Fixing by using Command Promt.
Run the Command Prompt window in the highest mode (Run as administrator)
 
fix the error "Data Execution Prevention" when running applications in Windows 10
Run the Command Prompt
Then use the following corresponding commands to enable, disable DEP.
 
To disable DEP, please use this command:
 
fix the error "Data Execution Prevention" when running applications in Windows 10
Use this command to disable DEP
To reactivate the DEP mode using the following command:

bcdedit.exe/set {current} nx AlwaysOn
 
If the process goes well, you will see a message to inform that the operation was completed - And now you run the program again see the result!


Method 2: Define the program to DEP.
 
Firstly, you right-click on My Computer > Propeties
Then click to choose Advanced system settings.

fix the error "Data Execution Prevention" when running applications in Windows 10
Click to choose Advanced system settings.
After that, the System Properties window will appear, > Select "Settings" in the Performance property.
 
fix the error "Data Execution Prevention" when running applications in Windows 10
Select "Settings" in the Performance property.
Performance Options window appears > Click on the Data Execution Prevention tab. 
 
fix the error "Data Execution Prevention" when running applications in Windows 10
Data Execution Prevention tab

Now you will see 2 choices. Choose “Turn on DEP for all programs and services except those I Select”
 
fix the error "Data Execution Prevention" when running applications in Windows 10
 You will see 2 choices
 Click Add and navigate to the DEP error application and select > Click Apply > Click OK

fix the error "Data Execution Prevention" when running applications in Windows 10
Follow these steps

Then you restart the system to check the result. If your find this article useful, let’s share to your friends. If you have any questions, please leave your comments in the box below. We are happy to receive your feedback. Thank you!