As an update to this, I just installed Firefox on a fresh install of Windows 10.

My process was:

Install Firefox with this command line:

Firefox Setup 69.0.exe  -ms

then I copy policies.json to %ProgramFiles%\Mozilla Firefox\distribution

{
  "policies": {
    "DisableBuiltinPDFViewer": true,
    "DisplayBookmarksToolbar": true,
    "DisplayMenuBar": true,
    "FlashPlugin": {
      "Default": true
    },
    "NetworkPrediction": true,
    "Proxy": {
      "AutoLogin": true,
      "Mode": "none",
      "SOCKSVersion": 4,
      "UseHTTPProxyForAllProtocols": true,
      "UseProxyForDNS": false
    },
    "SearchEngines": {
      "Default": "Google",
      "PreventInstalls": true
    }
  }
}

Then I start Firefox.  Sometimes the policies take hold, sometimes they don't.

In this case, the proxy setting held, but the tool bars settings and disabling the internal PDF viewer didn't.

So clearly I'm doing something wrong. Any help would be greatly appreciated.

Thane K. Sherrington

Computer Connection, Ltd. ...taking the mystery out of computers since 1982.
Winner of the 2012 Ian Spencer - Excellence in Business Award
*Thanks for making us the Reader's Choice Best Computer Store in 2016, 2017, and 2018!*
95 College St., Antigonish,
NS B2G 1X6
902-863-3361 (phone)
902-863-2580 (fax)
[email protected]
On 04/09/2019 9:17 p.m., Thane K. Sherrington wrote:
On 22/07/2019 7:04 p.m., Mike Kaply wrote:


On Fri, Jul 19, 2019 at 8:21 AM Thane K. Sherrington <[email protected] <mailto:[email protected]>> wrote:


    Things that work randomly:

        "DisplayBookmarksToolbar": true,
        "DisplayMenuBar": true

        These two work some of the time (I'd say about 70%).  The
    rest of the time, I get none or one of the toolbars.

        I'm not sure if the other settings hold 100% of the time,
    because I can't check every install, but the toolbars are obvious.

These two policies only have an effect the first time they are set and a user can override them. That's probably why you are getting mixed results/

So is there anyway to do this?

Situation: User already has older version of FF installed.  I want to update to latest and apply new settings (turn on Menu Bar and Bookmarks Toolbar, Turn off proxy).

If I uninstall the old version of FF, and remove the %programfiles%\Mozilla Firefox folder, then reinstall, copy the policies.json to %programfiles%\Mozilla Firefox\distribution folder will these new settings take effect, or (because there is already a profile created) are they ignored (it appears they are ignored, but I'm not sure if that's expected or not).

    BTW, the line     "DontCheckDefaultBrowser": false has the
    opposite affect.  If I include this line, then Firefox never asks
    if it should be the default, and if I don't include it, it asks
    about 80% of the time.

What version of Firefox? Being able to set it to false was something that wasn't working until Firefox 67/ESR 60.7

Note that even if you say false, we won't necessarily ask at every startup.

I'm using FF 68/69.  How can I force FF to check 100% of the time?  Checking some of the time isn't the same as "Always check if FF is your default browser" which makes this setting inaccurate and disingenuous.



_______________________________________________
Enterprise mailing list
[email protected]
https://mail.mozilla.org/listinfo/enterprise

To unsubscribe from this list, please visit https://mail.mozilla.org/listinfo/enterprise 
or send an email to [email protected] with a subject of 
"unsubscribe"
_______________________________________________
Enterprise mailing list
[email protected]
https://mail.mozilla.org/listinfo/enterprise

To unsubscribe from this list, please visit 
https://mail.mozilla.org/listinfo/enterprise or send an email to 
[email protected] with a subject of "unsubscribe"

Reply via email to