Extensions -> can't auto enable them
Hi,
I'm trying to auto enable 2 extensions for my users, and after hours on the issue, I cannot find any fix.
We are using: ESR 91.4 32 bits
I've tried to use: - Group Policy -> ExtensionSettings {
"policies": { "ExtensionSettings": {
"uBlock0@asipsante.fr": { "installation_mode": "force_installed", "install_url": "file:///c:/Program Files (x86)/Ivanti/Workspace Control/Data/DBCache/Resources/custom_resources/Logiciels/Mozilla/extensions/CPS2ter-2020_Firefox@asipsante.fr.xpi" }, "uBlock1@netsoins.org": { "installation_mode": "force_installed", "install_url": "https://maintenance.netsoins.org/cpsvitale/firefox.xpi" } } } }
- and Registry HKCU\Software\Policies\Mozilla\Firefox -> ExtensionSettings (REG_MULTI_SZ): { "uBlock0@asipsante.fr": { "installation_mode": "force_installed", "install_url": "file:///c:/Program Files (x86)/Ivanti/Workspace Control/Data/DBCache/Resources/custom_resources/Logiciels/Mozilla/extensions/CPS2ter-2020_Firefox@asipsante.fr.xpi" }, "uBlock1@netsoins.org": { "installation_mode": "force_installed", "install_url": "https://maintenance.netsoins.org/cpsvitale/firefox.xpi" } }
-> HKCU\Software\Policies\Mozilla\Firefox\Extensions\Install 1 (REG_SZ): c:\Program Files (x86)\Ivanti\Workspace Control\Data\DBCache\Resources\custom_resources\Logiciels\Mozilla\extensions\CPS2ter-2020_Firefox@asipsante.fr.xpi 2 (REG_SZ): https://maintenance.netsoins.org/cpsvitale/firefox.xpi
The result is: extension are installed, but always disabled. I have to manually enable them.
Would you have any idea?
thanks for help
Alle svar (3)
Is it possible these extensions were disabled in the past? Can you try a new profile?
Hi Mike,
All the testing I did always were new profile.
For each test, I delete the actual profile, create new one, and check if the addons are auto enabled.
OK, so I see two issues here.
1. The first extension appears to be a third party installed extension. Do you see the extension referenced at:
HKEY_LOCAL_MACHINE\Software\Mozilla\Firefox\Extensions
or
HKEY_LOCAL_MACHINE\Software\Wow6432Node\Mozilla\Firefox\Extensions
in the registry?
For this to work properly, you need to make sure the extension is not being installed as a third party extension and is only installed via policy.
2. For the second extension, the ID is wrong. It should be {2dd2655f-1b39-42e3-a286-6cc0039dbdea} instead of uBlock1@netsoins.org.