Share this article

Improve this guide

How to Enable or Disable Data Execution Prevention

Use the CMD or Control Panel to enable data execution prevention

3 min. read

Updated onOctober 4, 2023

updated onOctober 4, 2023

Share this article

Improve this guide

Read our disclosure page to find out how can you help Windows Report sustain the editorial teamRead more

Key notes

The Windows OS is user-friendly, though it comprises various features for advanced and professional users. The Data Execution Prevention (DEP) feature in Windows versions from XP Service Pack 2 to Windows 11 is one of them.

However, different people have been concerned about knowing what the data execution prevention feature is and whether to turn it on or off. Therefore, we will discuss DEP and how to enable or disable Data Execution Prevention on Windows PCs.

What is data execution prevention?

What is data execution prevention?

Data Execution Prevention (DEP) is a built-in security feature in Windows designed to protect your PC against malicious code execution. It divides your computer memory into two categories: executable and non-executable. Therefore, restricting specific memory areas from being executed as code.

The key features of DEP are:

Having discussed DEP and its key features, we will walk you through explicit steps to turn it on or off.

How do I enable data execution prevention?

How do I enable data execution prevention?

1. Use Command Prompt

Check our detailed guide on howCMD is not workingin Windows 11.

2. Via Windows Settings

Note that the Data Execution Prevention will to DEP Default (ON) on your PC. You can read our complete guide about ways to fixWindows Settings not openingon your computer.

3. Use the Control Panel

The above steps allow you to turn on and off the Data Execution Prevention feature.

We have a detailed guide onwhat Control Panel isand how to use it on your computer. You may also check out our article on resolvingStandard Hardware Security not supportedon Windows 11.

Should you have further questions or suggestions, kindly drop them in the comments section.

More about the topics:Windows 11

Henderson Jayden Harper

Windows Software Expert

Passionate about technology, Crypto, software, Windows, and everything computer-related, he spends most of his time developing new skills and learning more about the tech world.

He also enjoys gaming, writing, walking his dog, and reading and learning about new cultures. He also enjoys spending private time connecting with nature.

User forum

0 messages

Sort by:LatestOldestMost Votes

Comment*

Name*

Email*

Commenting as.Not you?

Save information for future comments

Comment

Δ

Henderson Jayden Harper

Windows Software Expert

Passionate about technology, Crypto, software, Windows, and everything computer-related, he spends most of his time developing new skills.