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

搜索 | 用户支持

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

详细了解

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

  • 3 个回答
  • 1 人有此问题
  • 27 次查看
  • 最后回复者为 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");

由AnotherBlake于修改

所有回复 (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: