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

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

46
0

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.

Advertisements

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

Advertisements

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

Advertisements