[Solution] Windows Vista Data Execution Prevention (DEP) Crashing Mozilla Firefox

Many people who use Mozilla Firefox web browser in Windows Vista are facing a frequent crashing problem. After 4-5 minutes Firefox browser crashes in their computers and Windows Vista shows following error message:

Data Execution Prevention (DEP) has shut down Firefox to protect the OS.

If you are also facing this problem in Windows Vista or later, you can 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 Start Menu Search box and press "Ctrl+Shift+Enter".


2. Now type following command and press Enter:

bcdedit.exe /set {current} nx AlwaysOff

3. Restart your system and now you should not face that annoying crashing problem any more.

Share this article: Facebook | Twitter | Google+ | Reddit | Tell a friend

Posted in: Mozilla Firefox, Troubleshooting, Windows Vista

Other similar articles that may interest you


  • In case turning off DEP causes your computer to bluescreen (as it did mine), there's a way to get it back:

    - Perform a system repair using a system repair disk.
    - Open up command prompt inside the repair (There'll be an option under advanced options)
    - You'll be in "X:/" instead of "C:/"
    - type (without quotations) "CD Windows/system32"
    - type (without quotations) "bcdedit.exe /set {default} nx OptIn"

  • Acidboy, you took the words right out of my mouth!!! Especially the last bit.

Leave a Comment