Jan 1, 2009
SY Tan

How to Verify Data Execution Prevention is Enabled or Disabled in Vista

Data Execution Prevention (DEP) is a useful Windows Vista security feature that can prevent the execution of software in data memory locations and thus help to prevent malicious software from attacking and harming the system. This security tool needs to be configured before it can fully operate. Over time, this feature might also accidentally shut down legitimate processes of valid applications. Users can choose to activate the feature as security measure or disable it for certain reasons. Check out our previous post on how to turn on/off the Data Execution Prevention tool. If you are using others’ computer or for some reason want to verify whether the DEP feature is enabled or disabled, you can do so via the following steps:

Launch an elevated command prompt shell with administrative privileges and credentials. To do so, users need to log on to Windows Vista with a user account with administrator rights. Right click on the Command Prompt icon and select “Run as Administrator”

Execute the following command:

wmic OS Get DataExecutionPrevention_SupportPolicy

Press Enter.

Look at the number display on the screen. The number indicates the DEP status which reads as follows:

  • 0 =AlwaysOff – DEP is disabled for all processes
  • 1 =AlwaysOn – DEP is enabled for all processes
  • 2 =OptIn – DEP is enabled for Windows system components and services (this is the default setting)
  • 3 =OptOut – DEP is enabled for all processes except for those Administrators identified

dep-status

Related posts:

  1. Disable and Turn Off (or Enable or Turn On) Data Execution Prevention (DEP) in Windows Vista
  2. How to Check and Verify Vista Activation Status
  3. AVG Resident Shield Disabled, Inactive or Not Loaded Error
  4. Workaround to Install Windows PowerShell on EFS Disabled Vista
  5. Display Run Command in Start Menu of Vista

5 Comments

  • Node – GAMER-X
    ERROR:
    Code = 0×80041017
    Description = Invalid query
    Facility = WMI

  • these setting worked fine for me but i still have a small problem: i have verified that dep is on with the wmic command showing a 1, but on the DEP tab under Performance Options for vista 64, the lines are greyed out and the circles are blank for both. how do i get vista to recognize dep settings again after having turned them off with the bcdedit command?

  • I ran the bcdedit.exe /set {current} nx AlwaysOff command and then wmic OS Get DataExecutionPrevention_SupportPolicy and it said it was off. DEP is STIL closing my program.

  • You need to watch your mouth on here bud, and by the way, the command does work, you probably just didn't enter it properly.

  • Bullshit

    The author needs a cock in his eyes and stop posting bullshit.

Leave a comment

Notify me of followup comments via e-mail. You can also subscribe without commenting.

Subscribe

Free email subscriptions
Get latest updates in email for free:

Translate This Page