搜尋 Mozilla 技術支援網站

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

了解更多

Sccm install Firefox, now get error cant open program. Failed to read the configuration file. Please contact your system administrato

  • 1 回覆
  • 2 有這個問題
  • 3 次檢視
  • 最近回覆由 cor-el

more options

I used a script to install it from this site. https://www.itsupportguides.com/configmgr-sccm/install-and-configure-firefox-silently/

I followed the instructions exactly as it on that site now none of my users can use firefox. they get the failed to read config file and program doenst launch.

I used a script to install it from this site. https://www.itsupportguides.com/configmgr-sccm/install-and-configure-firefox-silently/ I followed the instructions exactly as it on that site now none of my users can use firefox. they get the failed to read config file and program doenst launch.

被選擇的解決方法

You get this error message when there is a .js (local-settings.js) file in the "defaults\pref" folder that specifies to process the mozilla.cfg file, but the mozilla.cfg isn't found.

Did you make sure that the mozilla.cfg doesn't have a hidden .txt file extension?


You can use the mozilla.cfg file in the Firefox program folder to set or lock preferences and run privileged JavaScript code.

A local-settings.js file needs to be placed in the "defaults/pref" folder where also the channel-prefs.js file is located to specify using mozilla.cfg.

pref("general.config.filename", "mozilla.cfg");
pref("general.config.obscure_value", 0);

These functions can be used in the mozilla.cfg file:

defaultPref();	// set new default value
pref();		// set pref, allow changes in current session
lockPref();	// lock pref, disallow changes

The mozilla.cfg file needs to start with a comment line (//).

See Configuration:

See also:

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

所有回覆 (1)

more options

選擇的解決方法

You get this error message when there is a .js (local-settings.js) file in the "defaults\pref" folder that specifies to process the mozilla.cfg file, but the mozilla.cfg isn't found.

Did you make sure that the mozilla.cfg doesn't have a hidden .txt file extension?


You can use the mozilla.cfg file in the Firefox program folder to set or lock preferences and run privileged JavaScript code.

A local-settings.js file needs to be placed in the "defaults/pref" folder where also the channel-prefs.js file is located to specify using mozilla.cfg.

pref("general.config.filename", "mozilla.cfg");
pref("general.config.obscure_value", 0);

These functions can be used in the mozilla.cfg file:

defaultPref();	// set new default value
pref();		// set pref, allow changes in current session
lockPref();	// lock pref, disallow changes

The mozilla.cfg file needs to start with a comment line (//).

See Configuration:

See also: