Turn Off Data Execution Prevention (DEP) for Particular Program

Microsoft introduced Data Execution Prevention or DEP, a security feature that can help prevent damage to your computer by monitoring programs from time to time. It is present in Windows Server as well as Windows 10/8/7/Vsta. Monitoring ensures that running program use system memory efficiently. If there is any instance of a program on your computer using memory incorrectly, DEP notices it, closes the program and notifies you.

If you want to generally turn off DEP or Data Execution Prevention in your Windows 10, you can always do so, But if you need to turn off Data Execution Prevention for a particular program only, like say explorer.exe, here’s how to go about.

Turn off Data Execution Prevention for Particular Program

Open Windows File Explorer. Right-click This PC or Computer and choose, ‘Properties’. Then, select the ‘Advanced System settings’ option. Next, from the ‘System Properties’ window, select the ‘Advanced’ tab. Choose the ‘Performance’ section now and from the new Performance Options window that appears on your computer screen, select ‘Data Execution Prevention tab’.

You will see options:

  • Turn on DEP for essential Windows programs and services
  • Turn on DEP  for all programs and services except those I select.

DEP

Select the latter and click Add. Browse to the Program Files folder, find the .exe file for the program, and then click Open.

This way, you can disable or turn off Data Execution Prevention for Explorer too, by navigating to the C:\Windows folder and selecting explorer.exe.

Posted by on , in Category Windows with Tags
Anand Khanse is the Admin of TheWindowsClub.com, 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.

7 Comments

  1. bincode

    Good work, thank you! But it doesn’t work with 64-bit executables. Any ideas?

  2. Mayank

    Getting error “you can not turn off DEP for this program”

  3. zame

    doesn’t work on 64 bit so entirely worthless as of last year thanks for nothing.

  4. m

    Go to tools, InPrivate Browsing. Enter the URL

  5. Kyle Hodgins

    This does not help with the fact the options too control DEP are greyed / faded out making it physically impossible to do this, and doing the command that is suppose to reanable that which is bcdedit.exe /set {current} nx Optln it says that line does not register even though that is the proper command, because apparently DEP does not allow me to play Final Fantasy 13 if DEP is on, but if DEP is off i’m not allowed to play any of my other steam games online because it blocks VAC anti cheat shield on Valve servers, so here is some adive get rid of DEP microsoft, we don’t freaking want it, it useless and causes us nothing but headaches.

  6. Whiskey911

    Hey, I’ve already followed the following procedures and when I go to the DEP in “Performance” setting in the “Advanced” of System Properties, both options weren’t click-able (fade), and there’s a note on the bottom of the window, it says, “To use these settings you must be a computer administrator and you must use the bcdedit.exe file.” Can anybody help?

  7. Michele Modica

    I need to disable DEP for a program but the performance options windows appears inactive, why?

Leave a Reply

Your email address will not be published. Required fields are marked *


2 + 7 =