Results 1 to 2 of 2

Thread: Verify Data Execution Prevention Status in Vista

  1. #1
    Join Date
    Aug 2006
    Posts
    122

    Verify Data Execution Prevention Status in Vista

    Data Execution Prevention (DEP) is a security feature that can help prevent damage to your computer from viruses and other security threats. Harmful programs can try to attack Windows by attempting to run (also known as execute) code from system memory locations reserved for Windows and other authorized programs. These types of attacks can harm your programs and files.

    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. 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
    In the end, we will remember not the words of our enemies, but the silence of our friends.
    -Martin Luther King Jr.

  2. #2
    Join Date
    Aug 2007
    Posts
    1,098

    Re: Verify Data Execution Prevention Status in Vista

    Sometimes this is not good and makes sure that programs DEP concluded that no threat to your PC. If so you can turn off DEP.

    Turn DEP not matter if you have any problems with the post!

    Go to the Start menu and type "cmd" in search. Enter below. If you have classic start menu go to "run", type "cmd" and enter it.
    Now type "bcdedit.exe / set (current) nx AlwaysOff" to DEP off.
    Close all windows now.


    If the state DEP is now. You want it again, type
    "bcdedit.exe / set (current) nx AlwaysOn"

    Does this tweak is not for you, start the cmd manually as Administrator. Do this by using the standard Vista Start menu, type cmd, and then right-click the cmd icon and click "Run as Administrator" choice.

Similar Threads

  1. Getting error saying Data Execution Prevention on Skype 5.3
    By Sach-Het in forum Windows Software
    Replies: 5
    Last Post: 25-06-2011, 10:18 PM
  2. Data Execution Prevention (crashes explorer.exe)
    By Zurina in forum Software Development
    Replies: 4
    Last Post: 17-10-2010, 01:54 AM
  3. wmiprvse.exe Data execution prevention
    By Bavol in forum Operating Systems
    Replies: 2
    Last Post: 06-08-2009, 11:35 PM
  4. Turn Off Data Execution Prevention(DEP) In Vista
    By Larry ward in forum Customize Desktop
    Replies: 4
    Last Post: 30-03-2009, 10:31 PM
  5. Data Execution Prevention
    By sivaranjan in forum Windows XP Support
    Replies: 3
    Last Post: 01-09-2005, 08:42 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,656,221,203.83522 seconds with 17 queries