This guide shows you how to Disable DEP On Windows 11/10. Data Execution Prevention (DEP) is a security tool that can help keep viruses and other security threats from hurting your computer. Bad programs can try to attack Windows by trying to run code from areas of system memory that Windows and other approved programs are allowed to use.
Your apps and files can be hurt by these kinds of attacks. DEP can help protect your computer by watching how your apps use system memory to make sure they do it safely. If DEP sees that a program on your computer is misusing memory, it will close the program and let you know. You can also go to the official Microsoft support site to know more information.
Data Execution Prevention (DEP) is a security feature built into Windows 11/10 that stops malware from running in memory. It is turned on by default and is made to find and stop scripts that are not supposed to run in reserved areas of computer memory. Malware often uses this as a way to strike, so Microsoft made DEP to stop it.
How to Disable DEP On Windows 11/10
Turn on DEP for only the most important Windows programs and services is the default choice for DEP in Windows 11/10. This is enough most of the time. It means that DEP will not care about most of your services.
But if DEP keeps the computer safe and doesn’t slow it down, you might want to choose Turn on DEP for all apps except the ones We choose. Then, if you find a program that doesn’t work well with DEP, we can add it as an exception. Let’s take a look at what to do.
- Open the Control Panel then open System.
- On the left side of the System window, click on Advanced System Settings.
- The System Properties window should open and already be set to the Advanced tab. In the Performance area, click on Settings.
- In the Performance Options window, click on the Data Execution Prevention tab.
- With Turn on DEP for all programs except those that I select selected, click on the Add button near the bottom of the window.
- Navigate to the executable for the program that we’d like to add as an exception. It will most likely be in C:/Program Files (x86).
- In this example, we’re adding MediaMonkey, an old music player utility. Click on the .exe file once we find it and click on Open.
- In Performance Options, click on Apply. Now, MediaMonkey will run outside of DEP protection while all others will run within DEP protection.
If you want to fully turn off DEP, you should only do so as part of troubleshooting. DEP is there to keep you safe. There isn’t a good point-and-click way to do it because it’s not a good idea. Let’s take a look at how to turn DEP off.
- Open the Command window as Administrator. Do this by typing cmd in the program search field near the Start menu.
- Enter the command bcdedit.exe /set {current} nx AlwaysOff and press enter.
- Restart the computer.
- DEP will now be completely, and permanently off.
What Is Data Execution Prevention in Windows 11/10?
Data Execution Prevention, or DEP, is a tool built into Windows that gives your computer an extra layer of security. It can help keep viruses and other threats from getting into your machine.
In more detail, the DEP tool uses a set of hardware and software technologies to do extra checks on Windows computer memory to stop harmful code from loading on a system and to make sure your computer programs use system memory safely.
To put it another way, there are some places in the memory of a Windows machine where codes can’t run. If there are some codes running there, they are likely bad. So, if Data Execution Prevention finds that some programs are using computer RAM in a bad way, it will shut them down and let you know. This keeps your computer system and the files and data on it safe.