How to Enable or Disable Data Execution Prevention (DEP) in Windows 11

symbol gefee
symbol gefee

This article explains how one can turn on or off Data Execution Prevention (DEP) in Windows 11.

Data Execution Prevention (DEP) is a feature in Windows that helps protect your computer from malicious software and apps executing from a secure area of the system memory.

DEP sets aside part of the system memory (RAM) as data only area where no executable code or apps are allowed to run. This makes it harder for attackers that try to use buffer overflows or other techniques to run their malware from those parts of memory that generally only contain data.

Below is how to turn on or off DEP in Windows 11.

Turn on or off Data Execution Prevention (DEP) in Windows 11

As described above, DEP helps protect your computer from malicious software and apps by setting aside part of the system memory as data only with no executable code or apps in those areas.

Here’s how to turn it on or off.

First, open the Windows Security app.

You can do that by clicking on the Start menu button and searching for “Windows Security ". Then, under Best match, click on the Windows Security app.

windows security app search on start menu
windows security app search on the start menu

In the Windows Security app, on the “Security at a glance page, "click the App & browser control button at the left button.

windows 11 app and browser control section windows security app
windows 11 app and browser control section windows security app

On the App & browser control settings pane, under Exploit protection, click the Exploit protection settings link.

Windows Exploit protection settings
Windows Exploit protection settings

On the App & browser control -> Explorer protection settings pane, you’ll find Data Execution Prevention on the System settings tab.

Use the drop-down options to enable or disable DEP.

  • On by default
  • Off by default
  • Use default (On)

DEP is turned on by default, but if you need to turn it off (or back on) anytime.

Windows Exploit protection settings options
Windows Exploit protection settings options

After choosing a setting, exit the Windows Security app.

Reference:

https://support.microsoft.com/en-us/topic/what-is-data-execution-prevention-dep-60dabc2b-90db-45fc-9b18-512419135817

Conclusion:

This post showed you how to enable or disable DEP in Windows 11. Please use the comment form below if you find any errors above or have something to add.

Posted by
Richard W

I love computers; maybe way too much. What I learned I try to share at geekrewind.com.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: