Disabling the remove option and turn on/off button for the selected add-ons doesn’t mean that you won’t be able to use those add-ons. You will be able to continue using all those add-ons, customize their options, and add new add-ons in Firefox as usual. Only the options to disable and uninstall those selected add-ons won’t work. Later, you can also undo the changes anytime.
Prevent uninstallation of Firefox add-ons in Windows 11/10
Before trying this trick, you should first create a system restore point. If you encounter any unwanted changes, you will be able to restore your computer. After that, try any of the following ways to prevent Firefox add-ons from being disabled or removed: Let’s check both the ways one by one.
1] Using Group Policy Editor
Here are the steps: Let’s check these steps in detail. First of all, you need to integrate Firefox with the Group Policy Editor of your Windows 11/10 computer. It is so because Firefox settings are not available in the Group Policy Editor. You need to grab its templates and add them to the required folders so that Firefox settings will be visible in the Group Policy Editor window. After doing this, open the Firefox browser from the Start menu or any other way. Now you need to find and copy the ID of that add-on that you want to protect from deletion or uninstallation. For this, follow these steps:
Type about:memory in Firefox address barPress the Enter keyClick on the Measure button available for the Show memory reports sectionScroll down the page till you find the extensions section. Now you will see all the add-ons that are active for the current sessionCarefully look and then copy the add-on ID. You can see the screenshot added below to easily find the add-on ID. It will look something like [email protected]
Once this part is done, type gpedit in the Search box, and hit the Enter key to open the Group Policy Editor window. Now access the Extensions folder. Here is its path:
On the right-hand section, open Prevent extensions from being disabled or removed setting by double-clicking on it. It will open a separate window. In that window, click on the Enabled option. After that, click on the Show button present on the middle-left part.
A Show Contents pop-up box will be visible. There paste the add-on ID (that you copied using the above steps) in the Value field and press the OK button.
Press Apply and OK buttons. Repeat the above steps to add more add-ons to the list that you want to prevent from uninstallation. Finally, restart the Firefox browser if it is opened already. That’s it! When you will access the add-on page, you will notice that the turn on/off button is not there for that add-on. The remove option will also be greyed out. Moreover, the Remove Extension option that is available when you right-click on the add-on icon will also be greyed out. To undo the changes made by you, follow these instructions. Repeat the above steps, open Prevent extensions from being disabled or removed setting, select the Not Configured option, and use Apply and OK buttons. Finally, restart the Firefox browser to successfully undo all the changes.
2] Using Registry Editor
Here are the steps: At first, launch Firefox browser, and then find and copy the add-on ID that you want to prevent from being uninstalled/disabled/removed. You can access the about:memory page of the Firefox browser, measure and load the memory reports, and access the extensions section to find and copy an add-on ID (just like the steps mentioned in the first method above. Now you need to launch Registry Editor. For that, press Win+R hotkey, type regedit, and press Enter key. Or else, you can try any of the other ways to open the Registry Editor window. After this, access the Policies key using this path:
Under that Policies key, create a Registry key with the name Mozilla. In the same way, create Firefox key under Mozilla key, Extensions key under Firefox key, and then finally create a Locked key under the Extensions. See the screenshot added below to make it easy for you.
Now create a new String value for the Locked Registry key. In order to do that, right-click on an empty area, use the New menu, and select the String Value option.
Once that String value is created, you can also rename it to 1 or some other name if you want. Double-click on the String value that you created and a pop-up box will open. There paste the add-on ID in the Value data field and press the OK button.
You can repeat all the above steps to add more Firefox add-ons that you want to protect from being removed or disabled. Finally, you have to restart the Firefox browser if you have opened it already. Now your work is done. You will find that options to disable and remove those add-ons are not there. You can also undo all the changes to bring back the turn on/off option and the remove option for all those add-ons easily. All you have to do is access the Mozilla key in the Registry Editor window, and delete that key. It will automatically remove all the sub-keys present inside that key. Relaunch Firefox browser and undo process will be successful.
How do you prevent users from installing Firefox add-ons plugins?
If you are a Windows user, then Windows OS provides two built-in features to allow or disable add-on installation on Firefox. These two features are Group Policy Editor and Registry Editor. You can use any of these features to prevent users from installing Firefox add-ons. But it is always good to create a system restore point before trying any of these two features.
How do I stop Firefox from removing extensions?
There are two native methods present in Windows OS to stop Firefox from removing extensions. These two methods are known as Registry Editor and Group Policy Editor. Both of these methods are covered above in this post with step-by-step instructions to prevent Firefox extensions from being removed or disabled. Read next:
Prevent uninstallation of Chrome extensions.