Firefox – Deploying Firefox Customisations Through Group Policy

Firefox – Deploying Firefox Customisations Through Group Policy

Introduction

This article provides the steps required to deploy Firefox Customisations in an Windows 2008 R2 Active Directory environment using Group Policy Preferences.

Pre-Requisites

In order to deploy Firefox Customisations to a user base the following pre-requisites must be met :-

  1. The override.ini file has been created
  2. The local-settings.js file has been created
  3. The mozilla.cfg file has been created
  4. A central share to copy the files above from

For further information on how to create the override.ini, local-settings.js, and mozilla.cfg files see the article XenApp 6.x – Customising Firefox 15.x

High Level Steps

The process of deploying the Firefox Customisations consists of the following steps :-

  1. Creating a new Group Policy
  2. Adding the File Preferences to the new Group Policy
  3. Setting the GPO Status as a Computer Settings only Group Policy
  4. Linking the Group Policy to the Active Directory Organisational Unit

Creating A New Group Policy

To create a new Computer Settings Group Policy perform the following steps :-

  • Logon to a Windows 2008 R2 Server with the Group Policy Management Console Feature installed
  • Open the Group Policfy Management Console
  • If necessary expand the Forest and Domain you wish to create the new Group Policy in
  • Right click on the Group Policy Objects branch in the left hand pane and select New
  • When prompted name the new Group Policy and click on OK (We will be using Computer-Firefox-Customisations-Policy as a name for the purposes of this article)

Adding The File Preferences To The New Group Policy

To add the File Preferences for the override.ini, local-settings.js, and mozilla.cfg files to the new Group Policy perform the following steps :-

  • Right click on the Computer-Firefox-Customisations-Policy and select Edit
  • The new Group Policy will be opened in the Group Policy Editor
  • Under Computer SettingsExpand the Preferences branch in the left hand pane and then Windows Settings branch
  • Right click on Files, select New, and then File
  • For the Action select Replace
  • Under Source File(s) either browse to the location of the override.inifile on a central share or type in the location
  • Under Destination File enter C:\Program Files (x86)\Mozilla Firefox\override.ini
  • Click on OK to add the new file preference for the override,ini file
  • Right click on Files, select New, and then File
  • For the Action select Replace
  • Under Source File(s) either browse to the location of the local-settings.js file on a central share or type in the location
  • Under Destination File enter C:\Program Files (x86)\Mozilla Firefox\defaults\pref\local-settings.js
  • Click on OK to add the new file preference for the local-settings.js file
  • Right click on Files, select New, and then File
  • For the Action select Replace
  • Under Source File(s) either browse to the location of the mozilla.cfgfile on a central share or type in the location
  • Under Destination File enter C:\Program Files (x86)\Mozilla Firefox\mozilla.cfg
  • Click on OK to add the new file preference for the mozilla.cfg file
  • Once all three files have been added close the Group Policy Editor

Setting The GPO Status As A Computer Settings Only Group Policy

To set the GPO Status as a Computer Settings only Group Policy perform the following steps :-

  • Highlight the Computer-Firefox-Customisations-Policy
  • In the Right Hand Pane click on the Details Tab
  • Change the GPO Status drop down box to User configuration settings disabled

Linking The Group Policy To The Active Directory Organisational Unit

The final part of the process is to link the new Group Policy to the Organisational Unit in Active Directory where you wish to deploy the Firefox Customisations.  To link the Group Policy to the Organisational Unit perform the following steps :-

  • In the Left Hand Pane of the Group Policy Management Consolenavigate to the Organisational Unit you wish to deploy the settings to
  • Right Click on the Organisational Unit and select Link an existing GPO…
  • Scroll through the List of Group Policies, highlight the Computer-Firefox-Customisations-Policy and then click on OK