Turn Off Data Execution Prevention (DEP) for Particular Program

Starting with Windows Vista, 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. 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, 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 Explorer. Right click This PC or Computer and choose, ‘Properties’. Then, select the ‘Advanced System settings’ option. Next, from the ‘System Properties’ window, select ‘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.


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.