
Many people who use Mozilla Firefox 3.0 in Windows Vista are facing a frequent crashing problem. After 4-5 minutes their Firefox crashes and Windows Vista shows a message:
Data Execution Prevention (DEP) has shut down Firefox to protect the OS.
If you are also facing this problem, then use following simple steps and your problem will be solved:
1. Click on “Start button -> All Programs -> Accessories“. Right-click on “Command Prompt” and select “Run As Administrator“. If you are prompted to enter password, enter the password and continue. You can also open Command Prompt in Administrator mode by typing “cmd” in Startmenu Search box and press “Ctrl+Shift+Enter“.
2. Now provide following command:
bcdedit.exe /set {current} nx AlwaysOff
3. Restart your system and now you should not face crashing problem any more.


We recommend!


lee said:
great article this helped me fix a problem I was having
Gopinath M said:
What is the purpose of the following command?
bcdedit.exe /set {current} nx AlwaysOff
Will it turn off DEP?? If that is the case, is it not dangerous to turn it off?
VG said:
^^ Yep. It'll turn DEP off and its not dangerous. In fact DEP causes lots of such crashing problem, so its a better idea to turn it off.
@lee
I'm glad it helped you.
blink4blog said:
Could this be added firefox.exe into DEP exclusion list?
VG said:
^^ Vista doesnt allow to add Firefox in exclusion list.
Michael Collinson said:
Turning off DEP IS dangerous. It's there for a reason. It helps prevent malicious code from running. Turning it off is not the answer. The Firefox problem is more likely to be caused by a rougue add-on or theme. Try disabling them.
goldi said:
Hey vishal my pc shut down automacally & blue screen appears saying "IRQL_NOT_LESS_OR_EQUAL" window shut down to prevent data damage. I searched it over net & report to windows problem & error i got solution about drivers are incomatible of creative sound blaster 5.1 & nokia ca42 data cable with window. I tried to get new drivers but i found none. I want to turn of dep cause i always need to use these 2 product. above command works but only for few hours. I want to turn off dep permanantly pls help........... i am not geting reply in my mailbox pls mail me the solution goldi7515@rediffmail.com
VG said:
This command sets permanent settings. Make sure you run it as Administrator.
b2tb02 said:
Did the command now it won't tell methat dep is disabling firefox would simple crash with memory error...
G said:
How do you turn DEP back on, if so desired at a later date? I wish to turn it off and the help is awesome, but I also like to know how to revert back to previous states!! Thanks