This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

entries in mozilla.cfg not populating in firefoix (version 41)

more options

Trying to lock some setting in Firefox 41.0, this needs to be deployed to approx 100 machines I have a Local-settings.js file in Default\Pref folder that has the following: pref("general.config.filename", "mozilla.cfg");

And the corresponding mozilla.cfg file in the Mozilla Firefox folder (with firefox.exe) has the following entries: // lockPref("network.automatic-ntlm-auth.trusted-uris","http://support.seddons.co.uk"); lockPref("network.proxy.autoconfig_url","http://spsukman01.sedsol.net/seddons.pac");

When I launch Firefox and go to about:config these entries have not been populated. I can manually update the entries in about:config and they do the job, but I need to do this for multiple machines, so if this is not the best method what is as I understand that the GPO route is unreliable. Many thanks BH

Trying to lock some setting in Firefox 41.0, this needs to be deployed to approx 100 machines I have a Local-settings.js file in Default\Pref folder that has the following: pref("general.config.filename", "mozilla.cfg"); And the corresponding mozilla.cfg file in the Mozilla Firefox folder (with firefox.exe) has the following entries: // lockPref("network.automatic-ntlm-auth.trusted-uris","http://support.seddons.co.uk"); lockPref("network.proxy.autoconfig_url","http://spsukman01.sedsol.net/seddons.pac"); When I launch Firefox and go to about:config these entries have not been populated. I can manually update the entries in about:config and they do the job, but I need to do this for multiple machines, so if this is not the best method what is as I understand that the GPO route is unreliable. Many thanks BH

Chosen solution

Do other entries in the mozilla.cfg file work?

Place a local-settings.js file in the defaults\pref folder where also the channel-prefs.js file is located to specify using mozilla.cfg. Try this content in the file:

pref("general.config.filename", "mozilla.cfg");
pref("general.config.obscure_value", 0);
Read this answer in context 👍 1

All Replies (2)

more options

Chosen Solution

Do other entries in the mozilla.cfg file work?

Place a local-settings.js file in the defaults\pref folder where also the channel-prefs.js file is located to specify using mozilla.cfg. Try this content in the file:

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

This is so strange as I had tried the pref("general.config.obscure_value", 0); line both before and after the pref("general.config.filename", "mozilla.cfg"); in the local-settings.js file and it just would not work, added it again at the end of the file as above and the entries are populated and in italics. Thank you I will try this on other machines. Regards BH