View Categories

Installing browser extension using GPO or Windows Registry

2 min read

Chrome #

At first install Chrome policy templates.

Group Policy Editor #

Run GPEDIT (gpedit.msc)

Computer Confguration > Administrative templates > Google Chrome > Extensions > Configure the list of force-installed apps and extensions
(Extensions in the list are installed silently, without user interaction, and cannot be uninstalled nor disabled by the user)

Add SecureAnyBox Extension to the list in the following format:
jmjiclmedngjhklhcafhkmbhmdiecgif;https://clients2.google.com/service/update2/crx

Where text jmjiclmedngjhklhcafhkmbhmdiecgif is extension ID. For example,you can verify extension ID from the Chrome store address (https://chrome.google.com/webstore/detail/secureanybox/jmjiclmedngjhklhcafhkmbhmdiecgif)

Windows registry #

Instead of using GPEDIT, you can write the settings directly into the windows registry:

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome\ExtensionInstallForcelist]
"1"="jmjiclmedngjhklhcafhkmbhmdiecgif;https://clients2.google.com/service/update2/crx"

 

 

Firefox #

At first install Firefox policy templates.

Group Policy Editor #

Run GPEDIT (gpedit.msc)

1) Computer Configuration > Administrative templates > Mozilla > Firefox > Extensions > Extension Management
(Extension installation and restrictions are now managed through a single JSON-based policy)

Add the following JSON configuration for the SecureAnyBox Extension:

{
sab_login@secureanybox.com“: {
“installation_mode”: “force_installed”,
“install_url”: “https://<your
secureanyboxserver.com>/downpub/secureanybox-1.2.8.xpi
}
}

2) The previous policies Extensions to install and Prevent extensions from being disabled or removed are deprecated and replaced by the ExtensionManagement policy above.

Windows registry #

Instead of using GPEDIT, you can write the settings directly into the windows registry e.g.:

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Mozilla\Firefox]

ExtensionSettings
REG_MULTI_SZ
value:
{"
sab_login@secureanybox.com":{"installation_mode":"force_installed","install_url":"https://<yoursecureanyboxserver.com>/downpub/secureanybox-1.2.8.xpi"}}

Note: If the extension version is updated, you must also update the version here.

This JSON-formatted registry value replaces the old keys:

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Mozilla\Firefox\Extensions\Install]
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Mozilla\Firefox\Extensions\Locked]

These
older registry locations are no longer used.

Powered by BetterDocs