Disable Data Execution Prevention DEP Completely on Windows XP.

What is DEP (Data Excecution Prevention) And How to Disable it Completely on Windows XP.

Data Execution Prevention (DEP) is a set of hardware and software technologies that perform additional checks on memory to help prevent malicious code from running on a system. In Microsoft Windows XP Service Pack 2 (SP2) and Microsoft Windows XP Tablet PC Edition 2005, DEP is enforced by hardware and by software.

The primary benefit of DEP is to help prevent code execution from data pages. Typically, code is not executed from the default heap and the stack. Hardware-enforced DEP detects code that is running from these locations and raises an exception when execution occurs. Software-enforced DEP can help prevent malicious code from taking advantage of exception-handling mechanisms in Windows.

Above explanation from Microsoft Support KB.

This guide will disable DEP completely.

1.) Click “Start”.
2.) Click “Control Panel”.
3.) Double click the “System” icon.
4.) Click the “Advanced” tab.
5.) Click the “Settings” tab under “Start up and Recovery”.
6.) Click “Edit” under System Start-up. This will launch the Boot.ini file in to Notepad.
7.) Locate “/noexecute=Optin”.
8.) Edit this entry with “/noexecute=AwaysOff” without the quotation marks.
9.) In the notepad tool bar click “File” and then “Save”.
10.) Click “Ok” to close the dialog box
11.) Click “Ok” to close the Systems Properties box.
12.) Restart your computer. You may find the computer will take a while longer to start the first time and may even restart automatically.

You now have disabled DEP completely.

Verifying DEP is disabled.

1.) Click “Start”.
2.) Click “Control Panel”.
3.) Click the “System” icon.
4.) Select the “Advanced” tab.
5.) Click the “Settings” tab under Performance and Maintenance.
6.) Click “Data Execution Prevention”.
7.) The DEP settings should now not be available to you.
8.) Keep selecting “Ok” to close all boxes.

I do not advise you to do this procedure as disabling DEP is not recommended.
Disabling DEP would be the last alternative, I would prefer to find and fix the problem you are having without disabling DEP.


Spread Firefox Affiliate Button


One Response to “Disable Data Execution Prevention DEP Completely on Windows XP.”

Leave a Reply