Skip to main content

Configure Firefox on Windows with a Fileset

DescriptionWhat this recipe does

AfterThis installingFileset Firefox,deploys someFirefox configurationAutoConfig mayfiles beso desirable,you examplescan mayset include:or lock browser preferences such as the home page, first-run behavior, telemetry, and update settings.

  • Block auto updates
  • Set home page
  • Disable Mozilla First Run Pages

Firefox Documentation
The details ofChoose the Filesetcurrent Mozilla management method
Mozilla recommends Windows Group Policy for settings covered by policy and AutoConfig for preferences that are basednot. upon:The downloadable Fileset uses AutoConfig. If you edit autoconfig.js for Firefox Configuration
This60 isor knownlater, tosave workit with versionUnix 60,LF upwards.line It may work with earlier versions, but testing on placement of files may vary with earlier versions. endings.

Ingredients

Directions

  • Download the Fileset zip file,ZIP, expand it, and drag the Fileset into FileWave > FilesetsCentral.
  • Two files are present in the Fileset.

    image.png


  • The autoconfig.js filetells specifies the fileFirefox to beload used for configuration.  In this Fileset the name of the file has been set to 'mozilla.cfg'cfg:
// Any comment. You must start the file with a comment!
pref("general.config.filename", "mozilla.cfg");
pref("general.config.obscure_value", 0);
  • ToEdit specifymozilla.cfg anyto desired settings, editchoose the mozilla.cfgmanaged file.preferences. The providedexample file is designed to preventdisables Firefox updates,updates disable privacyand telemetry, disablesuppresses first-run pages, and sets a home page. Review every preference against the firsttarget runFirefox Mozillarelease homebefore pages and set the user's homepage:deployment.
// Any comment. You must start the file with a comment!
 
// Disable updater
lockPref("app.update.enabled", false);
lockPref("app.update.auto", false);
lockPref("app.update.mode", 0);
lockPref("app.update.service.enabled", false);
 
// Set Homepage and stop Mozilla startup pages
lockPref("browser.startup.firstrunSkipsHomepage", false);
pref("browser.startup.homepage","http://www.filewave.com");
lockPref("browser.startup.homepage_override.mstone", "ignore");
 
// Disable Privacy telemetry
lockPref("datareporting.policy.firstRunURL",);
lockPref("datareporting.healthreport.service.enabled", false);
lockPref("datareporting.healthreport.uploadEnabled", false);
lockPref("datareporting.policy.dataSubmissionEnabled", false);
lockPref("toolkit.telemetry.unified", false);

Preference Overviewfunctions

PreferenceMozilla typesdocuments canpref, include:defaultPref, pref,lockPref, defaultPref,and lockPref,the amongstother others.available Detailsfunctions can be found at:in https://support.mozilla.org/en-US/kb/customizing-firefox-using-autoconfigCustomize Firefox using AutoConfig.

pref

Thispref is used to setsets a preferenceuser thatpreference. canFirefox be overridden by the user, but on next launch of the applicationreapplies it willat revertevery backlaunch, toso thea settinguser's withinchange thedoes configurationnot filepersist.

lockPref

AlockPref lockPrefsets cannotand belocks overriddena bypreference so the user cannot change it.

defaultPref

ThisdefaultPref issets usedthe default while allowing the user to setkeep aan preference that can be overridden by the user.  The user's setting will persistoverride until the userpreference resetsis them, at which point the defaultPref will be used on next launch of the applicationreset.

Preference Names
Navigating to 'about:config' in the Firefox URL bar will list all possible preference names and their values and types.

Association

When associating, to ensurePlace the Firefox installer and configuration isFileset installed with the Application, consider creatingin a Fileset Group:Group so both reach the same devices.

WvwJnhlfj5hOiWru-embedded-image-2uxlorb0.pngWvwJnhlfj5hOiWru-embedded-image-2uxlorb0.png

Associating the 'Firefox' Fileset Group will ensure both the Application and Configuration are associated to devices.  

efFgj4LEFVGjAwD4-embedded-image-nzpns6g0.pngefFgj4LEFVGjAwD4-embedded-image-nzpns6g0.png

When there is an update to Firefox, replace the version in the Fileset Group with the latest version after testing.

ZyZ8R0oAj0GU0Cu7-embedded-image-e7uuulzq.pngZyZ8R0oAj0GU0Cu7-embedded-image-e7uuulzq.png

ToThe ensuretemplate enables BlockAboutConfig so users maycannot not circumvent management by changingbypass the locale,managed enablepreferences 'BlockAboutConfig'through (alreadyabout:config. setConfirm asthat TRUEthis inrestriction thematches templateyour file)support policy before rollout.

Related Content