Open in the explorer

Allow Sideloading of extension

Autoriser le chargement d'une version test de l'extension

Type
Computer and user
GPO path
Computer Configuration › Policies › Administrative Templates › Windows Components › Microsoft Edge User Configuration › Policies › Administrative Templates › Windows Components › Microsoft Edge FR: Configuration ordinateur › Stratégies › Modèles d'administration › Composants Windows › Microsoft EdgeFR: Configuration utilisateur › Stratégies › Modèles d'administration › Composants Windows › Microsoft Edge
Supported on
Microsoft Edge on Windows 10, Version 1809 or later FR: Microsoft Edge sur Windows 10, version 1809 ou ultérieure
ADMX file
MicrosoftEdge.admx
Internal name
MicrosoftEdge/AllowSideloadingOfExtensions

Explanation

Sideloading installs and runs unverified extensions in Microsoft Edge. With this policy, you can specify whether unverified extensions can be sideloaded in Microsoft Edge.

If enabled or not configured, sideloading of unverified extensions in Microsoft Edge is allowed.

If disabled, sideloading of unverified extensions in Microsoft Edge is not allowed. Extensions can be installed only through Microsoft store (including a store for business), enterprise storefront (such as Company Portal) or PowerShell (using Add-AppxPackage). When disabled, this policy does not prevent sideloading of extensions using Add-AppxPackage via PowerShell. To prevent this, in Group Policy Editor, enable Allows development of Windows Store apps and installing them from an integrated development environment (IDE), which is located at:

Computer Configuration > Administrative Templates > Windows Components > App Package Deployment

Supported versions: Microsoft Edge on Windows 10, version 1809
Default setting: Disabled or not configured
Related policies:
- Allows development of Windows Store apps and installing them from an integrated development environment (IDE)
- Allow all trusted apps to install​

French text from Windows 11 26H2

Le chargement d'une version test installe et exécute des extensions non vérifiées dans Microsoft Edge. Avec cette stratégie, vous pouvez spécifier si les extensions non vérifiées peuvent être chargées en version test dans Microsoft Edge.

Si cette option est activée ou n'est pas configurée, le chargement d'une version test d'extensions non vérifiées dans Microsoft Edge est autorisé.

Si cette option est désactivée, le chargement d'une version test d'extensions non vérifiées dans Microsoft Edge n'est pas autorisé. Les extensions peuvent être installées uniquement via le Microsoft Store (notamment le Microsoft Store pour Entreprises), une vitrine d'entreprise (telle que Company Portal) ou PowerShell (à l'aide d'Add-AppxPackage). Si elle est désactivée, cette stratégie n'empêche pas le chargement d'une version test des extensions à l'aide d'Add-AppxPackage via PowerShell. Pour éviter cela, dans l'éditeur de stratégie de groupe, activez l'option Autorise le développement d'applications du Microsoft Store et leur installation depuis un environnement de développement intégré, qui se trouve à l'emplacement suivant :

Configuration ordinateur > Modèles d'administration > Composants Windows > Déploiement de packages d'applications

Versions prises en charge : Microsoft Edge sous Windows 10, version 1809
Paramètre par défaut : désactivé ou non configuré
Stratégies liées :
- Autorise le développement d'applications du Microsoft Store et leur installation depuis un environnement de développement intégré
- Autoriser l'installation des applications approuvées​

Registry

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\MicrosoftEdge\Extensions
HKEY_CURRENT_USER\Software\Policies\Microsoft\MicrosoftEdge\Extensions
Value name
AllowSideloadingOfExtensions
StateValue written
EnabledREG_DWORD = 1
DisabledREG_DWORD = 0

PowerShell

PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.

Writing directly to the registry bypasses Group Policy: if a GPO manages this value, it will be rewritten at the next gpupdate; otherwise the value stays in place (the "tattooing" effect). Prefer a GPO or, locally, LGPO.exe. Run PowerShell as administrator for HKLM. Some policies need a restart or gpupdate /force.

Computer (HKLM)

Enable

# Enable: MicrosoftEdge/AllowSideloadingOfExtensions
$k = 'HKLM:\Software\Policies\Microsoft\MicrosoftEdge\Extensions'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'AllowSideloadingOfExtensions' -Value 1 -Type DWord

Disable

# Disable: MicrosoftEdge/AllowSideloadingOfExtensions
$k = 'HKLM:\Software\Policies\Microsoft\MicrosoftEdge\Extensions'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'AllowSideloadingOfExtensions' -Value 0 -Type DWord

Revert to "Not configured"

# Revert to "Not configured": MicrosoftEdge/AllowSideloadingOfExtensions
$k = 'HKLM:\Software\Policies\Microsoft\MicrosoftEdge\Extensions'
Remove-ItemProperty -Path $k -Name 'AllowSideloadingOfExtensions' -ErrorAction SilentlyContinue

User (HKCU)

Enable

Disable

Revert to "Not configured"

Availability

Windows 10

✓ 22H2✓ 21H2✓ 21H1✓ 20H2✓ 2004✓ 1909✓ 1903✓ 1809— 1803— 1709— 1703— 1607— 1511— 1507

Windows Server