Results 1 to 5 of 5

Thread: How to Turn off DEP - Vista and XP

  1. #1
    Join Date
    Mar 2005

    How to Turn off DEP - Vista and XP

    Service DEP (Data Execution Prevention - Prevention of Data Execution) is a function from the Windows SP2. This function is to prevent malicious script code in certain areas of Windows usually reserved for the storage of non-executable data.Data Execution Prevention (DEP) is a security feature that helps prevent damage from viruses and other security threats by monitoring your programs to make sure they use system memory safely.If you choose to protect all programs, you can still turn off DEP for individual programs. If you suspect that a program does not run correctly when DEP is turned on, check for a DEP-compatible version of the program or an update from the software publisher before you change any DEP settings.

    Partial deactivation XP - Step 1

    • Right click on "My Computer"

    • Select "Properties" and "Advanced"

    Partial Disabling Vista - Step 1

    • Right click on "Computer"

    • Select "Properties" and "System Protection"

    • Choosing "System Protection" in the left pane

    • Click on "Advanced System Settings"

    Partial deactivation on XP and Vista - Step 2

    • Under "Performance" click "Settings"

    • Click on "Execution Prevention Data

    • Check the box:
      "Turn on DEP for essential Windows programs and services only or Turn on DEP for all programs and services except those I select"
    • And check the list in the program responsible for your error message.

    • You can also manually add programs.

  2. #2
    Join Date
    Mar 2005

    Re: How to Turn off DEP - Vista and XP

    Total or Disabling DEP on XP (Not recommended)

    1. Right click on "My Computer"

    2. Select "Properties" and "Advanced"

    3. Under "Startup and Recovery, click Settings

    4. Now click on "Edit"

    5. The notepad has just begun. Simply replace the line:

      noexecute  optionn by AlwaysOff
    6. Restart your PC to complete the transaction.

    7. If you want to reactivate the DEP be sufficient to conduct the reverse, like this:

      Replace by
      AlwaysOff noexecute = noexecute = optin

  3. #3
    Join Date
    Mar 2005

    Re: How to Turn off DEP - Vista and XP

    Total Disabling DEP on Vista (Not recommended)
    NB: You must open a CMD window as an administrator, like this:

    1. Navigate to "All Programs" and "Accessories"

    2. Right-click on the icon "Command Prompt"

    3. Click "Properties" tab and in the "Shortcuts" where you normally are, click "Advanced"

    4. Check "Run as Administrator" and confirm with 'OK'

    5. Now that you have administrator rights on the CMD can be applied afterwards.

    6. Navigate to "All Programs" and "Accessories"

    7. Click on "Command Prompt"

    8. Paste this to later in the prompt window:

      bcdedit.exe /set {current} nx AlwaysOff
    9. Confirm by pressing "enter"

    10. The message "Success" appears.

    11. Restart to finalize your work. The function is disabled DEP.

    12. If you change your mind and you want to re-enable DEP enough to proceed in the same manner, but by sticking this in the prompt window:

      bcdedit.exe /set {current} nx AlwaysOn

  4. #4
    Join Date
    Nov 2009
    Sammamish WA

    Re: How to Turn off DEP - Vista and XP

    I followed the steps shown to turn off DEP when I was having trouble with certain (java related) pop-up windows that I required for my classes. This did not resolve the issue. I tried running the site in Google Chrome and it works fine. However, I followed the steps to re-enable DEP and it's still disabled in the System Properties area. How can I get this service back running? Thanks -

  5. #5
    Join Date
    Mar 2011

    ThumbsUp Re: How to Turn off DEP - Vista and XP

    installed oracle 10g and tried to run forms, dep kept blocking, replacing code with AlwaysOff worked and thanks for the advice on how to put it back.

Similar Threads

  1. How to turn on or off hardware acceleration on Vista
    By Santy in forum Operating Systems
    Replies: 7
    Last Post: 14-09-2009, 05:44 AM
  2. How ot turn off the UAC feature of Windows Vista
    By Maximilian5 in forum Windows Software
    Replies: 3
    Last Post: 08-05-2009, 03:32 PM
  3. Turn Windows Vista Defender on or off
    By bobmitch in forum Tips & Tweaks
    Replies: 2
    Last Post: 06-12-2008, 05:35 PM
  4. Turn off Hibernate in Windows Vista
    By fumble in forum Tips & Tweaks
    Replies: 3
    Last Post: 28-08-2008, 06:44 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts