Data Execution Prevention (DEP) in Windows Vista and Windows 2008 Rumi, April 7, 2011 Right click on Command Prompt icon and select “Run as Administrator". Then execute the following command: bcdedit.exe /set {current} nx AlwaysOff If you regret your decision and now wants to enable or turn back on the DEP protection for your Windows Vista, simply use the following command instead: bcdedit.exe /set {current} nx AlwaysOn Administrations Configurations (Windows)