How to add DEP exception from cmd ?




is it possible from a .bat file to disable Data Execution Prevention for a
single program (add it to the DEP exception list) ?

I know I can run
bcdedit.exe /set {current} nx AlwaysOff
to totally disable DEP but don't want to do that, only to exclude one
And another question is, can I read the DEP settings (whether its for
Windows programs only or for everything except exceptions) from a .bat file
or registry (that is, not from the GUI) ?


Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question