Vista: Disable DEP or NoExecute Protection to fix Explorer Crashing

Contributor Icon Contributed by Hack_Vista Date Icon March 12, 2006  
Tag Icon Tagged: Microsoft Vista

Some explorer crashes, especially in the early builds of vista, are due to DEP violations. Turn it off and see if it helps.


DEP or NoExecute Protection will be a vital part of vista security. During these early builds, however, it can lead to many explorer crashes.

If you are getting a lot of explorer crashes, disable it and see if it helps.

Disable 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 button if it asks you for permission
7. Type or copy and paste this into the command prompt window:

bcdedit.exe /set {current} nx AlwaysOff

8. Hit enter and you should see the confirmation: Operation Completed Successfully
9. Reboot and DEP should be off.

Previous recipe | Next recipe |
 
  • Anonymous
    I have tried to disable DEP a few times but when I enter the command it says "The boot configuration data store could not be opened , Access denied" Help Please!!!!!!!!!!!!!!!
  • laree
    mine said the same thing
  • help?
    so how do I re-enable this? change it to alwayson?
  • orion
    remember, first open the command prompt by "run as admin". then type in bcdedit.exe /set {current} nx optin
  • Daniel
    Is DEP the confirmation thing? if so it doesnt work, i cant get my damn homeworld 2 to work no nmatter what i do D:
  • Anonymous
    Pro-Tip: Doesn't work with SP1
  • stefano
    vistax64 with intel processors, cannot disable DEP and trust me I have used every hack I could find on the net I need suggestions plz
  • rainbowwwarrior
    yeahhhhhhhh - it works ;o))))

    thx a lot !
  • Abul
    {WORKING FIX}

    tried everything..... Mines fixed now, sympathys to all whose isnt .... My advice.. boot in safe mode, search for "system restore" choose a point taht it 1 week + from when it started to skrew up....and hopfully your as lucky as i was...and it fixes it. Good LUCK@!@!@$#$@$
  • Gerd
    It does not work, my TurboCad prof 10.2 still does not work
  • this completely f*cked my system
    thanks whoever had this bright idea...
    ---------
    so yea i followed what this said
    now i keep getting the physical memory dump screen everytime my system gets past POST (laptop vista x32)
    i'v tried safe mode, startup repair, system restor -- i actually got a command prompt and tried reversing this dumb mistake -- that didnt work................(sigh) yes i have important files on this laptop which cannont be replaced...i was acutally in the middle of saving some home movies and making a big file using "windows movie maker" and the DEP kept killing wmm...i wanted to turn it off, used good ol' google and it led me to this hell hole
    thanks mr. tech man
    thanks google
    my e-mail is zk.mchls@gmail.com
    plz if anyone has any ideas or needs more in-depth...
    that is if anyone cares....
    (sigh)
  • jojo
    DEP doesn't work at all
  • Mark
    It's about time MS runs you all over the place, took another to help get rid of there IE 8 Beta
    Thanks you really helped me out
    Mark
  • I did it all BUT IT DOESN'T WORK , i'm going crazy damn !!!!
  • Trevor Wainwright
    I've DEP shutting down my spooler so that the printer does not work. I no longer get the message on start up but the spooler is always off. This in XP though. What has suddenly started this? I cannot get the spooler to start manually either. Bit of a drag as you can usually print your help before starting the fix, I have to write everything down!
  • SRINIVAS
    thnks u r awesome i was trying to solve this problem for so long days finally i got it solved
    yeah!!!!!!!!!!!!!!!!!1
  • contactlenzen
    guys, it really didn't help for me, I really think to use XP now instead Vista and wait till it will be more stable.
  • trigun
    people are stupid. if you haven't seen the thing at the bottom right of your screen that says the operation could not be performed or something like that. you do not have a DEP problem. if you click on those little bubbles when they pop up windows WILL actually tell you what is going on. look it up people.
  • Jamaico Tan
    hi i really have problems on this one and i follow what you said already but it says there that bcedit.exe is not recognized as an internal or external command

    please help me on this

    it would really be a pleasure iof you can help me
  • m
    bcdedit.exe /set {current} nx AlwaysOff

    make sure its B C D edit

    cheers
  • Pla
    Yeah. It works but be sure you run command prompt as admin.
  • XXXXX
    /////I have tried to disable DEP a few times but when I enter the command it says "The boot configuration data store could not be opened , Access denied" Help Please!!!!!!!!!!!!!!!/////

    same problem here.....
  • Adnan
    Not very useful. I did it but to no avail: caused more trouble. I reinstalled avgfree and ran a disc check on C drive which solved my problem.
  • ef
    hmm "no bcedit found"
  • orion
    you missed the "d". its bcdedit.exe
  • craig
    i know this might be an easy fix but i turned off DEP because it was blocking a program and the DEP is still stopping it from running. any ideas?
  • joeh
    I had same problem with Vista Home running IE8. I disabled Google Toolbar add-ons and all is OK now. (Right click Internet explorer, select start IE without Add-Ons - if this works you can then go to Manage Add-Ons and disable individual ones. I disabled the most recently intalled ones and by a process of elimination discovered that it was Google Toolbar and Google Findbar which were the cause of the problem)
  • Ali
    i did that but nothing happened !!!!!
  • MASF
    Thank you it worked perfectly. God bles your soul. :)
  • Zoey
    I typed in the command in the command prompt and it disabled DEP but the program it kept blocking still doesn't work. Do you know what I can do to get the program working?
  • to reverse this do the same as above but type : bcdedit.exe /set {current} nx OptIn into the command window
  • Jeff
    When I run the command i get:

    "The boot configuration could not be opened. The maximum number of secrets that may be stored in a single system has been exceeded."

    Any ideas on that?
  • KDA
    Got the same thing. Just another in long line of P.O.S. Vista problems..
  • C
    Thanx!!! Back up and running! Can get the job done now. I want to leave this off, What problems would I encounter,If any?
  • Robert
    Thanks! This actually accomplished my intended task. The other 30 articles I read on this subject were complete crap. Again, thanks.
  • ???
    this does not work for me.
    I always end up getting, access denied.
    Can someone please help?!
blog comments powered by Disqus