Windows 10 will reach EOS (end of support) on October 14, 2025. For more information, see this article.

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

I am running 40.0.3. I cannot get the mozilla.cfg file to work. I have been through every forum and have the local-sttings.js file. What wil make this work??

  • 3 பதிலளிப்புகள்
  • 2 இந்த பிரச்னைகள் உள்ளது
  • 4 views
  • Last reply by cor-el

I have tried everything in these forums. I update firefox as updates are available. The Mozilla.cfg will not apply the settings even with the local-settings.js file pointing to it. I work on an enterprise network that needs these settings applied across the network. I have tried the ADM and ADMX files as well but they do not have all of the settings that I need. Can anyone assist me with this? I am running version 40.0.3 currently

I have tried everything in these forums. I update firefox as updates are available. The Mozilla.cfg will not apply the settings even with the local-settings.js file pointing to it. I work on an enterprise network that needs these settings applied across the network. I have tried the ADM and ADMX files as well but they do not have all of the settings that I need. Can anyone assist me with this? I am running version 40.0.3 currently

All Replies (3)

What is the location and content of the local-sttings.js file?

If there is a problem with the mozilla.cfg file then you usually can't start Firefox.

mozilla.cfg is run as a JavaScript file with chrome privileges and any errors in the file can throw an exception and abort the execution. The function names in the file are case sensitive.

Can you post the content of the mozilla.cfg as well if you can't make it work?

The location of the local-settings.js file is C:/Program Files (x86)/Mozilla Firefox/defaults/pref

The content is as follows:

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

the mozilla.cfg file

// lockPref("browser.startup.homepage", "web.page.com"); lockPref("browser.download.dir", "N:"); lockPref("browser.download.downloadDir", "N:"); lockPref("app.update.enabled", false); lockPref("extensions.update.enabled", false); lockPref("browser.shell.checkDefaultBrowser", false); lockPref("browser.search.update", false); lockPref("browser.formfill.enable", false); lockPref("signon.prefillForms", false); lockPref("dom.disable_open_during_load", true); lockPref("dom.disable_window_move_resize", true); lockPref("dom.event.contextmenu.enabled", false); lockPref("dom.disable_window_status_change", true); lockPref("dom.disable_window_flip", true); lockPref("dom.disable_window_open_feature.status", true); lockPref("security.warn_leaving_secure", true); lockPref("privacy.sanitize.promptOnSanitize", false); lockPref("privacy.sanitize.sanitizeOnShutdown", true); lockPref("security.default_personal_cert", "Ask Every Time"); lockPref("signon.rememberSignons", false); lockPref("xpinstall.whitelist.required", true); lockPref("network.protocol-handler.external.shell", false); lockPref("security.enable_ssl3", true); lockPref("security.enable_ssl2", false); lockPref("security.enable_tls", true); lockPref("plugin.disable_full_page_plugin_for_types", "THERE ARE LOTS OF TYPES TO TYPE OUT"); lockPref("privacy.item.history", false);

Where is this prefcalls.js file supposed to go? Do you just copy it as is? I am now on version 41.0 of firefox.

I just posted the prefcalls.js so you can see what function call you can use in the mozilla.cfg file.

These prefs are obsolete and aren't supported anymore: lockPref("security.enable_ssl3", true); lockPref("security.enable_ssl2", false); lockPref("security.enable_tls", true);

See:

If the mozilla.cfg file isn't working then try to comment out lockPref lines via a leading // to see if you can identify lines that aren't working.