In this article
When you run a program in Microsoft Windows XP Service Pack 2 (SP2) or in Windows XP Tablet PC Edition 2005, you may receive an error message that is similar to the following:
Data Execution Prevention – Microsoft Windows
To help protect your computer, Windows has closed this program.
Name: program name
Publisher: program publisher
Data Execution Prevention helps protect against damage from viruses or other threats. Some programs might not run correctly when it is turned on. For an updated version of this program, contact the publisher. What else should I do?
If you click Close Message, the program quits, and Windows Error Reporting gives you the option to send an error report.
This behavior occurs because Microsoft Windows XP SP2 uses the Data Execution Prevention (DEP) feature to help prevent damage from viruses and from other security threats.
DEP works alone or with compatible microprocessors to mark some memory locations as "non-executable." If a program tries to run code from a protected location, DEP closes the program and notifies you, whether the code is malicious or not.
To avoid this behavior, contact your program vendor to see if an update is available that enables the program to work correctly with DEP.
If your computer is set to apply DEP to all programs and services, the DEP error message will have a Change Settings button. If an update to the program is not available, follow these steps to add an exception for the program from the DEP error message:
You can also add an exception for the program by using System Properties in Control Panel. To do this, follow these steps:
This behavior is by design.
For additional information about the DEP feature in Windows XP Service Pack 2, click the following article number to view the article in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/875352/ )A detailed description of the Data Execution Prevention feature in Windows XP Service Pack 2
If your computer is configured to turn on DEP for essential Windows programs and services only, the Change Settings button will not be available from the DEP error message.
You can view the DEP configuration for your computer in System in Control Panel. To do this, follow these steps:
If your computer is configured to turn on DEP for essential Windows programs and services only, and the DEP error message continues to appear, a program may be installed that extends Windows functionality. This program may be installed so that it causes a DEP problem in an important Windows program or service.
If this behavior is recent and has not occurred before, you may be able to prevent the DEP error message by removing recently installed programs.
Article ID: 875351
Last review: May 22, 2013