button-print-blu20 Windows Server - Enable / Disable DEP

DEP – Data Execution Prevention

To do this from the Start menu select All Programs, then go to Accessories and then finally right-click on Command Prompt and click Run as Administrator.

Once the command prompt is open, you can now disable the DEP by entering the following command line.

bcdedit.exe /set nx AlwaysOff

Now restart the server

To reverse the action, simply type this command line to enable DEP back on again.

bcdedit.exe /set nx AlwaysOn

2 thoughts on “Windows Server – Enable / Disable DEP

Leave a Reply

Your email address will not be published. Required fields are marked *