Ce site disposera de fonctionnalités limitées pendant que nous effectuons des opérations de maintenance en vue de vous proposer un meilleur service. Si un article ne règle pas votre problème et que vous souhaitez poser une question, notre communauté d’assistance est prête à vous répondre via @FirefoxSupport sur Twitter, et /r/firefox sur Reddit.

Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

En savoir plus

Do "ESR Only" settings still work on non-ESR via .cfg file? Does GPO 'win' in this case?

  • 3 réponses
  • 1 a ce problème
  • 27 vues
  • Dernière réponse par cor-el

more options

Hello,

We deploy Firefox with updates disabled by mozilla.cfg, but now the app is updating automatically.

  • Mozilla.cfg - settings correct here
  • Prefs.Js - shows update settings are not applied
  • User.js - does not exist

In particular, the settings of auto-update, homepage, and similar ones noted as "ESR Only" have been ignored.

But those settings should be still working via Autoconfig, right?

\Program Files (x86)\Mozilla Firefox\Mozilla.cfg:

 // Disable application auto-update
 lockPref("app.update.auto", false);
 lockPref("app.update.backgroundErrors", 2);
 lockPref("app.update.disable_button.showUpdateHistory", false);
 lockPref("app.update.enabled", false);
 lockPref("app.update.service.enabled", false);
 (..and more)

\Program Files (x86)\Mozilla Firefox\defaults\pref\autoconfig.js:

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

\Program Files (x86)\Mozilla Firefox\defaults\pref\channel-prefs.js:

 * This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 pref("app.update.channel", "release");
Hello, We deploy Firefox with updates disabled by mozilla.cfg, but now the app is updating automatically. * Mozilla.cfg - settings correct here * Prefs.Js - shows update settings are not applied * User.js - does not exist In particular, the settings of auto-update, homepage, and similar ones noted as "ESR Only" have been ignored. * https://github.com/mozilla/policy-templates/blob/master/README.md But those settings should be still working via Autoconfig, right? \Program Files (x86)\Mozilla Firefox\Mozilla.cfg: // Disable application auto-update lockPref("app.update.auto", false); lockPref("app.update.backgroundErrors", 2); lockPref("app.update.disable_button.showUpdateHistory", false); lockPref("app.update.enabled", false); lockPref("app.update.service.enabled", false); (..and more) \Program Files (x86)\Mozilla Firefox\defaults\pref\autoconfig.js: pref("general.config.obscure_value", 0); pref("general.config.filename", "Mozilla.cfg"); \Program Files (x86)\Mozilla Firefox\defaults\pref\channel-prefs.js: * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ pref("app.update.channel", "release");

Modifié le par AnotherBlake

Toutes les réponses (3)

more options

Your issue to figure out a new cfg file, g'luck

Type about:preferences#advanced<enter> in the address bar. Under Advanced, Select Update.

[v56+] Type about:preferences#general<enter> in the address bar. Select Update.

Select Never Check For Updates.

Also turn off Use a background service to install updates <Windows Only>

Further you can rename Updater.exe to updater-old.exe

Please let us know if this solved your issue or if need further assistance.

more options

Hi Blake, According to your data, you're using Firefox 59.0. Is your question about a deployment of Firefox ESR, not the version you're using?

more options

The filename is usually mozilla.cfg and not Mozilla.cfg. Also make sure that both files start with a comment line (//) because the first line is ignored for security reasons. You can use the mozilla.cfg file in the Firefox program folder to initialize (set/lock) preferences and run privileged JavaScript code.

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

See also: