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

Deploying Firefox 52 ESR on SCCM - problem with config settings

  • 5 replies
  • 2 have this problem
  • 21 views
  • Last reply by cor-el

more options

Hello

I'm trying to install firefox for my organisation however I'm having a problem with applying custom settings for a config item in about:config.

I need to set a value for pref("network.automatic-ntlm-auth.trusted-uris", servername);

When adding it to mozilla.cfg firefox refuses to start indicating a bad config file I'm also using local-settings.js, I tried putting it in there and nothing happened. After installation I can add my server name and everything works as expected (no user login box for intranet) The setting is located in a random roaming profile directory called pref.js.

So my question is, how do I successfully create this entry on installation. I read some articles about placing files in particular directories that are then copied to the user folder on first run, here :- https://mike.kaply.com/2013/05/13/more-major-changes-coming-in-firefox-21/

but some of these folders (such as browser\defaults\preferences) don't exist when I check post installation.

Any advice would be gratefully recieved. Many Thanks.

John

Hello I'm trying to install firefox for my organisation however I'm having a problem with applying custom settings for a config item in about:config. I need to set a value for pref("network.automatic-ntlm-auth.trusted-uris", servername); When adding it to mozilla.cfg firefox refuses to start indicating a bad config file I'm also using local-settings.js, I tried putting it in there and nothing happened. After installation I can add my server name and everything works as expected (no user login box for intranet) The setting is located in a random roaming profile directory called pref.js. So my question is, how do I successfully create this entry on installation. I read some articles about placing files in particular directories that are then copied to the user folder on first run, here :- https://mike.kaply.com/2013/05/13/more-major-changes-coming-in-firefox-21/ but some of these folders (such as browser\defaults\preferences) don't exist when I check post installation. Any advice would be gratefully recieved. Many Thanks. John

Chosen solution

These pref lines need to be in mozilla.cfg. Note that mozilla.cfg needs to start with a comment line (//) since this line will be skipped for security reasons.

mozilla.cfg :

//
pref("network.automatic-ntlm-auth.trusted-uris", "servername");

See also Configuration:

Read this answer in context 👍 0

All Replies (5)

more options

Did you use quotes around the value of the pref as this is a string pref?

A comma and space delimited list of URLs that are allowed to automatically authenticate via NTLM. (Default: empty string)

more options

cor-el said

Did you use quotes around the value of the pref as this is a string pref? A comma and space delimited list of URLs that are allowed to automatically authenticate via NTLM. (Default: empty string)

Thanks for the response, I did use quotes, following the syntax of the rest of the entries, But I don't recall putting quotes around "servername" specifically, which I'll try - where should I put the setting though? mozilla.cfg ?

more options

Chosen Solution

These pref lines need to be in mozilla.cfg. Note that mozilla.cfg needs to start with a comment line (//) since this line will be skipped for security reasons.

mozilla.cfg :

//
pref("network.automatic-ntlm-auth.trusted-uris", "servername");

See also Configuration:

more options

Yep - that did it, I had everything except the quote for the string value of server name

I'll mark this as solved, thanks for that incdientally, would adding extra names follow the syntax... pref("network.automatic-ntlm-auth.trusted-uris", "servername", "servername2", "servername3");

Many thanks, banged my head against a wall on that one, missed it was a string value. So thanks again.

more options

That won't work with each server name quoted. There only need to be one quoted string with the server names in that string.

pref("network.automatic-ntlm-auth.trusted-uris", "servername, servername2, servername3");