The Group Policy Editor is an essential component in Windows operating system that allows you to do various things with ease. From enable or disabling various features to customize the appearance, you can do everything with the help of Group Policy Editor. By default, you cannot customize Firefox from Group Policy Editor. However, if you are using Firefox v60+, you can manage various settings of Firefox right from Group Policy Editor. Before that, you need to integrate Firefox into Windows Group Policy.

How to add Firefox in Group Policy

There is an open-source policy template available on GitHub that helps you integrate Firefox settings in Group Policy. Download the Policy Template for Firefox from here. After downloading it, extract the ZIP file contents, and you should find a folder called windows. Open the Windows folder and copy firefox.admx and mozilla.admx files. Next, navigate to this path: Here C is your system drive. Alternatively, you can press Win + R button and enter this in the command box: In the PolicyDefinitions folder, paste the firefox.admx and mozilla.admx files. After that, open the windows > en-US folder. Here, you should find two files called firefox.adml and mozilla.adml. Copy these two files and paste them here: For a detailed read see this post – How to integrate Firefox with Windows Group Policy.

Disable add-on installation in Firefox using Group Policy

After carrying out the steps mentioned above, now you can do the needful. To allow or block add-on installation from websites on Firefox using Group Policy Editor, follow these steps- Open Group Policy Editor. Press Win + R, type gpedit.msc and hit the Enter button. Next, navigate to this path: Here you will get a setting called Allow add-on installs from websites. Double-click on this option and select Disabled.

  Now, whenever you try to install an add-on you will see this error message:

That’s all!

Prevent Firefox from installing extensions from websites

To prevent Firefox from installing extensions from websites using Registry Editor, follow these steps- Press Win+R, type regedit, press the Enter button and click on the Yes option to open the Registry Editor on your PC. After that, navigate to the following path- Right-click on Policies > New > Key, and name it as Mozilla. Then, right-click on Mozilla > New > Key, and call it as Firefox.  

After that, right-click on Firefox > New > Key, and name it as InstallAddonsPermission.  

In the InstallAddonsPermission key, you have to create a REG_DWORD value. For that, right-click on it, select New > DWORD (32-bit) Value, and name it Default.  

By default, it comes with a value data of 0, and you have to keep it to prevent Firefox from installing extensions from third-party websites. Like the GPEDIT method, you can use Registry Editor to allow a specific website to offer extensions to the Firefox browser. For that, you have to create a key under InstallAddonsPermission and name it as Allow. Then, right-click on Allow > New > String Value, and name it as 1.  

Double-click on 1, and set the Value data as the website URL.  

Click the OK button to save the change. That’s all! It is as simple as said. Hope it helped. Hope you find this tip useful.