Data Execution Prevention or DEP feature in Windows 7 | 8

Data Execution Prevention or DEP is a security feature that was introduced in Windows Vista onwards, that can help prevent damage to your computer from viruses and other security threats. DEP can help protect your computer by monitoring programs to make sure they use system memory safely. If a program tries running (also known as executing) code from memory in an incorrect way, DEP closes the program.

Data Execution Prevention DEP

What is Data Execution Prevention or DEP

Here are answers to some common questions about Data Execution Prevention (DEP), sourced from Microsoft Help.

Which programs does DEP monitor?
DEP automatically monitors essential Windows programs and services. You can increase your protection by having DEP monitor all programs. To increase DEP protection, see Change Data Execution Prevention settings.

Is it safe to run a program again if DEP has closed it?
Yes, but only if you leave DEP turned on for that program so that Windows can continue to detect attempts to run code from protected memory locations and help prevent attacks.

If DEP keeps closing the same program, is my computer under attack?
If you are using the recommended security settings and your antivirus software did not detect a threat, your computer is probably not under attack. In this case, the program might not run correctly when DEP is turned on. Check for a DEP-compatible version of the program or an update from the software publisher before you change any DEP settings.

How can I prevent DEP from closing a program I trust?
First, see if a DEP-compatible version of the program is available by visiting the software publisher’s website. If the publisher has not released an updated, DEP-compatible version of the program, you can turn off DEP for the program that was closed. You will be able to use the program, but it might be vulnerable to an attack that could spread to your other programs and files. If you choose to turn off DEP for a program, it’s a good idea to check frequently for an updated version of the program and, after you update it, to turn on DEP again. To turn off DEP for a program, see Change Data Execution Prevention settings.

What should I do if DEP is closing a program that’s part of Windows, such as svchost.exe or explorer.exe?
The svchost.exe and explorer.exe programs are parts of the Windows operating system. If DEP closes them or other Windows services, the cause could be smaller programs, such as extensions, that are created by other software publishers and that operate inside Windows. If you have recently installed a program and notice DEP closing Windows-based programs, check with the software publisher to see if there is an updated, DEP-compatible version available, or try uninstalling the program.

If my DEP settings indicate that my computer’s processor does not support hardware-based DEP, am I still protected?
Yes. DEP is a software-based feature of Windows. Some computer processors also provide hardware-based DEP under various names. These processors use hardware technology to prevent programs from running code in protected memory locations. If your processor does not support hardware-based DEP, Windows will use software-based DEP to help protect your computer.

If you choose to protect all programs, you can still turn off DEP for individual programs. If you suspect that a program does not run correctly when DEP is turned on, check for a DEP-compatible version of the program or an update from the software publisher before you change any DEP settings.

Click to open System. Click Advanced System Settings. If you are prompted for an administrator password or confirmation, type the password or provide confirmation. Under Performance, click Settings. Click the Data Execution Prevention tab, and then click Turn on DEP for all programs and services except those I select.

In the coming week, we will also learn about the following:

  1. Enable or Disable Data Execution Prevention (DEP) in Windows 8
  2. Verify the Status of Data Execution Prevention (DEP) in Windows 8 | 7
  3. Enable or Disable Data Execution Prevention (DEP) for Internet Explorer only
  4. Turn Off or On Data Execution Prevention (DEP) for Individual Programs.

Post updated and ported from WinVistaClub

Posted by on , in Category Windows with Tags
Anand Khanse is the Admin of TheWindowsClub.com, an end-user Windows enthusiast, & a 10-year Microsoft MVP Awardee in Windows for the period 2006-16. Please read the entire post & the comments first, create a System Restore Point before making any changes to your system & be careful about any 3rd-party offers while installing freeware.

3 Comments

  1. Jay

    Windows 7 home premium just recently updated (I guess it’s been asking to update for a week) and i finally updated it today. Since then every program I’ve tried to open except chrome & vlc media player has given me the “Has stopped working” error. So far I’ve managed to isolate that the problem is because of DEP. and although i tried to add programs individually to the DEP exclusion table, nothing would accept. The only possible solution I’ve found that works for now is either doing a system restore or in cmd.exe with admin settings using “bcdexit.exe /sex nx AlwaysOff”. Is there another way to fix the problem without disabling DEP entirely?

  2. My post on “Turn Off or On Data Execution Prevention (DEP) for Individual Programs” has been scheduled to appear tomorrow. Hopefully its should help you.

  3. daedaev

    i run administrator put On DEP , restart and it still off ?! any advice i am using w7 ultimate

Leave a Reply

Your email address will not be published. Required fields are marked *

Prove you passed math in school! *