All LessonsWindowsWindows 10

How to enable or disable Data Execution Prevention (DEP) in Windows 10/8/7

Data Execution Prevention or DEP is a security feature that was introduced in Windows Vista.

Enable, Disable Data Execution Prevention (DEP) in Windows 10/8/7

hreats. DEP can protect your computer by monitoring programs to ensure the safe operation of system memory. If a program tries to run (also known as executable) code from memory incorrectly, DEP closes the program. Sometimes due to this prohibition, various errors may occur when launching applications or games. By this, we will look at how to disable and enable data execution prevention (DEP) in Windows 10/8/7.

Disable data execution prevention

To disable DEP, open a command prompt as an administrator and enter the following command, and then restart the PC for the changes to take effect.

bcdedit.exe / set {current} nx AlwaysOff

Related post : netio.sys: BSOD blue screen errors in Windows 10

Enable data execution prevention

To turn DEP back on, open a command prompt as an administrator and enter the command.

bcdedit.exe / set {current} nx AlwaysOn

Related post : How to show hidden folders in Windows 10/8/7/XP

Related Articles

Back to top button