How to disable DEP in Windows 10 and below: basic methods

All those users who work with the latest generation of Windows operating systems, starting with the seventh modification, probably, at least once in their life when starting some program, they received a message that the application was closed by the system due to access to some memory address . For this behavior of the computer is responsible for the special DEP service, which was developed in due time to prevent virus attacks both at the OS level and at the level of primary BIOS / UEFI systems. The following is a suggestion to consider how to disable the DEP service on Windows 10 and systems of rank lower. But first, let's find out what kind of service it is, why it is needed and why it causes errors.

What is the DEP service and why should it be deactivated?

The technology on the basis of which this service operates has appeared relatively recently. Initially, it was focused on supporting Intel and AMD processors. For Intel, it is designated as XD ( Execute Disabled), for AMD - as NX ( No Execute). The abbreviation of the core service stands for Data Execution Prevention or Data Execution Prevention. Without delving into the technical jungle of the question, its functioning can be represented as a tool for checking and blocking certain RAM addresses, if the addresses marked as non-executable formally contain executable virus codes. That is, this technology allows you to prevent their implementation even after penetrating into RAM with loading your own modules.

Error caused by DEP

Such a "concern" about computer security can often play a trick on the user, because the service can easily block the execution of some program that it seems suspicious to it.

How to disable DEP in Windows to get rid of a single service or program error?

Despite the fact that the technology initially works at the primary system level, in the Windows family of OS itself, there has recently been a special system component, just presented by this service. If we talk about how to disable DEP in Windows 10 and earlier operating systems (up to and including the seventh modification), ordinary users can be offered several basic methods, but as a simple way you can use the tools of the system itself.

First go to the properties of the computer, then go to the advanced system settings, and then click the performance options button.

Disable DEP for selected programs

Now, on the tab with the name of the original service, instead of the first item activated by default, check the second, click the add button to the list of the application that constantly causes an error, in the form of an executable file, and then save the installed options.

What if the application is not whitelisted?

Everything seems to be quite simple, however, sometimes adding a blocked program to the check deactivation list can be very problematic, and the system immediately gives an appropriate notification about the impossibility of performing the selected action.

KVRT Antivirus Utility

In such a situation (despite the official origin of the installed application), it is strongly recommended that you immediately check it for viruses, but for this you need to use not a regular scanner, but independent portable utilities like KVRT or Dr. Web CureIt. It is possible that the threat will be identified and neutralized, after which the program can be omitted from the list at all. If you still need to add it to the list of exceptions, add an application, although this will no longer be absolutely necessary.

How to disable DEP in Windows 7, 8, 10 on the command line?

The above technique is simple, but it does not always give the desired result. Therefore, it is worthwhile to dwell separately on how to disable DEP in Windows 10 and lower, using the command-line tools for this, which, in comparison with standard tools, look more effective.

Disabling DEP on the command line

Run the command line as administrator, and then run the command shown in the image above. This method has the advantage that it deactivates the service for absolutely all executable components, and not only in the form of EXE files of system services and user programs. After executing the command, a system reboot is required.

Deactivate a service in the registry

Now let's see how to disable DEP in Windows 10 using the registry. Actions in it look a little more complicated, but the result is as effective as possible.

Disabling DEP for Programs in the Registry

In the (regedit) editor, expand the HKLM branch, and then navigate through the section tree to the Layers directory, as shown in the picture above. On the right in the workspace, for each application for which you want to deactivate the DEP service, create a new string parameter, for the name use the full path to the EXE file of the desired program, and enter DisableNXShowUI in the value setting field . As in the previous case, at the end of the steps, perform a full restart of the computer.

Is it possible to disable the service?

Is it possible to disable a service in the BIOS? How to disable DEP in Windows 10, figured out . Now it is worth noting that the use of system tools may not have any effect at all if the application of the described technology is activated in BIOS / UEFI. Some users claim that it is impossible to deactivate it in primary systems. The deepest error! You can disable Windows 10 DEP in the BIOS if you know where to look for these parameters. The fact is that it is in the primary systems that there is no service name, but you can find options related to the main technology. Typically, these parameters are referred to as Execute Disable Bit, No-Execute Memory Protect, Execute Disable Function, or something like that.

Disabling DEP in BIOS / UEFI

For this parameter, simply set the value to Disable and save the changes on exit, after which a reboot will follow automatically.

Note: the service will be disconnected completely and completely, and not for any separately selected program.

Source: https://habr.com/ru/post/K6698/


All Articles