How to turn off Data Execution Prevention DEP in Windows Server 2008

The way to turn off DEP in Windows 2008 is to go to Start > Run > cmd and in the command prompt type

bcdedit.exe /set {current} nx AlwaysOff

and then reboot the server.

To turn it back on go to Start > Run > cmd and in the command prompt type

bcdedit.exe /set {current} nx AlwaysOn

and then reboot the server.

Leave a Reply