Install extention using GPO
Hello,
I want to download an extension using firefox policy templates. I put the location folder and extension id so that it cannot be deleted, but for some reason it doesn't want to install most of the times. The policy is added after using the gpupdate /force command and restarting the machine then open and close the browser. I wait 10 minutes for the policy to be configured on the computer and open the browser again and nothing happens. Also, the keys in the registry have the corresponding value type (checked in site https://admx.help/?Category=Firefox&Policy=Mozilla.Policies.Firefox::Extensions_Locked). But when I drag and drop with a mouse, the extension is installed and cannot be deleted. Can you tell me why does the extension not install when the policy is in effect?
I sent pictures from Group Policy Manager, Registry editor and showing that the extension can not be deleted after drag and drop with a mouse.
Thank you in advanced!
Chosen solution
The id should have curly brackets
{cb40da56-497a-4add-955d-3377cae4c33b}
Can you try that?
Read this answer in context 👍 1All Replies (5)
With manual installation everything is fine (drag and drop) also on other browsers like chrome or edge there is no problem so it is not the developer's fault
Modified
I would suggest you take a look at the ExtensionSettings policy:
https://github.com/mozilla/policy-templates/blob/master/README.md#extensionsettings
It's much more robust for what you are trying to do.
Hello,
I tried making the registry key and when I go into about:policies the policy shows up but doesn't run again. Just in case, I made another policy not to download other extensions and it works without a problem. I opened waited a few minutes and closed the browser and when I reopen it, my extension is not download. Also restarting the machine does not help. Do you have any other tips?
Here is the REG_MULTI_SZ:
{
"cb40da56-497a-4add-955d-3377cae4c33b": { "installation_mode": "force_installed", "install_url": "file:///C:/Program Files (x86)/Folder/Endpoint Security/Web Control/e10swcffplg.xpi" }, "*": {
"installation_mode": "blocked"
}
}
Chosen Solution
The id should have curly brackets
{cb40da56-497a-4add-955d-3377cae4c33b}
Can you try that?
Thank you for the help it work finally
Best regards,