Saturday, May 30, 2009

0 Disabling Data Execution Prevention (DEP) in Vista

At times, when you are working on an application, or try to use any application installed on your Pc, you might receive an error about DEP. The error reads as listed below:

Data Execution Prevention – Microsoft Windows
To help protect your computer, Windows has closed this program.
Name: program name
Publisher: program publisher

DEP is a security feature that can help prevent damage to your computer from viruses and other security threats. DEP can help protect your computer by monitoring programs to make sure they use system memory safely. If a program tries running (also known as executing) code from memory in an incorrect way, DEP closes the program.

To stop this error from appearing, you may try the steps which I have mentioned below:

Disabling DEP in Vista:
1. Click Start
2. Click All Programs
3. Click Accessories
4. Right Click on Command Prompt
5. Left click on Run as Administrator
6. Click the Allow or Continue button if it asks you for permission on the UAC popup box.
7. Type or copy and paste the following command into the command prompt window:

bcdedit.exe /set {current} nx AlwaysOff

8. Hit enter and you should see the confirmation: Operation Completed Successfully
9. Close Command Prompt windows and reboot the comp.

The DEP should be off now and you should not receive any DEP errors.

More information on turning off DEP for individual Programs, you can refer Microsoft article from here

0 comments: