Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Подробнее

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: