How To Disable DEP Windows 10 (Data Execution Prevention)

DEP also called Data Execution Prevention Windows 10 is a feature in Windows operating system that prevents code from being run in certain regions of memory that are not authorized. Data Execution Prevention helps to prevent attacks and exploits, that normally would be able to run freely, from executing. Data Execution Preventions are hardware-enforced DEP and software-enforced DEP. By default this feature is enabled but if you want to Disable DEP in Windows 10.

Most users will never need to worry about DEP because it works in the background and protects Windows system programs. But if you Disable DEP then it can cause issues with certain programs. DEP will sometimes shut down a program or process without any notification if it violates DEP guidelines. Normally, these are third-party or older programs not for Windows and harmful.

How To Disable DEP Windows 10 (Data Execution Prevention)

You can turn off Data Execution Prevention for a particular program in Windows by following the steps below. Also, check Turn Off DEP Server 2012, Data Execution Prevention Windows XP, fix You Cannot Turn Off DEP For This Program. If you can discover the control panel for DEP, you will find there is not an option to show it down.

This is not a terrible thing if you don’t want to troubleshoot a problem. You then wish to remove it as an issue, to ensure the software works inside the environment as a whole. Then you can certainly re-enable it and make an effort to manage DEP precisely allowing your software to operate.

Starting with Windows Vista, Microsoft introduced Data Execution Prevention or DEP, a security feature that can help prevent damage and monitoring ensures that running program use system memory efficiently. We have already witnessed how Data Execution Prevention Windows 10, a protection element might help reduce injury to your PC from infections as well as other security risks. Damaging programs who try and attack Windows by attempting to implement code from process memory areas reserved for Windows along with other certified plans are stopped. This kind of attacks can harm your plans and documents. DEP (Data DEP Prevention Windows 7) might help protect your PC by monitoring your programs to make sure which they use program memory properly. If DEP notices an application on your PC using storage incorrectly, it ends this program and updates you.

Read : Fix Driver_irql_not_less_or_equal Windows 10

How to turn Off DEP

  • Right click on My Computer > chooses Properties.

  • Click on Advanced system settings in the left panel.

  • In the Advanced tab, click on Settings under Performance.

  • In the Performance Options, click on Data Execution Prevention tab.
  • By default DEP in tuned on for essential Windows programs and services
  • If you are facing issues with a program then select the second radio button which would Turn on DEP for all programs and services
  • DEP is now turned on for every other program and you have to manually add each program that are having problem.
  • Click the Add button and browse to the location of the programs.


Turning DEP always on means it will be always on for all processes in Windows and you cannot exempt any process or program from protection. So it is always recommanded to keep it on. You can use command prompt to do this.

  • Right click on the Windows button and select Command Prompt as admin
  • Type these following commands and hit enter.
  • To always turn on DEP:
bcdedit.exe /set {current} nx AlwaysOn
  • To always turn off DEP:
bcdedit.exe /set {current} nx AlwaysOff

Thanks for reading this article.

Leave a Reply