Community Page
- www.tech-recipes.com/ Jump to website »
-
Subscribe -
Community
-
Top Commenters
-
Popular Threads
-
Recent Comments
- Thanks mate, Just what I was looking for. It seemed to be a different way of doing things in Leopard than previous versions. Cheers, Mitch
- thanks, i couldnt remember.
- I did this in Garage band, but if forced me to trip the song to 8 seconds in order to send it to itunes ringtones - any ideas on this? Using the new 3GS.
- Please dont remove this Folder, It occupies only 315 MB and is useful for your Office 2003.... SRIKANTH
- that still wont work and i got no idea about registery could use help
Tech-Recipes
Cookbook of Tech TutorialsXP SP2: How to Turn Off the Data Execution Prevention feature (DEP) | Windows | Tech-Recipes
Started by qdideas · 9 months ago
4 years ago
[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
9 months ago
help anyone?
8 months ago
5 days ago
4 years ago
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"?
4 years ago
4 years ago
/NoExecute=AlwaysOff
4 years ago
/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 ;-)
1 month ago
It was verry usefull message for me. I had problem and solved this way.
Thanks!
Rytis Umbrasas
Lithuania
4 years ago
(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
4 years ago
4 years ago
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?).
4 years ago
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.
4 years ago
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. :(
4 years ago
4 years ago
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!
4 years ago
4 years ago
4 years ago
4 years ago
/NoExecute=AlwaysOff</ul>
What's the difference between noexecute and alwaysoff ??
4 years ago
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?
4 years ago
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.
4 years ago
[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
4 years ago
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
4 years ago
Step 10.5 Would be to click yes to Replace the existing file.
:roll:
4 years ago
(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>
_________________________________________________________
4 years ago
4 years ago
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.
4 years ago
3 years ago
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.
3 years ago
cheers
3 years ago
3 years ago
3 years ago
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.
3 years ago
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.
3 years ago
2 years ago
[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
2 years ago
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=-
2 years ago
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?
1 year ago
1 year ago
1 year ago
8 months ago
7 months ago
4 months ago
4 months ago
4 months ago
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
3 months ago
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
3 months ago
3 months ago
3 months ago
2 months ago
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)
2 months ago
2 months ago
2 months ago
i can't open control panel> system....
2 months ago
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.
2 months ago
2 months ago
1 month ago
What is the solution????
1 month ago
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.
1 month ago
1 month ago
1 month ago
Thanks,
1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
plz help meeee...
4 weeks ago
4 weeks ago
3 weeks ago
4 weeks ago
2 weeks ago
3 weeks ago
3 weeks ago
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.
1 week ago
1 week ago
1 week ago
1 week ago
4 days ago
3 days ago