Need help with server administration?
RSS icon Email icon Home icon
  • How do I globally turn off Data Execution Protection in Vista?

    Posted on June 1st, 2009 servbit2 No comments

    DEP is killing me on a special piece of forensic software I need to run. The individual exception is not working. How do I globally kill DEP?

    Thank you,

    Mike

    To disable:
    bcdedit.exe /set {current} nx AlwaysOff

    To enable:
    bcdedit.exe /set {current} nx OptIn

    To verify current setting:
    wmic OS Get DataExecutionPrevention_SupportPolicy

    0 AlwaysOff DEP is disabled for all processes.
    1 AlwaysOn DEP is enabled for all processes.
    2 OptIn DEP is enabled for only Windows system components and services have DEP applied. Default setting.
    3 OptOut DEP is enabled for all processes. Administrators can manually create a list of specific applications which do not have DEP applied.
    Not what you’re looking for? Ask an Expert.

    Leave a reply

    You must be logged in to post a comment.