为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

firefox fails to open with this message 'Failed to read the configuration file. Please contact your system administrator.'

  • 4 个回答
  • 24 人有此问题
  • 111 次查看
  • 最后回复者为 cor-el

more options

I have down loaded new firefox because it previously crashed...now firefox will not open. Same message as before 'Failed to read the configuration file. Please contact your system administrator.

I have down loaded new firefox because it previously crashed...now firefox will not open. Same message as before 'Failed to read the configuration file. Please contact your system administrator.

被采纳的解决方案

hi jimjobson, in case this is happening in an enterprise environment, please tell this to your it staff since the pre-built configuration they are using for firefox is probably failing. if not, then please manually delete the firefox installation directory and then reinstall the browser from https://www.mozilla.org/en-US/firefox/all/.

定位到答案原位置 👍 6

所有回复 (4)

more options

选择的解决方案

hi jimjobson, in case this is happening in an enterprise environment, please tell this to your it staff since the pre-built configuration they are using for firefox is probably failing. if not, then please manually delete the firefox installation directory and then reinstall the browser from https://www.mozilla.org/en-US/firefox/all/.

more options

This did not work for me. I initially installed FF 52.5.2 ESR on a Windows 7 Pro machine using the Microsoft Deployment Toolkit MDT). I then added the local-settings.js file to the \defaults\pref folder and the mozilla.cfg file to the Mozilla Firefox install directory. I received the error message "Failed to read the configuration file..."

I uninstalled FF and manually deleted the install directory. I reimaged the workstation and added FF again using MDT. I manually copied the files. Got the error message again.

I had copied the JS and CFG files off a web site so I manually recreated these files... and get the same error.

I again uninstalled FF and manually deleted the install folder. I then ran the 52.5.2 ESR setup file manually. And again copied the JS and CFG files to the appropriate locations and, again, got the error message.

I installed Windows 7 Pro from scratch (dvd), then installed FF 55.2.5 ESR and copied the JS and CFG files over to the appropriate locations and still get error message.

I tried the 32- and 64-bit versions and got the same result.

Now the error message is kind of ironic ("Please contact your system administrator.") since I AM the system administrator.

Here are the contents of my files:

local-settings.js:

// Where is the config file?! pref("general.config.filename", "TestMoz.cfg"); pref("general.config.obscure_value", 0);

TestMoz.cfg:

// Any comment. You must start the file with a comment! // Disable updater lockPref("app.update.enabled", false); // make absolutely sure it is really off lockPref("app.update.auto", false); lockPref("app.update.mode", 0); lockPref(app.update.service.enabled", false);

Thanks in Advance for your help.

OregonSteve "Never, never doubt what nobody is sure about." -Willy Wonka

由OregonSteve于修改

more options

[SOLVED]

Didn't see a typo (missing double quote) Didn't know\realize that one bad line would make the entire file ineffective.

Thanks

OregonSteve "Never, never doubt what nobody is sure about," -WIlly Wonka

more options

Keep in mind that the mozilla.cfg file or like you named it is run as privileged JavaScript code and any error in this file will throw an exception and abort the execution.