Skip to content

5000+ Great Articles

Best Articles & Essays: Interesting Articles to Read Online

  • Best Free PS4 Games To Play Right Now Gaming
  • How to Open UIF File Computer Tips
  • How to sort rows by date in excel Office Tips
  • What Is YouTube Premium and Is It Worth It? Google Software/Tips
  • Best calculator holder for classroom 30 2020

    Best calculator holder for classroom 30 2020. 1 - ANIZER Numbered Pocket Chart Over Door Hanging Classroom Organizer for Cell Phones Calculators Hol

  • How to Restart Your iPad iPad
  • 30+ Best Alexa Skills for India Calculator
  • Message deleter for slack How-To

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.

–

Share this:

  • Twitter
  • Facebook

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

  • October 2023
  • September 2023
  • August 2023
  • July 2023
  • 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
  • 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

  • AI Tools & Guides
  • 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
  • islamic Books
  • Linux
  • Linux Tips
  • Mac OS X
  • 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
  • How to Watch Winter Olympics 2018 from Anywhere
  • Why does Instagram say this story is unavailable?
  • How to turn off Do Not Disturb mode on Android
  • 3 Sites like YouTube to Earn Money With Your Videos
  • Buying Bitcoin in India? Top 4 Indian Bitcoin Exchange Compared
DMCA.com Protection Status

Recent Posts

  • How to Watch Winter Olympics 2018 from Anywhere
  • 5 Sites That Are Like Audible, But Free
  • How to Reduce PNG File Size of a Photo
  • Why does Instagram say this story is unavailable?
  • How to turn off Do Not Disturb mode on Android

Recent Comments

  1. 5 Sites That Are Like Audible, But Free on 14 Best Free Audiobooks on Audible – 2022
  2. How to Reduce PNG File Size of a Photo on How to Convert a Screenshot to a Jpeg on a Mac
  3. 3 Sites like YouTube to Earn Money With Your Videos on Here are the Top 10 highest paid YouTubers of 2013
  4. Buying Bitcoin in India? Top 4 Indian Bitcoin Exchange Compared on How to Buy Bitcoin in India – Step by Step Guide
  5. TemplateMonster WordPress Theme Review Build a Site With Ease on How to make a secure website with WordPress 2023
  • How to build A home racing simulator? Gaming
  • What To Do If Your Windows Mouse Suddenly Cannot Drag & Drop Files Windows 10
  • 5 VR Applications that Aren’t Games Free Software Downloads
  • How To Play Blu-Ray Discs On Your Computer Windows 10
  • 4 Free Best Websites to Watch Anime Online Cool Websites
  • Disable Startup Programs in Windows 7/8/10 Computer Tips
  • How to Open the On-Screen Keyboard on Mac macOS
  • Fix Windows 10 App Opens Then Closes Windows 10

Copyright © 2023 How To Blog.

Powered by PressBook News WordPress theme

Go to mobile version