Ask Leo! by Leo A. Notenboom

How do I turn off Data Execution Prevention errors?

Search First! Then browse: Categories | Full Archive | By Date | Newsletter

Home » Windows » Windows Configuration

Comments

Read the article that everyone's commenting on.
RSS feed Subscribe to the RSS Feed for comments on this article.

Comment Page:  1  |  2  |  3  |  4  |  5  |  6  |  7  |  8  |  9  |  10  |  11 

OK, I'm having an interesting problem. DEP throws an error when I try to defrag my "C" drive. I've added the several varients of "defrag" to the exceptions list, but no dice - still throws the error. Defrag works on my other partitions - just not on "C". I've tried setting it to "only essential Windows programs and services" (that was the default - when the problem began), and I've tried with exceptions for: defrag.exe, dfrgntfs.exe, dfrgfat.exe, dfrg.msc, and "df*.dll". Still no dice.

Posted by: Robin Wilson at September 14, 2007 7:15 AM

niall o callaghan, if there is something that is causing the error, it gets added to the list itself, you don't have to add.

my WinXP give this error on explorer and generic host services, I dont know what else will cause an error, its like everyday there is a new program that causes the error, that also windows programs.

Posted by: DCS at November 23, 2007 8:45 PM

I am trying to run Warlords Battlecry 3 on Windows Vista. But every time I run the executable file, the Data Execution Prevention message pops up and says that it cannot run. I have gone to the Data Execution Prevention settings to add the game's executable file as an exception, but another message pops up and says that this program MUST run with the Data Execution Prevention on. Is there any way to get rid of Data Execution Prevention completely?

Posted by: Gindi Khangura at November 27, 2007 12:37 AM

DEP is blocking my Medal Of Honor games on my Vista x64 machine. I followed the instructions and put the executables in the "exeptions" list, but DEP is still blocking my games. Then i tried the following solution:(Run a command prompt as administrator. From the start menu, select "All Programs", then "Accessories" and right-click on the "Command Prompt" shortcut and choose "Run As Administrator". From here you can use the following command to disable Data Execution Prevention (DEP) with the following command:

bcdedit.exe /set {current} nx AlwaysOff

Keeping your command prompt open, run your setup or other process being stopped by DEP. Then, to turn it back on again, do the same and run the following:

bcdedit.exe /set {current} nx AlwaysOn )

This solution didn't have any effect either.
So i tried to turn off DEP completely using the "bcdedit.exe /set {current} nx AlwaysOff" command, but this is useless too.

Is there no other way to turn off DEP (at least for executables that i choose) ?

Regards,

Posted by: Len at March 27, 2008 9:29 AM

Thank you very much, Leo, for advising me to not turn it off completely. The reason I didn't do it in the first place but instead went looking for an alternative was because I had a hunch it might harm my computer in some ways.
However, what you suggested would be sort of hard to do if DEP disallows even my access to Control Panel and the things in it. So I was wondering if you could help me with that consideration in mind. Any thing you can do would be much appreciated.

Posted by: Rach at April 4, 2008 2:50 PM

http://support.microsoft.com/kb/875352 provides a detailed explanation, including how to modify the BOOT.INI (handy if your DEP settings screen is inexplicably grayed out). If you're excluding older applications from DEP, you might also need to right-click the dodgy executable > Properties > Compatibility tab, and select a previous version of Windows.

Posted by: David at April 16, 2008 11:13 PM

First and for most I am in no way a tech, but from my browsing for info on DEP, first led me to this site, and then to the windows site. The windows site was a little more helpfull than this one, but only because I am cused with vista. I followed the instructions on the windows help site only to find out that you can't turn off the DEP for windows DVD maker. That should take care of some questions from people with similar problems. To Leo, you should have my e-mail as you have to enter it to post, if I find a good free ware dvd maker could I post the program name on your site, to further help all these troubled souls find a solution to their dvd burning problems?

Posted by: stasis at May 20, 2008 4:03 AM

I'm being locked out of Internet Explorer in Vista Home Premium. I have used the option TURN ON DEP EXCEPT FOR (and ADD (ed) Internet Exlorer (which shows up with a check mark in the box shown) but am still locked out of IE 7 even when restarted. Tried the Turn OFF DEP option (then restarting the computer, but stubbornly the IE 7 is still locked out (and reported in a message in the lower right hand part of the screen at startup. Any ideas?
Can't update to Vista SP1 until this is solved.

Posted by: Donald Ferguson at May 23, 2008 10:55 AM

No matter what I do on VISTA - Microsoft's own Internet Explorer does not work, even if I add it to TURN ON DEP FOR ALL PROGRAMS. It is unbelievable to me that I can take it off of my system. I can never use IE since I got this system. I already disabled all plug-ins, cleared the cache and files,, etc. No matter it IE does not work... I want it off the system - I have my own virus and hacker software that I use, I DO NOT WANT TO USE DEP AT ALL... How do I get IE to work? You help will be greatly appreciated. Is there a REGEDIT thing I can do to shutdown DEP altogether?

Posted by: Donna Molinari at June 1, 2008 11:05 AM

I have a problem with Windows Movie Maker when ever i try to import an avi video file it is always being closed by DEP. Then why i try to watch any avi files on Windows Movie Maker the DEP error shuts it down.

When i try to add the program so it won't be protected i get a error saying "This program must run with data execution protection (DEP) enabled. You cannot turn off DEP for this program".

Posted by: Leon at June 14, 2008 4:12 AM
Comment Page:  1  |  2  |  3  |  4  |  5  |  6  |  7  |  8  |  9  |  10  |  11 
Read the article that everyone's commenting on.
RSS feed Subscribe to the RSS Feed for comments on this article.
Post a Comment

To post a comment on "How do I turn off Data Execution Prevention errors?", please return to that article's main page.

Question? Ask Leo!