XP SP2: How to Turn Off the Data Execution Prevention feature (DEP)

Posted on 2006-04-22
Medium Priority
Last Modified: 2012-05-05
Is there a way to disable it globally (registry, OU, policy) instead of using the exception list for executables ?
Question by:Cassavatech
LVL 97

Expert Comment

ID: 16517141
Greetings, Cassavatech !


1. Click Start
2. Select Control Panel
3. Select System
4. Click the Advanced tab
5. In the Performance region select Settings
6. Click the Data Execute tab in the dialog box that opens
7. Select Turn on DEP for all programs and services except for those I select
8. Click Add.
9. The open dialog box will open. Browse and select your application.
10. Click Open
11. Click Apply
12. Click Ok
13. Reboot

Best wishes!
LVL 59

Accepted Solution

LeeTutor earned 2000 total points
ID: 16517224
War1, that is the "using the exception list for executables" method which he does not want.

The below article is all about DEP, and the url will take you to a section where it explains how to turn off DEP for the entire computer.  Apparently this must be done for each computer; the article doesn't describe any policies, etc.:


Author Comment

ID: 16517258
Hi LeeTutor ,

thanks a lot .. that worked .. as usuall :)
LVL 70

Expert Comment

ID: 16517260
Are you using a nvidia card or having game crashes?

If you want to disable it global, edit boot.ini and
 change the  /noexecute policy level to always off.     /NoExecute=AlwaysOff

Not all of it works on all processes.

To see the limitations of DEP look at this MS artical
LVL 70

Expert Comment

ID: 16517261
lol ok . Done deal.

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Can you find a fax from a vendor you saved a decade ago in seconds? Have you ever cursed your PC under your breath during an audit because you couldn’t find the requested statement or driver history?  If you answered no to the first question or yes …
When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup" or a blinking cursor with black screen. A loop for Auto repair will start but fix nothing.  You will be panic as there are no back…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Loops Section Overview
Suggested Courses
Course of the Month15 days, 4 hours left to enroll

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question