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 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

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

了解更多

Prefered method - GPO, mozilla.cfg, policies.json

  • 6 回覆
  • 1 有這個問題
  • 1 次檢視
  • 最近回覆由 CK-PROM

more options

We want to customize firefox We used to work with the mozilla.cfg We are now tring to use Windows GPOs. Is there a way to have two firefox clients, one using the GPO and the other using policies.json oder mozilla.cfg ? Can we tell the firefox client if we want to prefere mozilla.cfg, policies.json or GPO?

We want to customize firefox We used to work with the mozilla.cfg We are now tring to use Windows GPOs. Is there a way to have two firefox clients, one using the GPO and the other using policies.json oder mozilla.cfg ? Can we tell the firefox client if we want to prefere mozilla.cfg, policies.json or GPO?

被選擇的解決方法

GPO works globally for all Firefox installations because it uses the Windows Registry. The policies.json file is placed in the distribution folder and is only active for this Firefox installation. An autoconfig.cfg file is also placed in the Firefox program folder and thus also only works for this Firefox installation.

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

所有回覆 (6)

more options

In general, you would use Windows GPO unless some systems on your environment can't use GPO. In that case, you would generally use policies.json for all systems so that it's consistent.

Mozilla.cfg is a totally separate thing. It can be used to adjust preferences that can't be adjusted with the GPO or policies.json file. If you are using that to adjust preferences that can be set with a GPO or policies.json file, it's usually best to move those preferences to GPO or policies.json.

On systems where you have both GPO and policies.json active, the GPO will always override policies.json, even in a case were the GPO has no policies active. You could separate computers in your network to have some run the GPO and some run the policies.json if you wanted to, by making sure you only add the Firefox GPO to certain computers or groups.

Hope this helps.

more options
more options

Thanks you two for your help So if I understand you correct GPO always overrides policies.json

We try to have two firefox instances on one computer with different settings, so we can not transfer every setting into the GPO Because then the settings would be the same for both instances

So there is no way to configure two firefox instances on one PC using different settings if GPO is activ?

more options

In your situation, you will probably find it best to use only policies.json, since it's possible to have different rules for different installations, if necessary.

more options

選擇的解決方法

GPO works globally for all Firefox installations because it uses the Windows Registry. The policies.json file is placed in the distribution folder and is only active for this Firefox installation. An autoconfig.cfg file is also placed in the Firefox program folder and thus also only works for this Firefox installation.

more options

Thanks for the specification