Questions

Data Execution Prevention error message

+
0 Votes
Locked

Data Execution Prevention error message

luv2bike2
Within the last couple of weeks i have had a couple of users call me and tell
me that they have received an error box about the DEP. I have also experience
it on my system and really confused as to why we are getting these messages.
Nothing has changed on the computers.. no new software (except for ms
updates) or even hardware. the systems that these machines are getting the
DEP message are Windows XP SP3... the users who are running w2k have not called me on this so i don't think they are having this issue just those who are running XP SP3.

What can i do to stop this besides turning DEP off?
  • +
    0 Votes

    You receive a "Data Execution Prevention" error message in Windows XP Service Pack 2 or in Windows XP Tablet PC Edition 2005

    SYMPTOMS
    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.

    CAUSE
    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.

    RESOLUTION
    To avoid this behavior, contact your program vendor to see if an update is available that enables the program to work correctly with DEP.

    WORKAROUND
    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:

    1. When you receive the error message that is mentioned in the "Symptoms" section, click Change Settings.

    2. Click to select the check box next to the program, and then click Apply.

    3. 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:

    1. Click Start, click Run, type sysdm.cpl, and then click OK.

    2. Click the Advanced tab, click Performance, and then click Settings.

    3. In Performance Options, click the Data Execution Prevention tab, and then click Add.

    4. In the Open dialog box, locate and then click the program.

    5. Click Open, click Apply, and then click OK. When you are prompted to restart your computer, click OK.

    STATUS
    This behavior is by design.

    MORE INFORMATION
    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:

    1. Click Start, click Run, type sysdm.cpl, and then click OK.

    2. Click the Advanced tab, and then under Performance, click Settings.

    3. In the Performance Options dialog box, click the Data Execution Prevention tab.

    4. 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.
    http://support.microsoft.com/kb/875351

    Please post back if you have any more problems or questions.
    If this information is useful, please mark as helpful. Thanks.

    +
    0 Votes
    luv2bike2

    as this KB mentions, they are XP SP3. however I will print your reply and will follow the work around and/or call the vendor. Thank you very much for getting back to me and i will reply back with any results once either my users or myself get the error message again.

    thanks again Peconet! :)

    +
    0 Votes

    It should be ok even if you have SP3 installed, just give it a try.

    Please post back if you have any more problems or questions.
    If this information is useful, please mark as helpful. Thanks.

    +
    0 Votes
    luv2bike2

    right after I read your posting.

    I changed the settings in the Performance Options/DEP to Turn on DEP for all programs and services except those that i select... and in the box there was Windows Explorer and WMI..so i checked them off. I will let you know if i get them DEP message again.
    Thanks for your assistance!

    +
    0 Votes
    Sabir001

    Time Required: Disabling Data Execution Prevention for Explorer.exe in Windows XP takes less than 10 minutes
    Here's How:

    1.

    Click on Start and then Control Panel.
    2.

    Click on the Performance and Maintenance link.

    Note: If you're viewing the Classic View of Control Panel, double-click on the System icon and skip to Step 4.
    3.

    Under the or pick a Control Panel icon section, click on the System link.
    4.

    In the System Properties window, click on the Advanced tab.
    5.

    Click on the Settings button in the Performance area of the Advanced tab.

    Note: This is the first Settings button.
    6.

    In the Performance Options window that appears, click on the Data Execution Prevention tab.

    Note: Only Windows XP users with service pack level 2 or higher will see this tab.
    7.

    In the Data Execution Prevention tab, choose the Turn on DEP for all programs and services except those I select: radio button.
    8.

    Click on the Add... button.
    9.

    In the resulting Open dialog box, navigate to the C:\Windows directory, or whatever directory Windows XP is installed in on your system, and click on the explorer.exe file from the list.

    Note: You will probably need to scroll through a number of folders before reaching the list of files. Explorer.exe should be listed as one of the first few files in the alphabetical list.
    10.

    Click the Open button and then click OK to the resulting Data Execution Prevention warning that pops up.

    Back on the Data Execution Prevention tab in the Performance Options window, you should now see Windows Explorer in the list, next to a checked checkbox.
    11.

    Click OK at the bottom of the Performance Options window.
    12.

    Click OK when the System Control Panel Applet window appears warning you that your changes require a restart of your computer.
    13.

    After your computer restarts, test your system to see if disabling Data Execution Prevention for explorer.exe resolved your issue.

    If disabling DEP for explorer.exe did not solve your problem, return the DEP settings to normal by repeating the steps above but in Step 7, choose Turn on DEP for essential Windows programs and services only radio button.

    +
    0 Votes
    c21698

    Thank you, thank you, thank you, a thousand times thank you!!!

  • +
    0 Votes

    You receive a "Data Execution Prevention" error message in Windows XP Service Pack 2 or in Windows XP Tablet PC Edition 2005

    SYMPTOMS
    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.

    CAUSE
    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.

    RESOLUTION
    To avoid this behavior, contact your program vendor to see if an update is available that enables the program to work correctly with DEP.

    WORKAROUND
    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:

    1. When you receive the error message that is mentioned in the "Symptoms" section, click Change Settings.

    2. Click to select the check box next to the program, and then click Apply.

    3. 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:

    1. Click Start, click Run, type sysdm.cpl, and then click OK.

    2. Click the Advanced tab, click Performance, and then click Settings.

    3. In Performance Options, click the Data Execution Prevention tab, and then click Add.

    4. In the Open dialog box, locate and then click the program.

    5. Click Open, click Apply, and then click OK. When you are prompted to restart your computer, click OK.

    STATUS
    This behavior is by design.

    MORE INFORMATION
    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:

    1. Click Start, click Run, type sysdm.cpl, and then click OK.

    2. Click the Advanced tab, and then under Performance, click Settings.

    3. In the Performance Options dialog box, click the Data Execution Prevention tab.

    4. 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.
    http://support.microsoft.com/kb/875351

    Please post back if you have any more problems or questions.
    If this information is useful, please mark as helpful. Thanks.

    +
    0 Votes
    luv2bike2

    as this KB mentions, they are XP SP3. however I will print your reply and will follow the work around and/or call the vendor. Thank you very much for getting back to me and i will reply back with any results once either my users or myself get the error message again.

    thanks again Peconet! :)

    +
    0 Votes

    It should be ok even if you have SP3 installed, just give it a try.

    Please post back if you have any more problems or questions.
    If this information is useful, please mark as helpful. Thanks.

    +
    0 Votes
    luv2bike2

    right after I read your posting.

    I changed the settings in the Performance Options/DEP to Turn on DEP for all programs and services except those that i select... and in the box there was Windows Explorer and WMI..so i checked them off. I will let you know if i get them DEP message again.
    Thanks for your assistance!

    +
    0 Votes
    Sabir001

    Time Required: Disabling Data Execution Prevention for Explorer.exe in Windows XP takes less than 10 minutes
    Here's How:

    1.

    Click on Start and then Control Panel.
    2.

    Click on the Performance and Maintenance link.

    Note: If you're viewing the Classic View of Control Panel, double-click on the System icon and skip to Step 4.
    3.

    Under the or pick a Control Panel icon section, click on the System link.
    4.

    In the System Properties window, click on the Advanced tab.
    5.

    Click on the Settings button in the Performance area of the Advanced tab.

    Note: This is the first Settings button.
    6.

    In the Performance Options window that appears, click on the Data Execution Prevention tab.

    Note: Only Windows XP users with service pack level 2 or higher will see this tab.
    7.

    In the Data Execution Prevention tab, choose the Turn on DEP for all programs and services except those I select: radio button.
    8.

    Click on the Add... button.
    9.

    In the resulting Open dialog box, navigate to the C:\Windows directory, or whatever directory Windows XP is installed in on your system, and click on the explorer.exe file from the list.

    Note: You will probably need to scroll through a number of folders before reaching the list of files. Explorer.exe should be listed as one of the first few files in the alphabetical list.
    10.

    Click the Open button and then click OK to the resulting Data Execution Prevention warning that pops up.

    Back on the Data Execution Prevention tab in the Performance Options window, you should now see Windows Explorer in the list, next to a checked checkbox.
    11.

    Click OK at the bottom of the Performance Options window.
    12.

    Click OK when the System Control Panel Applet window appears warning you that your changes require a restart of your computer.
    13.

    After your computer restarts, test your system to see if disabling Data Execution Prevention for explorer.exe resolved your issue.

    If disabling DEP for explorer.exe did not solve your problem, return the DEP settings to normal by repeating the steps above but in Step 7, choose Turn on DEP for essential Windows programs and services only radio button.

    +
    0 Votes
    c21698

    Thank you, thank you, thank you, a thousand times thank you!!!