Skip to content

How To Blog

  • Best calculator storage 2020 black
  • How To Tell If It’s Time To Replace Your MacBook’s Battery Hardware
  • Message deleter for slack How-To
  • How to Use Shazam to Play Spotify Music Rather Than Apple Music How-To
  • how to remove a hacker from my phone Smartphones
  • The New Non-Programmable Scientific Calculator 2020 Calculator
  • How to Sync Your Mouse Between Two Computers How-To
  • 8 Best Windows 10 Themes For The Coolest Windows Environment Windows 10

Configure or Turn Off DEP (Data Execution Prevention) in Windows

Posted on October 5, 2020 By blog_786 No Comments on Configure or Turn Off DEP (Data Execution Prevention) in Windows

Data Execution Prevention (DEP) is one of those “fuzzy” things. It is a blessing in most cases when he does his job and does not interfere, but is cursed when he interferes.

Let’s take a look at DEP and how to configure or disable DEP based on your needs.

What is DEP and what does it do?

According to Microsoft DEP:

“… a set of hardware and software technologies that perform additional memory checks to prevent malicious code from running on the system. “

Dell simplifies it a bit and tells us that DEP

” can help protect your computer by monitoring your programs to make sure they are using system memory safely.”

Configure or Turn Off DEP (Data Execution Prevention) in Windows

What does it mean? There are certain areas in the computer’s memory that are not intended for executing code, but sometimes the code does execute there.

Usually the code that runs there is malicious. DEP will monitor these areas and, if it sees something happening in these areas, will disable them. If you want to know more about how this works, read the detailed description of Microsoft Data Execution Prevention.

Why is DEP causing problems?

Even today, computers are stupid. They cannot reason, they can only use the most elementary logic. Plus, this logic is put into them by humans, so computers put our errors in them too.

Sometimes good programs go to the areas that DEP tracks and work in those areas.

Configure or Turn Off DEP (Data Execution Prevention) in Windows

When this happens, DEP sometimes exits the entire program and notifies you with an error message. But sometimes DEP just makes the program perform very poorly and there is nothing obvious to tell you why.

Which software has issues with DEP?

Programs that conflict with DEP are usually older programs or built on an older code base. Many enterprise resource planning (ERP) programs are built on a code base dating back to the 1970s. There was no DEP then, so the program will go to the areas that DEP patrols.

64-bit programs were created after DEP was well developed, so they were designed with the requirements in mind. Most programs that conflict with DEP will be 32-bit.

Third-party programs that actively interact with Windows services or run native Windows services may be disabled by DEP. In this case, the vendor recommends disabling DEP completely.

For the home user, older 32-bit games and some emulators for playing older games are likely to conflict with DEP.

Configure or Turn Off DEP (Data Execution Prevention) in Windows

Older device drivers or drivers downloaded from unofficial sources can also cause DEP errors. Only download drivers from your hardware manufacturer or Microsoft, and update your drivers regularly

How do I know that DEP is the problem?

You may need to go to Event Viewer and view the logs for event ID 1000. If you find it, it might look like this:

Event ID: 1000 – DEP Error: Shared Host for Win32 Services Shared Host Process for Win32 Services – DEP: Application Error
Event Type: Error
Event Source: Application Error
Event Category: (100)
Event ID: 1000

You may see other errors related to things like:

  • 0xFC: ATTEMPTED_EXECUTE_OF_NOEXECUTE_MEMORY – Occurs when a device driver tries to run in memory. It could be a bad or outdated driver. You need to update your drivers.
  • STATUS_ACCESS_VIOLATION (0xc0000005) – occurs when programs try to run in DEP protected memory space.

How to configure DEP on or off

In Windows 10, DEP defaults to the Enable DEP setting for essential Windows programs and services only. In most cases, this is sufficient. This means that most of your programs will be ignored by DEP.

However, if DEP helps protect your computer and does not hinder performance, you can select Enable DEP for all programs except the ones I have selected. Then, if you find a program that has a DEP problem, we can add it as an exception. Let’s see how to do this.

  • Open the control panel, then open the system.

  • On the left side of the System window, click Advanced System Settings.

Configure or Turn Off DEP (Data Execution Prevention) in Windows

  • The System Properties window should open and the Advanced tab should already be installed. In the Performance area, click Settings.

Configure or Turn Off DEP (Data Execution Prevention) in Windows

  • In the Performance Options window, click the Data Execution Prevention tab.

Configure or Turn Off DEP (Data Execution Prevention) in Windows

  • In the “Enable DEP” section for all programs except the ones I selected, click the “Add” button at the bottom of the window.

Configure or Turn Off DEP (Data Execution Prevention) in Windows

  • Browse to the executable of the program we want to add as an exception. It will most likely be in C: / Program Files (x86).
  • In this example, we add MediaMonkey, an old music playback utility. Click on the .exe file as soon as we find it and click “Open”.

Configure or Turn Off DEP (Data Execution Prevention) in Windows

  • Under Performance Options, click Apply. MediaMonkey will now work without DEP protection, while everyone else will work with DEP protection.

Configure or Turn Off DEP (Data Execution Prevention) in Windows

Configure or Turn Off DEP (Data Execution Prevention) in Windows

Turn off DEP completely

