by Barry Dysert
(last updated April 8, 2019)
Data Execution Prevention (DEP) is a security feature built into the Windows operating system. It is designed to close programs that it detects as viruses or other security threats. Depending upon your CPU, DEP runs in either a hardware-enhanced mode or a software-enhanced mode.
By default, DEP works on certain Windows programs and services. You can, however, customize DEP to have it monitor other programs as well. To do this (if you are using Windows 7), click the Start button, then right-click Computer and select Properties. If you are using Windows 10, navigate to the Control Panel, click System and Security and then click System. This brings up the following screen: (See Figure 1.)
Figure 1. The Computer Properties screen.
Click the Advanced System Settings link at the left of the screen, and Windows displays the Advanced tab of the System Properties dialog box. (See Figure 2.)
Figure 2. The Advanced tab of the System Properties dialog box.
In the Performance group, click Settings. Windows displays the Performance Options dialog box. Make sure the Data Execution Prevention tab is selected. (See Figure 3.)
Figure 3. The Data Execution Prevention tab of the Performance Options dialog box.
Note that this is showing the Data Execution Prevention tab, and as you can see, the default action is already selected. If you want to turn on DEP for all programs and services except those you specify, click the second radio button. This enables the Add button. When you click Add, a file browser opens to allow you to select which programs should not be checked by DEP. (You cannot add an essential Windows program or service to be precluded.) When you're satisfied when your selections, OK your way out.
This tip (12480) applies to Windows 7 and 10.
Forgetting your administrator password may be cause for panic because there is no supported way to discover it. Before ...Discover More
Part of the security system built into Windows involves notifying you when changes are about to occur to your system. ...Discover More
All objects on your computer (e.g., disk drives) have permissions that allow or deny various types of access. This tip ...Discover More
FREE SERVICE: Get tips like this every week in WindowsTips, a free productivity newsletter. Enter your address and click "Subscribe."