Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Firefox closes immediately after opening it

  • 10 回覆
  • 2 有這個問題
  • 357 次檢視
  • 最近回覆由 chillestyt

more options

Hello!

I recently got a new PC, and every time I open up Firefox it instantly closes. I have tried downloading it on the Microsoft Store, it seems to work fine for 5 minutes and then it happens again.

Hello! I recently got a new PC, and every time I open up Firefox it instantly closes. I have tried downloading it on the Microsoft Store, it seems to work fine for 5 minutes and then it happens again.

被選擇的解決方法

I have found the solution (and I'm upset that I didn't find it earlier.) Microsoft has made a setting for when you belong in a Microsoft Family. It restricts you from using any other browser apart from Edge (which it didn't really work well because Opera worked.) There is another Firefox support thread outlining this: https://support.mozilla.org/en-US/questions/1378744

Thanks to everyone who helped me. I find it really stupid that Microsoft did this.

從原來的回覆中察看解決方案 👍 0

所有回覆 (10)

more options

You can check for issues caused by a corrupted or incomplete Visual C++ installation that is missing runtime components (Redistributable Packages) required by Firefox, especially VCRUNTIME140_1.dll.

See "Visual Studio 2015, 2017, 2019, and 2022":

You may also have to install the Visual Studio 2013 Redistributable Package. You need to reboot the computer.


more options

Try it from Mozilla and see what happens. https://www.mozilla.org/en-US/firefox/all/#product-desktop-release

more options

You can also check the Windows Event Viewer logs to see if there is more detail available.

more options

Thanks for the help cor-el.

I have installed these programs which I believe are the ones that you asked me to install. Microsoft Visual C++ 2012 Redistributable (x64) Microsoft Visual C++ 2013 Redistributable (x64) Microsoft Visual C++ 2015 - 2022 Redistributable (x64)

I have checked and I do have VCRUNTIME140_1.dll in System32. I have restarted my PC and reinstalled Firefox, but it is still having the same problem.

jonzn4SUSE I have also installed Firefox from that link but I still have the same problem.

What do I need to do?

more options

Try to start Firefox in Troubleshoot Mode to see if that works.

  • Windows: hold down the Shift key while starting Firefox
  • Mac: hold down the Options key while starting Firefox
more options

Unfortunately that doesn't seem to work. I have noticed that I have had the same problem when trying to open Chrome.

more options

What security software are you running? What version of Win11? If Pro, can you fire up Windows Sandbox and see if you have the same issues in the VM? https://www.howtogeek.com/399290/how-to-use-windows-10s-new-sandbox-to-safely-test-apps/

more options

The security software that I am using is Bitdefender, and it doesn't seem to be the problem. The version of W11 I am using is Windows 11 Home 22H2.

more options

As a test... disable BitD, reboot and try again.

more options

選擇的解決方法

I have found the solution (and I'm upset that I didn't find it earlier.) Microsoft has made a setting for when you belong in a Microsoft Family. It restricts you from using any other browser apart from Edge (which it didn't really work well because Opera worked.) There is another Firefox support thread outlining this: https://support.mozilla.org/en-US/questions/1378744

Thanks to everyone who helped me. I find it really stupid that Microsoft did this.