Dev Insight: While group policy and Intune configuration profiles are the ideal way to distribute browser extensions, I needed a way to easily distribute extensions in environments without Active Directory / Intune.
This script creates the necessary registry entries for Microsoft Edge or Google Chrome to install the provided extension globally for all users of a device.
By default, the extension installation is not "forced". Each user will be able to disable or uninstall the extension for their browser profile. To prevent this, the -Force parameter can be used.
Used to specify that the extension ID provided is a Google Chrome browser extension. Either this or the -Edge parameter must be used.
-Edge
Used to specify that the extension ID provided is a Microsoft Edge browser extension. Either this or the -Chrome parameter must be used.
Optional Parameters
-Force
When used, the provided extension will be added to the force installed extension list for the designated browser. Users will not be able to disable or uninstall the extension.
Note: Browser specific versions of this script can be found in the .
This example installs the extension in Microsoft Edge for all users. When installed, users will be prompted to enable the extension.
This example force installs the extension in Google Chrome for all users. Users will not be able to disable or uninstall the extension.