Providing Free and Editor Tested Software Downloads
< HOME | TUTORIALS | GEEK-CADE| WEB TOOLS | YOUTUBE | NEWSLETTER | DEALS! | FORUMS | >

MajorGeeks.com - The Anti-Social Social Site since 2002

Software Categories

All In One Tweaks
Android
Antivirus & Malware
Appearance
Back Up
Browsers
CD\DVD\Blu-Ray
Covert Ops
Drivers
Drives (SSD, HDD, USB)
Games
Graphics & Photos
Internet Tools
Linux Distros
MajorGeeks Windows Tweaks
Multimedia
Networking
Office & Productivity
System Tools

Other news

· How To and Tutorials
· Life Hacks and Reviews
· Way Off Base
· MajorGeeks Deals
· News
· Off Base
· Reviews




spread the word

· YouTube
· Facebook
· Instagram
· Twitter
· Pintrest
· RSS/XML Feeds
· News Blur
· Yahoo
· Symbaloo

about

· Top Freeware Picks
· Malware Removal
· Geektionary
· Useful Links
· About Us
· Copyright
· Privacy
· Terms of Service
· How to Uninstall

top downloads

1. GS Auto Clicker
2. Macrium Reflect FREE Edition
3. Smart Defrag
4. Sergei Strelec's WinPE
5. MusicBee
6. Visual C++ Redistributable Runtimes AIO Repack
7. K-Lite Mega Codec Pack
8. FlyOobe / Flyby11
9. ImgBurn
10. Format Factory
More >>

top reads

Star Windows 10 Not Dead Yet - You Can Still Get Updates For Free

Star What is a '400 Bad Request - Request Header or Cookie Too Large' Error and How to Fix It

Star How to Fix Windows Install Error 0xC1900101

Star How to Force Enable Windows 10 Extended Security Updates If The Option Is Not Showing

Star Windows 11 25H2 is Out: What’s New and How to Get It Now.

Star Star Trek Fleet Command Promo Codes: Redeem Codes for Free Shards, Blueprints And Resources

Star Boost Your PC Speed with ReadyBoost: How a Thumb Drive Can Enhance Your System's Performance

Star 5 Hidden Windows Tools You’ve Had All Along But Never Use

Star Use the Windows 10 Media Creation Tool Before Support Ends For Windows 10 in 2025

Star Fedora 42 - It Might Be the Prettiest Linux Yet


MajorGeeks.Com » Overview» Tutorials and Video Guides » Everything You Need to Know About Windows Data Execution Prevention or DEP

Everything You Need to Know About Windows Data Execution Prevention or DEP

By Timothy Tibbetts

on 06/19/2023

🎃🧟‍♂️👻 IObit’s Spooktacular Halloween Sale! IObit Halloween Sale: 90% OFF + Mystery Treat 🍬
Experience faster surfing, smarter security, and total privacy with IObit Pro!

Data Execution Prevention or DEP is a feature introduced in Windows XP Service Pack 2 that is still part of Windows today. In short, it's a hardware and software technology designed to monitor memory to stop malicious code from running. A more straightforward way to describe DEP is that it monitors all processes and services and stops a program if it isn't running correctly in memory. Here's everything you need to know.

You can enable, disable, or even strengthen or weaken your DEP protection, but it's usually best left alone. That said, sometimes you need to make changes to DEP. We suggest you make a restore point before you begin.

Verify Your Data Execution Prevention Status

If you're not sure what your DEP status is, open an elevated command prompt and type in wmic OS Get DataExecutionPrevention_SupportPolicy. You will see a number from 0-3 appear that tells you your status.



0 – DEP is disabled for all processes.
1 – DEP is enabled for all processes.
2 – DEP is enabled for only Windows system components and services (default).
3 – DEP is enabled for all processes.

Enable or Disable Data Execution Prevention System Wide

Should you need to enable or disable DEP, again open an elevated command prompt.

To disable DEP type in bcdedit.exe /set {current} nx AlwaysOff and to reenable DEP type in bcdedit.exe /set {current} nx AlwaysOn.



If you receive an error that says "This value is protected by Secure Boot Policy and cannot be modified or deleted" then you'll need to enter your BIOS to disable secure boot. Booting onto your BIOS varies by the motherboard and is for advanced users only, but we can give you the basics.



Reboot and watch the screen for something like "press F10 to enter setup." Typical keys are F1, F2, F10, or delete. Press whatever key it says to enter BIOS setup. Again, the BIOS setup varies by motherboard although typically you will find Secure Boot options under the System Configuration, Security, Boot or Authentication tabs. Once you find it, click on it and select disable. Reboot to apply the changes.

Enable or Disable Data Execution Prevention for Specific Programs

By default, DEP is on for essential programs. You can, however, whitelist any programs you want individually. To do this, open Open Windows Explorer or File Explorer. Right-click This PC or Computer and select Properties.

Next click on Advanced System settings and the System properties tab will open. Click on the Advanced tab and once again click on Settings under the Performance section. Performance Options will open and finally click on the Data Execution Prevention tab. Phew.

To whitelist a program select Turn on DEP for all programs and services except those I select and finally click on Add. You'll need to know the executable name, browse to it and click OK. You'll need to do this for each program or service. However, it's not something you often need to use.



Disable DEP in Internet Explorer 11 or Edge

DEP can also be disabled for Internet Explorer 11 only. Press the Winodws Key + S and begin typing internet options and click on Internet Options. Click on the Advanced tab and scroll down to the Security section. Uncheck Enable memory protection to help mitigate online attacks.

As far as we can tell, this was removed in Windows 10 and Microsoft Edge, most likely because of Windows Defender Smart Screen and other security features built into Windows and Edge.

That should cover all you need to know about DEP. Any questions or anything we missed, feel free to ask in the comments below.

comments powered by Disqus




© 2000-2025 MajorGeeks.com
Powered by Contentteller® Business Edition