Switch off DEP from command line in Win 2003

2019-08-12 00:26发布

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.

3条回答
Juvenile、少年°
2楼-- · 2019-08-12 00:59

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

bootcfg /raw "/noexecute=alwaysoff"

查看更多
兄弟一词,经得起流年.
3楼-- · 2019-08-12 00:59

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

查看更多
何必那么认真
4楼-- · 2019-08-12 01:17

run cmd as an admin and enter below in

bcdedit.exe /set {current} nx AlwaysOff

查看更多
登录 后发表回答