How to disable DEP?

Have you ever encountered a problem that you could not start a program, and at the same time a message appeared that the program was closed by the system to protect the computer? If yes, then the program has been closed by the DEP function (Data Excution Transition).

What is DEP? This is a computer protection system. It prevents execution code execution in memory, which is defined as "data only". Thereby, DEP prevents a number of viruses and potentially dangerous codes from executing on the computer. Unlike conventional antivirus, this function does not remove the virus, but monitors its effect and does not allow harm.

Unfortunately, it often happens that this function does not work correctly. And then the question arises how to disable DEP.

It should be warned that this feature can only be disabled if you have a reliable, daily updated anti-virus, and a no less reliable firewall installed.

Before you tell how to disable DEP Windows, I must say that in some cases you should not neglect the protection that this function gives the operating system, it will be enough just to limit its effect on system files. For this:

  • Log in from the Administrator account or be ready to enter the administrator password when the system requests it.
  • Come in: Start - Settings - Control Panel. In this folder, find: System. Among the menu items, select Properties, then the Advanced tab. In it, under Speed, click the Parameters button. Click on "Data Execution Prevention".
  • It is recommended to set a marker on the Enable DEP item for basic functions and services only.
  • If for some reason you need to disable DEP for a particular program, you should add it. To do this, click Add, select it from the list and click ok. If you are not logged in as an Administrator, the system will ask you to enter a password.

If you need to disable the DEP feature completely, in this case, your actions will depend a lot on what system you have installed.

How to disable DEP XP Windows? To do this, manually edit the boot.ini system file, which is always located in the root directory of the boot disk. This can be done in two ways.

  • To see the desired file, you must allow the system to display hidden files.To do this, open any folder, go to Tools, then Folder Options and View. In the "Hide protected system files" item, remove the marker. After that, go back to the root directory of the bootable disk, open the boot.ini file using notepad or any other simple text editor, find the noexecute parameter and add it to make it look like noexecute = AlwaysOff, save the changes and reboot the computer. Changes will take effect.
  • Go to the Control Panel, then select the line System, then Advanced. In the new window, click "Edit". A boot.ini window will open. You should only make changes, save them and restart the computer.

The problem, how to disable DEP Windows 7, is solved somewhat differently. To do this, go to Start. Then in the search bar, enter cmd. When the system finds the desired program, right-click and run the program from the Administrator. Next, the console window opens. In it, you must enter bcdedit.exe / set {current} nx AlwaysOff. Click Enter.