Advertisement
easternnl

DEP (Data Execution Policy) with PowerShell

May 6th, 2015
710
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Check DEP (Data Execution Policy) with PowerShell
  2. Get-WmiObject -Class Win32_OperatingSystem -Property DataExecutionPrevention_SupportPolicy
  3.  
  4. # Values:
  5. #2  OptIn (default configuration)   Only Windows system components and services have DEP applied
  6. #3  OptOut  DEP is enabled for all processes. Administrators can manually create a list of specific applications which do not have DEP applied
  7. #1  AlwaysOn    DEP is enabled for all processes
  8. #0  AlwaysOff   DEP is not enabled for any processes
  9.  
  10. # Source: https://support.microsoft.com/en-us/kb/912923
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement