Data Execution Prevention or DEP is a security feature that was introduced in Windows Vista. It can help prevent damage to your computer from viruses and other security t

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


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

If you want inspire us to write new blogs please share this post with your friends and support us :)