How to Turn Data Execution Prevention (DEP) On or Off in Windows 11

|

|

The article provides a guide on how to turn on or off the Data Execution Prevention (DEP) feature in Windows 11. DEP helps protect computers from malicious software by reserving part of the system memory as a data-only area, making it difficult for malware to execute. The process involves navigating through the Windows Security app’s…

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) where no executable code or apps can run. This makes it harder for attackers who 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 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.

Like this:



Leave a Reply

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

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