Dans cet article, vous découvrirez comment déployer l'extension Kabeen sur les navigateurs Microsoft Edge, Google Chrome et Mozilla Firefox en utilisant Endpoint Manager de Microsoft Intune.
Déploiement de l'extension Kabeen
Cette procédure s'appuie sur l'utilisation d'un script Powershell sur les postes utilisateurs afin de :
Installer automatiquement l'extension sur les navigateurs présents
Déployer les paramètres de l'espace Kabeen et de l'équipe.
Ce script nécessite la configuration des 4 variables suivantes
Liste des paramètres de configuration des extensions
Clé | Description | Exemple |
$ApiToken | Clé d'API récupérée depuis Kabeen | kabeen-111-222-333 |
$StructureId | L'UUID de la filiale des utilisateurs | xxxxxx |
$TeamId | L'UUID de l'équipe des utilisateurs | yyyyyy |
$hive | Destination dans le registre | HKCU ou HKLM |
Localisation des clés de configuration dans le Base de registre
Microsoft Edge
Microsoft Edge
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Edge\3rdparty\extensions\jgdflahjneomipldehpneckiplknghbc\policy\
Google Chrome
Google Chrome
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome\3rdparty\extensions\hkmgmmaopoofgchofbngplopnhajbojc\policy\
Mozilla Firefox
Mozilla Firefox
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Mozilla\Firefox\3rdparty\Extensions\storage@kabeen.org\
# Select registry Hive destination (HKCU or HKLM)
$hive = "HKCU"
# Enter Kabeen workspace API key and organization parameters
$ApiToken = "kabeen-111-222-333"
$StructureId = "xxxxxx-xxx-xxxx-xx"
$TeamId = "yyyyyy-yyy-yyyy-yy"
## Force install extensions
$edgeExtensionId = "jgdflahjneomipldehpneckiplknghbc"
$edgeKeyPath = "HKLM:\SOFTWARE\Policies\Microsoft\Edge\ExtensionInstallForcelist"
New-Item -Path $edgeKeyPath -Force
Set-ItemProperty -Path $edgeKeyPath -Name "1" -Value $edgeExtensionId
$chromeExtensionId = "hkmgmmaopoofgchofbngplopnhajbojc"
$chromeKeyPath = "HKLM:\SOFTWARE\Policies\Google\Chrome\ExtensionInstallForcelist"
New-Item -Path $chromeKeyPath -Force
Set-ItemProperty -Path $chromeKeyPath -Name "1" -Value "$chromeExtensionId"
$firefoxExtensionId = "https://addons.mozilla.org/firefox/downloads/latest/kabeen"
$firefoxKeyPath = "HKLM:\SOFTWARE\Policies\Mozilla\Firefox\Extensions\Install"
New-Item -Path $firefoxKeyPath -Force
Set-ItemProperty -Path $firefoxKeyPath -Name "1" -Value "$firefoxExtensionId"
## Extension settings configuration
# Create Windows registry keys for each compatible browser
$UserId = [System.Security.Principal.WindowsIdentity]::GetCurrent().User.Value
$Username = [System.Security.Principal.WindowsIdentity]::GetCurrent().Name
$DeviceID = Get-WmiObject -Class Win32_ComputerSystemProduct | Select-Object -ExpandProperty UUID
$DeviceName = (Get-WmiObject -Class Win32_ComputerSystem).Name
$paths = @(
@{ Path = $hive + ":\SOFTWARE\Policies\Microsoft\Edge\3rdparty\extensions\jgdflahjneomipldehpneckiplknghbc\policy\Authentication" },
@{ Path = $hive + ":\SOFTWARE\Policies\Google\Chrome\3rdparty\extensions\hkmgmmaopoofgchofbngplopnhajbojc\policy\Authentication" },
@{ Path = $hive + ":\SOFTWARE\Policies\Mozilla\Firefox\3rdparty\Extensions\storage@kabeen.org\Authentication" }
)
foreach ($path in $paths) {
New-Item -Path $path.Path -Force
New-ItemProperty -LiteralPath $path.Path -Name 'ApiToken' -Value $ApiToken -PropertyType String -Force -ea SilentlyContinue
New-ItemProperty -LiteralPath $path.Path -Name 'StructureId' -Value $StructureId -PropertyType String -Force -ea SilentlyContinue
New-ItemProperty -LiteralPath $path.Path -Name 'TeamId' -Value $TeamId -PropertyType String -Force -ea SilentlyContinue
New-ItemProperty -LiteralPath $path.Path -Name 'UserId' -Value $UserId -PropertyType String -Force -ea SilentlyContinue
New-ItemProperty -LiteralPath $path.Path -Name 'DeviceId' -Value $DeviceID -PropertyType String -Force -ea SilentlyContinue
New-ItemProperty -LiteralPath $path.Path -Name 'Username' -Value $Username -PropertyType String -Force -ea SilentlyContinue
New-ItemProperty -LiteralPath $path.Path -Name 'DeviceName' -Value $DeviceName -PropertyType String -Force -ea SilentlyContinue
}