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:
- When you receive the error message that is mentioned in the "Symptoms" section, click Change Settings.
- Click to select the check box next to the program, and then click Apply.
- When you are prompted to restart your computer, click OK two times, and then restart your system.
You can also add an exception for the program by using
System Properties in Control Panel. To do this, follow these steps:
- Click Start, click Run, type sysdm.cpl, and then click OK.
- Click the Advanced tab, click
Performance, and then click
Settings.
- In Performance Options, click
the Data Execution Prevention tab, and then click Add.
- In the Open dialog box, locate and then click the
program.
- Click Open, click Apply, and then click
OK. When you are prompted to restart your
computer, click OK.
This
behavior is by design.
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:
- Click Start, click Run, type sysdm.cpl, and then click OK.
- Click the Advanced tab, and then under Performance, click Settings.
- In the Performance Options dialog box, click the Data Execution Prevention tab.
- Note if Turn on DEP for essential Windows programs and services only or Turn on DEP for all programs and services except those I select: is selected.
When your computer is configured to turn on DEP for essential Windows programs and services only, you cannot add an exception for a program. This is the behavior that is by design in Windows XP SP2.
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.
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:
875352
(http://support.microsoft.com/kb/875352/
)
A detailed description of the Data Execution Prevention feature in Windows XP Service Pack 2
Article ID: 875351 - Last Review: June 13, 2006 - Revision: 5.10
APPLIES TO
- Microsoft Windows XP Professional Service Pack 2 (SP2)
- Microsoft Windows XP Home Edition Service Pack 2 (SP2)
- Microsoft Windows XP Media Center Edition Service Pack 2 (SP2)
- Microsoft Windows XP Tablet PC Edition 2005
| kbappcompatibility kbconsumer kbvirus kbsecurity kbinfo kbprb KB875351 |