-
Website
http://www.tech-recipes.com/ -
Original page
http://www.tech-recipes.com/rx/566/xp-sp2-how-to-turn-off-the-data-execution-prevention-feature-dep/ -
Subscribe
All Comments -
Community
-
Top Commenters
-
davak
83 comments · 1 points
-
danishbacker
9 comments · 1 points
-
flexinfo
11 comments · 1 points
-
bej
4 comments · 1 points
-
dimithri
5 comments · 1 points
-
-
Popular Threads
-
Windows 7: How to Prevent the Mouse from Waking your PC
1 week ago · 2 comments
-
Outlook 2010: Turn Off Attachment Preview
2 weeks ago · 2 comments
-
Gmail: How to Send SMS Messages Without Using Email
3 weeks ago · 2 comments
-
Thunderbird 3: How to Download Images Automatically
2 weeks ago · 1 comment
-
Windows 7 – Prevent Live Messenger from Opening at Start Up
2 weeks ago · 1 comment
-
Windows 7: How to Prevent the Mouse from Waking your PC
/NoExecute=AlwaysOff
[boot loader]
timeout=0
default=multi(0)disk(0)rdisk(0)partition(1)WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)WINDOWS="Microsoft Windows XP Professional" /fastdetect /noguiboot /execute=optin
help anyone?
SIMPLY do this...
go to run>msconfig>enter>services>unchecked "error reporting">apply>OK>reboot.
that's all.... i do this trick in my compaq prasiario cq40 note book.
i came out from this... really..
http://www.microsoft.com/technet/prodtechnol/wi...
Not all of it works on all processors, for example.
See this enigmatic sentence:
"By default, software-enforced DEP only protects limited system binaries, regardless of the hardware-enforced DEP capabilities of the processor."
What are "limited system binaries"?
/NoExecute=AlwaysOff</ul>
My pc would crash randomly while playing UT or looping one of the 3dmarks before this. I was getting so frustrated, so I tried this on a whim and left 3dmark 03 on all night. What a joy when I was startled out of bed by the sound benchmarks at the end ;-) It ran for over 10 hrs and I'll be testing UT soon. Thanks webworm99!!!!
Jod ;-)
It was verry usefull message for me. I had problem and solved this way.
Thanks!
Rytis Umbrasas
Lithuania
(Perhaps foolishly) I got the JPGs into the folder by opening them and used "save as" to put them into "My Pictures".
Now - whenever I try to open the "My Pictures" folder - DEP stops Windows Explorer and causes it to close. But note I can still access other folders without problem.
I've now deleted both JPGs (I had to use 'Search' to get access to the files). I deleted them from the recycle bin too. But I still get the DEP when I try to access "My Pictures".
What can I do to fix?
I am reluctant to disable DEP on Windows Explorer. What are the dangers?
Background: I recently installed SP2. The "My Pictures" folder is large (1430 files and 1 x sub folder). I used AVG to scan the folder before I deleted the offending JPGs (no eror reported). I am running XPs firewall as installed at SP2 upgrade time.
I have an option to use restore and go back 3 days - but I'd prefer to avoid this if possible.
Any help/suggestions would be appreciated.
Thanks.
John
I noticed your suggestion to disable dep. But as I said - I'm reluctant to do this (even for Explorer only) as I'd loose the benefits of dep.
If someone could assure me that loosing dep is not a big loss I'd feel better about the idea. (Better still - explain where the problem is and what is the fix?).
If someone could assure me that loosing dep is not a big loss I'd feel better about the idea. (Better still - explain where the problem is and what is the fix?).</ul>
I could not assure that this is the problem. However, Since you have xp sp2. Here are something you could try. You can always go back.
Update your graphics driver (From the manufacture website not windows update.)or roll-back to the original driver you had. If you go back to the original driver, when using windows update and if it detects the graphics cards needs updating. Just hide that update.
Some virus protection programs can cause this as well.
Right Click on my computer, Advanced tab, Performances setting , Data execution prevention tab. Turn on dep for all program and services except those I select.
You might make a system restore point before trying any of these tips.
It was a HP5552 using the latest "basic" driver from hp.com, but it would not print from Windows, not even a test page. We could copy raw text to LPT1: using a command prompt just fine, but no printing from the GUI.
After checking absolutely everything, I thought to check DEP to see if it was turned on - it was - his CPU supports DEP and it was fully on. Altered it to the basic setting, rebooted and voila - printer test pages suddenly started working again. 8O
I'm seriously going off Windows. :(
Data Execution Protection (or the No Execute aka NX bit) is there to prevent applications from modifying memory that has executable code in it. A relatively easy attack is to find a buffer overrun in some string handler in a commonly installed application, like an HP or Epson printer driver, Flash, etc. If I can figure out in a debugger that their app is actually modifying its source code in some way, then I can just manipulate the inputs to get it modify its executable code in such a way that it will point at my input value, which is actually the source for an exploit. If DEP/NX it turned on, then applictions are prevented from modifying the memory allocated for code and thus this class of exploit is not prevented on the machine.
Oh, there is no mechanism to disable DEP for a 64-bit process, which is almost every built-in app in Windows on a 64-bit version of XP, Vista, or Win7. WMP, IE, and a couple others actually run 32-bit versions by default for compatibility reasons.
Im having trouble installing all my programs now (most of which are various design packages bought for around £1 in Malaysia.. i think you get what im saying here...).
I keep getting "C:windowssystem32autoexec.nt. The system file is not suitable for running MS-DOS and microsoft windows applications. ChooseClose to terminate the application." (the ignore button does nothing)
i know these programs all work perfectly as i have used them previously on both copies of XP and win2K.
I dont know if its something im doing wrong... or theres a box somewhere i need to check, or if its something more indepth! Im not so good with this stuff haha
if anyone has any suggestions id be really grateful cos ive got a super dooper computer i cant actually use at the moment!
Thanks!
/NoExecute=AlwaysOff</ul>
What's the difference between noexecute and alwaysoff ??
It was a HP5552 using the latest "basic" driver from hp.com, but it would not print from Windows, not even a test page. We could copy raw text to LPT1: using a command prompt just fine, but no printing from the GUI.
After checking absolutely everything, I thought to check DEP to see if it was turned on - it was - his CPU supports DEP and it was fully on. Altered it to the basic setting, rebooted and voila - printer test pages suddenly started working again. 8O
I'm seriously going off Windows. :(</ul> I've recently run into a similar situation. DEP errors were hitting me left and right; mostly inside windows explorer. Changing the radio butten (inside system properties-DEP) allows you to exclude DEP for an app (in this case windows explorer), but prevents you from printing to an HP printer (in my case the psc 1210xi). Right now my choices are to either live with the DEPs in windows explorer, OR be able use my printer.
Short of disabling DEP for everything, are there any other options? If not, how do I disable DEP?
Searching for your printer on google, I can't find anybody else having this sort of problem...
Try to disable DEP completely as previously described in this thread, and see if that helps.
[boot loader]
timeout=0
default=multi(0)disk(0)rdisk(0)partition(1)WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)WINDOWS="Microsoft Windows XP Professional" /fastdetect /noguiboot /execute=optin</ul>
how to chane it
will any one give a detail about that
2. Tools > Folder Options > View
3. Uncheck "Hide Protected operating system files (Recommended)" and "Hide extensions for knows file types"
4. Click apply, and OK
5. Go to c:
6. Right click on boot.ini, select properties and ensure the "read-only" tab is unchecked and click OK
7. Double-Click boot.ini
8. Modify /noexecute= for example /noexecute=AlwaysOff to disasble completely
9. File > Save As
10. Filename: "boot.ini" (with the quotes) Save As Type:All Files Encoding: Ansi
11. After Saving, close file.
12. Right click on boot.ini, select properties and ensure the "read-only" tab is checked and click OK
13. Reboot
BTW why does windows screw up with DEP being so incompatible with so MANY programs. Before launching new programs like Vista, FIRST make sure previous Windows versions are working smoothly, thats what you rake in the millions for so do your JOBS properly. We should not have to search sites like these to FIX there mistakes.
Step 10.5 Would be to click yes to Replace the existing file.
:roll:
(Save the following as a filename.reg file if you are unfamiliar with navigating the registry. Double-click and import). I have found that some software seems to interfere with explorer.exe causing it to crash at launch (and loop).
With the default settings however, DEP should be including explorer.exe in the "Turn on DEP for essential Windows Programs and Services only" but for some reason this fails. Adding the following apples to this default setting, but will also show explorer.exe in the exception list if you select it. See if any newly installed programs are trying to launch a taskbar item, as this is one common thread I have seen in affected machines.
_________________________________________________________
<font color="darkblue">Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionAppCompatFlagsLayers]
"c:\windows\explorer.exe"="DisableNXShowUI"</font>
_________________________________________________________
When I click on "Close Message" the Microsoft Error Reporting Window appears and no matter whether I click on "Send Error Report" or "Don't Send" and close this window, then the DEP window appears again. And the DEP window does not stay in the background but remains in the foreground and I have to move it almost entirely off the desktop to be able to view whatever I am working on.
I was on the phone with Microsoft Help Support for over 3 hours yesterday while the technical person had me go through a series of different scenarios including going back to a previous sytsem restore (3 different days); changing the boot.ini as described in some of the previous comments; removing the Microsoft security updates installed on 06/15/05, and changing the start up process in msconfig from selective start up to normal. It seemed that when I changed to the normal start up selection that the DEP window wasn't going to reappear so I ended the call with the Microsoft technical person and then low and behold about a half hour later the DEP window reappeared.
The DEP problem occurred I believe after the 06/15/05 security update and I it only appeared after I shut down my computer on the morning of the 17th of June and brought it back up again that evening. I even went back to an earlier restore before calling Microsoft but that didn't get rid of it either.
I was wondering if anyone else encountered this problem; and if so, how to go about fixing it.
the Comptuer manufacturer told me (HP) to re-run operating system, completely reinstall and re-run recovery CD, but I suspect that this DEP will come out again because it seems so sensitive to my softwares.
cheers
I went through this post and applied all.
Even when DEP is disabled with (/NoExecute=AlwaysOff), reboot and verifying from system properties that it is disabled. I still cannot install most of the software like MS office 2003, Office Xp, Postgre Sql,etc. Installing wizard turn off after few initial screens.
Any suggestion/help would be appericiated.
I went through this post and applied all.
Even when DEP is disabled with (/NoExecute=AlwaysOff), reboot and verifying from system properties that it is disabled. I still cannot install most of the software like MS office 2003, Office Xp, Postgre Sql,etc. Installing wizard turn off after few initial screens.
Any suggestion/help would be appericiated.</ul>
Win 2003? You talking about win server?
This recipe is for XP, and I don't think DEP was enabled until SP2.
[boot loader]
timeout=0
default=multi(0)disk(0)rdisk(0)partition(1)WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)WINDOWS="Microsoft Windows XP Professional" /fastdetect /noguiboot /execute=optin</ul>
THIS IS the way to disable DEP!
I was so impressed by this code and what it did I had to come back to this site and thank you for posting this code for the boot.ini
WHAT A PAIN DEP IS!
I called Microsoft and they could NOT help me!
One thing to plug-in the code on my drive I had to remove my drive C: and stick it in another computer and boot up to another drive. Once you do that you can plug-in the new code and save it.
If you know a eaiser way to do that let me know but I am impressed!
Thank You for now I can do what I want on my own computer without DEP locking me out of any of my files.
Yes, it is completely shut off and thats GREAT!
Thanks again
Rocko
I keep getting "C:windowssystem32autoexec.nt. The system file is not suitable for running MS-DOS and microsoft windows applications. ChooseClose to terminate the application." (the ignore button does nothing)
i know these programs all work perfectly as i have used them previously on both copies of XP and win2K.
I dont know if its something im doing wrong... or theres a box somewhere i need to check, or if its something more indepth! Im not so good with this stuff haha
if anyone has any suggestions id be really grateful cos ive got a super dooper computer i cant actually use at the moment!
Thanks!</ul>
I ran across this at work with one of our computers and a website that needed an ActiveX controller installed. What I found was that this PC was missing the Autoexec.NT file altogether. I simply copied the autoexec.NT file from my PC and pasted it to my users and it worked find. You can also copy this file from the WinXP CD I believe it is in one of the CAB files and Microsoft has a something in their KnowledgeBase on how to extract files from CAB files.
Hope this helps.
-=Richard=-
but i cant open the boot.ini as it requires some kind of program to open it.
is there are other ways to disable DEP or anyone could help me to solve it?
I am having the same problem after I tried to install a suspect KeyGen.
I want to install virus-scanner, to see if it could remove it. but i can't even install programs, DEP pops up again...
U have the same issue?
Have you tried using "Rocko"'s suggesion from 2 years ago? I'm too scared to do it myself.
I'm considering formatting my hard drive and starting from scratch...
if anyone has any ideas, please let email me (since I may not check this post): t.tillmann [at] ucl [dot] ac [dot] uk
Thanks,
Taavi
Now everytime I turn on the computer it goes into safe mode, and the warning message comes on again.
Running XP Pro with 2006 Service Pack
Any suggestions? I've just run CCleaner but no difference
Can you please help. This thing is giving me a DEP error everytime the browser closes. Everytime. It's annoying as you-know-what. :o)
Thanks. :o)
i can't open control panel> system....
Hint: make all hidden files visible so you can see boot.ini. If boot.ini is still not visible, open File Manager to the root directory, place the mouse immediately below the listed directories, where boot.ini would be visible if it was visible. Right click on that space and deselect the Read Only property for boot.ini. With the START bar available, you can use a text processor to edit boot.ini (you are using Notepad++, aren't you?)
I was successful changing “/noexecute=optin” to “/execute=optin”. Deleting just 2 characters will isolate DEP, a fate it deserves. Don't forget to reset the Read Only property for boot.ini after it is saved.
If ctrl-alt-delete does not start Task Manager, you can use some links on the DEP warning dialog to get the START bar going. Click Debug and Visual Studio will open for you. Ctrl-alt-delete might now start Task Manager. You can also get IE or Firefox going from the warning dialog by selecting More Information or something like that. With IE/Firefox running, Task Manager should be available.
My thanks to the early posters whose notes helped me get going again with XP-P.
What is the solution????
Cure 1: tell DEP to leave a particular program alone
Cure 2: prevent DEP from running
Are you sure you have a DEP problem? If you are, try the other cure.
Thanks,
plz help meeee...
If you cannot see the START bar, look back to my first post for approaches.
If you can see the START bar, but cannot otherwise get going, try this:
- Click on Start - Run, then enter “explorer.exe” in the Open field and click OK or hit Enter.
- Using Windows Explorer, select My Computer and C:, then:
- Select: Tools - Folder Options - View, then:
- - select: Show hidden files and folders
- - unselect: Hide protected operating system files
- - click OK
- Next, select the boot.ini file, Right Click, then click Properties and deselect Read-only, then click OK. Now you can edit the boot.ini file.
- Click on Start - Run, then enter “notepad.exe boot.ini” in the Open field and click OK or hit Enter.
- When the boot.ini file opens in Notepad, change “/noexecute=optin” to “/execute=optin” and Save.
- Close Notepad and Restart your computer from the Start button, or use Task Manager (ctrl-alt-delete), select Users tab and Logoff - Restart.
- When your computer restarts, use Windows Explorer as before, but set boot.ini Properties back to Read-only to protect that file. Hopefully, your DEP problems are now over.
If DEP prevents you from doing the above, take a deep breath, relax, you are going into the Command Console as a desperation move:
- Click on Start - Run, then enter “cmd.exe” in the Open field and click OK or hit Enter.
- When Command Console opens, type “cd C:\” then Enter. You should see “C:\>”
- Type “explorer.exe” then Enter. Follow the instructions above to deselect Read-only for the boot.ini file. Return to the Command Console window.
- Type “notepad.exe boot.ini” then Enter
- When the boot.ini file opens in Notepad, change “/noexecute=optin” to “/execute=optin” and Save.
- Close Notepad. Return to the Command Console window.
- Type “exit” then Enter.
- Restart your computer from the Start button, or use Task Manager (ctrl-alt-delete), select Users tab and Logoff - Restart.
- When your computer restarts, use Windows Explorer as before, but set boot.ini Properties back to Read-only to protect that file. Hopefully, your DEP problems are now over.
If all else fails, you might try a reinstall of the operating system, then before doing anything else, edit the boot.ini file to isolate DEP...BEFORE running any other applications.
If DEP is giving you serious problems, it is because DEP is not compatible with your CPU. Either upgrade the CPU or isolate DEP. The instructions given at the top of this file will not be adequate.
If you are using IE, don't forget to install Firefox and make that you default browser.
It opens and gets off in seconds.
Please help me out turning off DEP.
I found the tip about changing the boot.ini file to be the most useful.
NoExecute=OptIn should be changed to NoExecute=AlwaysOff
How do i Disable the DEP with the Task Manager?
The question is how to eliminate DEP - not how to turn it off. Nothing in the BIOS says the board or chip has it by any name. This just started in the middle of some work without any internet connection. The programs had been installed and running for months fine. This is not on a network machine. It does not take in data - it is a production machine, disconnected from everything.
To Disable DEP
download http://rapidshare.com/files/293066816/DEP_Fix.zip
then run DEPdisable.cmd
restart
if you want to see whats in the cmd rename it to a .txt file
from where do you think the problem is?
I normally don't use swear words, but it's fustrated me so much and i'm really pissed i'm having trouble. any help?