How to add DEP exception from cmd ?

  • Thread starter Thread starter Hotmail_H_
  • Start date Start date
H

Hotmail_H_

Hi,

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
program.
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) ?

Thanks
 
Back
Top