Disable Windows DEP (Data Execution Prevention) .(Non-Vista)
- Friday, January 23, 2009, 4:15
- Technology
- 130 views
- Add a comment
Windows DEP can be disabled through GUI and through the script.
Many people might be knowing how to Disabling DEP through GUI.But still here is the process how to disable the DEP through GUI.
- 1. Click Start
2. Select Control Panel
3. Select System
4. Click the Advanced tab
5. In the Performance region select Settings
6. Click the Data Execute tab in the dialog box that opens
7. Select Turn on DEP for all programs and services except for those I select
8. Click Add.
9. The open dialog box will open. Browse and select your application.
10. Click Open
11. Click Apply
12. Click Ok
13. Reboot
Disabling DEP through Script is very easy than disabling through GUI.
Run the following commands and restart the machine.
To do the change with bootcfg you can use the following sample from http://msdn.microsoft.com/en-us/library/ms791539.aspx
bootcfg /raw "/noexecute=alwayson" /A /ID 1
To do it remotely, you can execute something like:
bootcfg /s computer1 /raw "/fastdetect /noexecute=alwaysoff" /ID 1
This actually edits boot.ini file and modify the option /noexecute to alwaysoff.
As noted in the technet-article /raw will overwrite other boot-options, so you nead to be careful when doing this remote and be sure that you include other necessary boot parameters.
You could also push the command through group policy by creating a startup script that executes the command.
Computer Configuration\Windows Settings\Scripts (Startup/Shutdown)\Startup
Write a Comment
Gravatars are small images that can show your personality. You can get your gravatar for free today!
