/build/static/layout/Breadcrumb_cap_w.png

Mozilla Firefox 41.0

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.

1 Comment   [ + ] Show comment
  • aragorn.2003, does the custom.cfg in the installation directory override the user profile custom.cfg?

    Let me know. - TheInfamousOne 9 years ago

Answers (3)

Answer Summary:
Posted by: aragorn.2003 9 years ago
Red Belt
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");

Comments:
  • 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. - TheInfamousOne 9 years ago
    • yes it does. please read the following documentation. https://developer.mozilla.org/en-US/docs/Mozilla/Preferences/A_brief_guide_to_Mozilla_preferences - aragorn.2003 9 years ago
      • Thanks aragorn.2003, I'll do some testing and see what happens. - TheInfamousOne 9 years ago
      • 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? - TheInfamousOne 9 years ago
Posted by: apptopack 9 years ago
Red Belt
0

Top Answer

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.



Comments:
  • 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. - TheInfamousOne 9 years ago
  • 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 - TheInfamousOne 9 years ago
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