Switch off DEP from command line in Win 2003

北战南征 提交于 2019-12-11 06:42:43

问题


How can I switch off DEP from command line in Win 2003?

Or at least for Win XP.

A lot of forums explain how switch it off by editing boot.ini, but I need command line solution.


回答1:


On Windows XP and Windows Server 2003 you might want to use BOOTCFG to disable DEP, see /noexecute on MSDN.

bootcfg /raw "/noexecute=alwaysoff"




回答2:


It's not commandline, but perhaps you can use

Win + Break, *A*dvanced, *P*erformance Options, Data Execution Prevention tab

where you can even manage DEP settings per application




回答3:


run cmd as an admin and enter below in

bcdedit.exe /set {current} nx AlwaysOff



来源:https://stackoverflow.com/questions/7661178/switch-off-dep-from-command-line-in-win-2003

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!