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

update user profiles on first run of new install

  • 3 tontu
  • 4 am na jafe-jafe bii
  • 12 views
  • i mujjee tontu mooy cor-el

more options

After upgrading to a newer version of Firefox (25.0.1) any of the existing user profiles are not getting updated settings...specificly

During the install I have added some new changes for the "default user", if I log start FF as a "new" user (with no profiles under the %appData%\Mozilla folder structure my settings work. But if a profile exists they are not taking effect.

I have moved my Pref Files to:
%ProgramFiles(x86)%\Mozilla Firefox\Browser\defaults\Preferences\local-settings.js
%ProgramFiles(x86)%\Mozilla Firefox\Browser\defaults\profile\secmod.db <<<=== Is not being copied
%ProgramFiles(x86)%\Mozilla Firefox\mozilla.cfg
%ProgramFiles(x86)%\Mozilla Firefox\Browser\override.ini

Mozilla.cfg

//Firefox Default Settings

// set Firefox Default homepage
//pref("browser.startup.homepage","http://www.XXX.YYY");

// disable default browser check
pref("browser.shell.checkDefaultBrowser", false);
pref("browser.startup.homepage_override.mstone", "ignore");

// disable application updates
pref("app.update.enabled", false)

// disables the 'know your rights' button from displaying on first run 
pref("browser.rights.3.shown", true);

// disables the request to send performance data from displaying
pref("toolkit.telemetry.prompted", 2);
pref("toolkit.telemetry.rejected", true);

//Enables SharePoint Single Sign On
pref("network.automatic-ntlm-auth.trusted-uris", "https://portal.XXX.YYY");

Override.ini

[XRE]
EnableProfileMigrator=0

Local-settings.js

pref("general.config.obscure_value", 0);
pref("general.config.filename", "mozilla.cfg");
defaultpref("browser.startup.homepage", "http://dma.XXX.YYY"); 
defaultPref("browser.newtab.url", "about:blank");
lockPref("app.update.auto", false);
lockPref("app.update.enabled", false);
After upgrading to a newer version of Firefox (25.0.1) any of the existing user profiles are not getting updated settings...specificly During the install I have added some new changes for the "default user", if I log start FF as a "new" user (with no profiles under the %appData%\Mozilla folder structure my settings work. But if a profile exists they are not taking effect. I have moved my Pref Files to:<br /> %ProgramFiles(x86)%\Mozilla Firefox\Browser\defaults\Preferences\local-settings.js<br /> %ProgramFiles(x86)%\Mozilla Firefox\Browser\defaults\profile\secmod.db <<<=== Is not being copied<br /> %ProgramFiles(x86)%\Mozilla Firefox\mozilla.cfg<br /> %ProgramFiles(x86)%\Mozilla Firefox\Browser\override.ini Mozilla.cfg <pre><nowiki>//Firefox Default Settings // set Firefox Default homepage //pref("browser.startup.homepage","http://www.XXX.YYY"); // disable default browser check pref("browser.shell.checkDefaultBrowser", false); pref("browser.startup.homepage_override.mstone", "ignore"); // disable application updates pref("app.update.enabled", false) // disables the 'know your rights' button from displaying on first run pref("browser.rights.3.shown", true); // disables the request to send performance data from displaying pref("toolkit.telemetry.prompted", 2); pref("toolkit.telemetry.rejected", true); //Enables SharePoint Single Sign On pref("network.automatic-ntlm-auth.trusted-uris", "https://portal.XXX.YYY"); </nowiki></pre> Override.ini <pre><nowiki>[XRE] EnableProfileMigrator=0</nowiki></pre> Local-settings.js <pre><nowiki>pref("general.config.obscure_value", 0); pref("general.config.filename", "mozilla.cfg"); </nowiki></pre> defaultpref("browser.startup.homepage", "http://dma.XXX.YYY"); defaultPref("browser.newtab.url", "about:blank"); lockPref("app.update.auto", false); lockPref("app.update.enabled", false);

cor-el moo ko soppali ci

All Replies (3)

more options

Go to the Firefox tab in the far left corner and go to sync. It should get you all set up there.

more options

While this is great for one user I have hundreds that will potentially need this, I was hoping for something more "programmatic"

ie something I can put in one of the Prefs files!

more options

The local-settings.js file should be in defaults/pref and the file should only contain the two lines to specify the mozilla.cfg file.
Make sure to use the proper case for files and folders and pref function names.
The file shouldn't contain the last 4 defaultPref() and lockPref() calls (note that defaultpref() has the wrong case).

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

I don't know why initializing a new profile (secmode.db) isn't working if that is what is happening.
You can make changes to existing profile this way.
You can only change prefs for existing profiles with pref() calls in mozilla.cfg.

You can initialize a profile by creating a browser\defaults\profile folder in the Firefox program folder (C:\Program Files\Mozilla Firefox\) and place files like a user.js or a bookmarks.html file in it.
You can create a defaults\preferences folder to initialize prefs.