If you want to completely disable DEP, we recommend that you do so only as part of a fix. DEP is here for your protection.

Since this is not advised, there is no good way to do this with a mouse. Let’s see how you can disable DEP.

  • Open a command window as administrator. To do this, type cmd in the program search box next to the Start menu.

  • Type bcdedit.exe / set {current} nx AlwaysOff and press Enter.

Configure or Turn Off DEP (Data Execution Prevention) in Windows

Configure or Turn Off DEP (Data Execution Prevention) in Windows

bcdedit.exe is a Windows utility for editing boot configuration data, hence bdcedit.

/ set tells bcedit to set the parameter value entry in the boot configuration.

{current} tells becedit to work with the currently used boot configuration.

nx is short for “do not execute” and is the name of the DEP option in the boot configuration.

AlwaysOff is self-explanatory.

  • Restart your computer.
  • DEP will now be completely and permanently disabled.

Turn on DEP for everything

To enable DEP for absolutely everything, the process and command is the same as above.

  • Open a command window as administrator following the instructions in the above procedure.
  • Enter the bcdedit.exe / set {current} nx AlwaysOn command.

  • Restart your computer.
  • DEP will be enabled and all programs will be monitored.

Configure or Turn Off DEP (Data Execution Prevention) in Windows

Once DEP has been enabled or disabled, it CANNOT be changed in the Data Execution Prevention tab in System Settings.

Let’s see how to change it so that the switches on the DEP tab can be used again.

Set DEP back to default behavior

To restore DEP’s default behavior and make it manageable again using system settings, follow these steps.

  • Open a command window as administrator.
  • Enter the bcdedit.exe / install {current} nx OptIn command.

  • Restart your computer.
  • The switches on the DEP tab in system settings are now available again.

Configure or Turn Off DEP (Data Execution Prevention) in Windows

DEP or not DEP

We recommend that you leave DEP at the default, Enable DEP for core Windows programs and services, unless you need to change it to fix problems that may be related to DEP.

–

Post navigation

Previous Post: How To Set Up & Use Tor On Android
Next Post: The Top 5 Webcams For Live Streaming

Leave a Reply Cancel reply

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

Archives

  • June 2023
  • May 2023
  • April 2023
  • November 2022
  • September 2022
  • August 2022
  • July 2022
  • June 2022
  • May 2022
  • April 2022
  • March 2022
  • February 2022
  • January 2022
  • December 2021
  • November 2021
  • October 2021
  • September 2021
  • August 2021
  • March 2021
  • November 2020
  • October 2020
  • September 2020
  • August 2020
  • July 2020
  • June 2020
  • May 2020
  • April 2020
  • March 2020
  • December 2019
  • July 2019
  • May 2019
  • April 2019
  • January 2019
  • December 2018
  • November 2018
  • October 2018
  • September 2018
  • August 2018

Categories

  • Amazon Web Services
  • Apple Watch
  • Computer Tips
  • Cool Websites
  • Featured Posts
  • Free Software Downloads
  • Gadgets
  • Gaming
  • General Software
  • Google Software/Tips
  • Hardware
  • Help Desk
  • How-To
  • iOS
  • iPad
  • iPhone
  • Linux
  • Linux Tips
  • macOS
  • MS Office Tips
  • Networking
  • Office Tips
  • OS X
  • Product Reviews
  • Reviews
  • Safari
  • Smart Home
  • Smartphones
  • Software Reviews
  • technology
  • text
  • Tools Review
  • Troubleshooting
  • Tutorials
  • Uncategorized
  • Urdu Books PDF
  • Web Site Tips
  • Windows
  • Windows 10
  • Windows 7
  • Windows XP Tips
  • Wordpress

Recent Posts

  • Top 5 3D Modeling Apps for iPad Pro
  • How to Fix the “This site can’t be reached” Error in Google Chrome
  • How to Find Draft Posts on Facebook
  • 7 best 3D scanning apps for Android and iOS
  • 4 best 4chan apps for Android and iOS 2023

Recent Comments

  1. How to reset Windows 10 from factory settings - How To Blog on The Easiest Way to Clean Install Windows 10
  2. How to reset Windows 10 from factory settings - How To Blog on 7 Best Programs to Immediately Install on Your New Computer
  3. How to reset Windows 10 from factory settings - How To Blog on What To Do If You Think Your Computer Or Server Has Been Infected With Malware
  4. 9 Best Ways to Fixing Safari Not Working on Mac? - How To Blog on How To Hard Reset a Mac OS X Computer & Reinstall The OS
  5. How to uninstall Avast antivirus on Mac - How To Blog on 4 Ways To Uninstall Apps On Mac
  • How To Use External Download Manager With Firefox How-To
  • 10 Two-Player Games You Can Play Online Gaming
  • How the Signal Desktop App Can Help Protect Your Privacy Tools Review
  • A Breakdown of File Transfer Speeds Networking
  • How to Watch YouTube Without Ads Computer Tips
  • How to Change the Limit Reservable Bandwidth in Windows Windows XP Tips
  • How to Lock Instagram with FaceID without Jailbreak? How-To
  • How To Stop a Windows 10 Update Windows 10

Copyright © 2023 How To Blog.

Powered by PressBook News WordPress theme

Go to mobile version