How to lock Firefox in a corporate environment?

I need to lock a bunch of preferences so that they cannot be changed by users on multiple computers Windows 7, Firefox running. I was able to get most of the settings that I needed locked in a test environment by using the Firefox Addon-GPO and a .adm template I found online:

https://addons.Mozilla.org/en-us/Firefox/addon/GPO-for-Firefox/

   The template is outdated and does not match many of the settings, but it was easy to add settings to the .adm template. I do not like this method since I have to install the addon (somehow) on all of the computers. Also, there are a couple of settings I need to configure (such as privacy.sanitize.promptOnSanitize", false) that are not currently in the 'about:config' by default and the GPO does not create them.
   So, I have been trying to figure out the other method of configuring Firefox settings in an enterprise environment, and have been working mostly with these articles:

http://stealthpuppy.com/prepare-Mozilla-Firefox-for-enterprise-deployment-and-virtualization/

http://KB.mozillazine.org/Locking_preferences

   I figured once I have the mozilla.cfg and local-settings.js configured, I can copy them to all of the computers with a script, instead of having to install the GPO AddOn. Here's what my local-settings.js looks like:

Pref ("general.config.obscure_value", 0);

Pref ("general.config.filename", "mozilla.cfg");

And here is my file mozilla.cfg, with some of the parameters set that I have configured:

//
pref("browser.startup.homepage", http://www.msn.com);
lockPref("browser.startup.homepage", http://www.msn.com);
pref("security.tls.version.max", 1);
lockPref("security.tls.version.max", 1);
pref("security.tls.version.min", 0);
lockPref("security.tls.version.min", 0);
pref("security.default_personal_cert", Ask Every Time);
lockPref("security.default_personal_cert", Ask Every Time);
pref("app.update.enable", false);
lockPref("app.update.enable", false);
pref("browser.search.update", false);
lockPref("browser.search.update", false);
pref("extensions.update.enabled", false);
lockPref("extensions.update.enabled", false);
pref("network.protocol-handler.external.shell", false);
lockPref("network.protocol-handler.external.shell", false);
pref("plugin.disable_full_page_plugin_for_types", PDF, FDF, XFDF, LSL, LSO, LSS, IQY, RQY, XLK, XLS, XLT, POT PPS, PPT, DOS, DOT;
lockPref("plugin.disable_full_page_plugin_for_types", PDF, FDF, XFDF, LSL, LSO, LSS, IQY, RQY, XLK, XLS, XLT, POT PPS, PPT, DOS, DOT);
   However, when I copy the mozilla.cfg file to C:\Program Files (x86)\Mozilla Firefox\ and the local-settings.js file to C:\Program Files (x86)\Mozilla Firefox\defaults\pref it has no effect on the settings in Firefox. I can go to about:config and see nothing has changed.
   Any help is appreciated!

Hello, the mozilla.cfg file isn't very tolerant error - then please first try only with one line to see if it is properly called by the local file - settings.js:

//
pref("browser.startup.homepage", "http://www.msn.com");

You also should not set each twice - pref, lockPref preference and defaultPref have different meanings: http://mike.kaply.com/2012/03/16/customizing-firefox-autoconfig-files/

Tags: Firefox

Similar Questions

Maybe you are looking for

  • Addons Manager is empty Addons takes care never

    I use FF 32.0.3. My problem started when I selected a link to a Google music search file and my FF screen turned black for a few seconds and then came back, but a number of toolbar buttons are missing, i.e. the previous page past sub button the left

  • Lenovo K3 note heat problem

    Yesterday, I received my Lenovo. All the features of this phone impressed me. I thought that this phone would not problem, but someday I use huge number that is heat. When you use applications the phone heated about 3 to 4. However this phone have 30

  • How to make faster the Subvi

    Hi all I have a Subvi, which tries to estimate "sample entropy" it works well, but it's too slow. I was wondering if you have any suggestions on my VI how can I speed up. I have attached the files here, I would appreciate it if you take a look. Best

  • How can I fix Error 1606 on vista

    need help for Error 1606 on vista

  • WiFi intermittent problem. Win 10 think it is connected when there is no Internet.

    WiFi intermittent problem.  I have a 2 month old Dell Inspiron 15 5559 with dual band Wireless AC 3160 adapter Intel.  I connect via WiFi, start Pandora with Chrome and everything works very well for a few hours.  I monitor the status of the WiFi and