title: “How To Exclude Programs From Dep” ShowToc: true date: “2022-12-27” author: “Carroll Riggins”
What Is Data Execution Prevention?
Microsoft introduced Data Execution Prevention to the Windows operating system beginning with Windows XP. DEP raises an exception if it detects code loading from the default heap or stack. Because this behavior is indicative of malicious code, DEP protects the browser against attacks by preventing suspicious code from running.
Older, non-Microsoft programs that rely on Windows Services are most likely to be flagged by DEP. To run such programs, you must either create an exception in your system settings or disable DEP altogether. Outdated device drivers may also cause DEP errors.
How to Disable Windows DEP for Specific Applications
To exclude certain programs from Windows DEP:
Open Windows Control Panel and select System and Security. Select System. Select Advanced system settings. Select the Advanced tab in the System Properties window that opens and then select Settings under Performance. Select the Data Execution Prevention tab and select Turn on DEP for all programs and services except those I select. To disable DEP for most programs, select Turn on DEP for essential Windows programs and services only. Select Add and choose the programs you want to exclude. It is not possible to exclude 64-bit programs from Windows DEP. Most conflicts are caused by 32-bit programs. Select Apply and OK. You must restart your computer for changes to take effect.