![Firefox logo](https://assets-prod.sumo.prod.webservices.mozgcp.net/media/uploads/products/2020-04-14-08-36-13-8dda6f.png)
update user profiles on first run of new install
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);
cor-el tarafından
Tüm Yanıtlar (3)
Go to the Firefox tab in the far left corner and go to sync. It should get you all set up there.
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!
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.