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.

有帮助吗?

解决方案

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

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top