How to add DEP exception from cmd ?

Discussion in 'Windows Vista Administration' started by Hotmail_H_, Apr 24, 2010.

  1. Hotmail_H_

    Hotmail_H_ Guest

    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
     
    Hotmail_H_, Apr 24, 2010
    #1
    1. Advertisements

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 (here). After that, you can post your question and our members will help you out.