Switch off DEP from command line in Win 2003 [closed]
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed last year.
Improve this questionHow 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 so开发者_如何学运维lution.
On Windows XP and Windows Server 2003 you might want to use BOOTCFG
to disable DEP, see /noexecute on MSDN.
bootcfg /raw "/noexecute=alwaysoff"
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
run cmd as an admin and enter below in
bcdedit.exe /set {current} nx AlwaysOff
精彩评论