Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

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

搜索 | 用户支持

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

详细了解

How can I prevent users from choosing when to install updates and force them to always have auto updates enabled?

  • 7 个回答
  • 1 人有此问题
  • 1 次查看
  • 最后回复者为 jamejuan

more options

I am attempting to prevent all users in the business from preventing automatic updates. Is there any means of .cfg file, or policy that will grey-out the option for users to "check for updates but choose when to install them. Thanks for any help!

I am attempting to prevent all users in the business from preventing automatic updates. Is there any means of .cfg file, or policy that will grey-out the option for users to "check for updates but choose when to install them. Thanks for any help!
已附加屏幕截图

被采纳的解决方案

Forcing auto-update via autoconfig is currently broken on Windows.

  • Bug 1579332 - app.update.auto set to true and locked in about:config does not lock Check box in about:preferences

(please do not comment in bug reports
https://bugzilla.mozilla.org/page.cgi?id=etiquette.html
)

定位到答案原位置 👍 2

所有回复 (7)

more options
more options

I appreciate the answer, however, it appears the policy I need to enforce "app.update.auto" is deprecated in Firefox policy settings. I cannot seem to find an equivalent setting.

more options

app.update.auto is still in about:config.

Using Autoconfig:

lockPref(prefName, value) – sets the default value of a preference and locks it. This is the most commonly used function. Locking a preference prevents a user from changing it, and in most cases, disables the UI in preferences so it is obvious to the user that the preference has been disabled.

lockPref("app.update.auto", true);

Of course, one would make sure users do not have privileges and cannot take privileges or ownership on the necessary autoconfig.js and firefox.cfg files. (I would guess that as the files are not in the user's Windows profile folder, they cannot have access to them by default.)

This should work, i think?

more options

I absolutely think it should yes, however, I just tested it with those settings locked (attached image). Initially it started updating Firefox to the newest version but I was still able to interrupt the update by selecting Check for updates but let you choose to install them.

This as some users for whatever reason are selecting this option which results in security issues.

more options

McCoy suggested to me the pref "app.update.auto.migrated" which you would have to add to the about:config, it seems.

It would look like this in the prefs.js file in the user profile, if you wanted to merge the text into file. user_pref("app.update.auto.migrated", true);

Perhaps this will help.

more options

选择的解决方案

Forcing auto-update via autoconfig is currently broken on Windows.

  • Bug 1579332 - app.update.auto set to true and locked in about:config does not lock Check box in about:preferences

(please do not comment in bug reports
https://bugzilla.mozilla.org/page.cgi?id=etiquette.html
)

more options

Thankyou all very much for the info.