Is there anyone out there that know of a way to control Mozilla Firefox 41.0 with GPO's?  Yes, I don know you can just type in the URL about:config and have access to all the settings there.  All this does is update a prefe.js file in the user profiles folder.  Technically, I could copy that out to all the user profiles.  But, I would like to do this before first launch.  Those user profiles are not created until you launch firefox for the first time for new users.

So, my question is, is it possible to control Firefox via GPO?  If so, can someone point me in the correct direction and provide a link?

Thanks ahead of time.
Answer Summary:
Cancel
1 Comment   [ + ] Show Comment

Comments

  • aragorn.2003, does the custom.cfg in the installation directory override the user profile custom.cfg?

    Let me know.
Please log in to comment

Answer Chosen by the Author

0

First create a file named mozilla.cfg with your custom configuration.

Example:

// disable default browser check
pref("browser.shell.checkDefaultBrowser", false);
// disable application updates
pref("app.update.enabled", false)

This file needs to be added to "%programfiles%\Mozilla Firefox\" folder inside your package.


Second create a file named local-settings.js and add the below contents.

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

This file needs to be added to "%programfiles%\Mozilla Firefox\defaults\pref" folder inside your package.

Third create a file named override.ini and add the below lines.

[XRE]
EnableProfileMigrator=false

This file needs to be added to "%programfiles%\Mozilla Firefox\" folder inside your package.


Answered 10/07/2015 by: apptopack
Red Belt

  • Hi Vigneshwaran4264: I think I've already done everything you've written with the "exception" of creating the "override.ini" file with that configuration.

    I'll try this tomorrow and get back to you. Thank you for responding.
  • Hi Vigneshwaran4264:

    This worked perfect, the only thing I was missing was the overrride.ini file.

    Note for other packagers that want to test this. Make sure you delete the userprofile folder before testing the preference files in the installation directory. Once Firefox loads the preferences in the user profile, it will stick and ignore the preference settings above.

    So for testing, make sure you delete the Mozilla folder located in C:\Users\%userprofile%\AppData\Local\. Then create the files the 3 files Vigneshwaran4264 mentioned above.

    Thanks Vigneshwaran4264
Please log in to comment

Community Chosen Answer

1
We´re not using GPO´s for Firefox cause the last update was 2013 and we had several issues with that. we deploy Firefox using the K1000 and repackage the firefox. during this process we add a custom lockdown configuration and will store them in the installation directory of firefox.

firefox.js
// Mozilla Firefox Lockdown
pref("general.config.filename""custom.cfg");
Answered 10/06/2015 by: aragorn.2003
Red Belt

  • aragorn.2003, does the custom.cfg in the installation directory override the custom.cfg in the user profile?

    I did see you could configure the jscript to point at a prefence config file, but it was located in the user profile directory.

    I just want to be sure it will override the users profile pref.cfg or custom.cfg.

    Please let me know.
    • yes it does. please read the following documentation. https://developer.mozilla.org/en-US/docs/Mozilla/Preferences/A_brief_guide_to_Mozilla_preferences
      • Thanks aragorn.2003, I'll do some testing and see what happens.
      • aragorn.2003. I had no luck. I created the firefox.js file with the pref("general.config.filename", "custom.cfg"); settings.

        I copied this to the installation directory of C;\Program Files (x86)\Mozilla Firfefox.

        I also found another website that said if it did not work, to copy it to the default\pref and browser\defaults\preferences.

        https://mike.kaply.com/2012/03/15/customizing-firefox-default-preference-files/

        I still had no luck. The user preferences seem to be overrriding my config file.

        I only added one line to the cfg file for testing which was lockPref("browser.startup.homepage", "www.google.com") while testing.

        I used some of the examples from this website for the config files and how to write them.

        https://developer.mozilla.org/en-US/Firefox/Enterprise_deployment

        Any suggestions?
      • This content is currently hidden from public view.
        Reason: Removed by member request
        For more information, visit our FAQ's.
Please log in to comment

Answers

0
Answered 10/05/2015 by: SMal.tmcc
Red Belt

Please log in to comment
Answer this question or Comment on this question for clarity