Open in the explorer

Allow all trusted apps to install

Autoriser l’installation des applications approuvées

Type
Computer
GPO path
Computer Configuration › Policies › Administrative Templates › Windows Components › App Package Deployment FR: Configuration ordinateur › Stratégies › Modèles d'administration › Composants Windows › Déploiement de package Appx
Supported on
At least Windows Server 2012, Windows 8 or Windows RT FR: Au minimum Windows Server 2012, Windows 8 ou Windows RT
ADMX file
AppxPackageManager.admx
Internal name
AppxPackageManager/AppxDeploymentAllowAllTrustedApps

Explanation

This policy setting allows you to manage the installation of trusted line-of-business (LOB) or developer-signed packaged Microsoft Store apps.

If you enable or do not configure this policy setting, you can install any LOB or developer-signed packaged Microsoft Store app (which must be signed with a certificate chain that can be successfully validated by the local computer).

If you disable this policy setting, you cannot install LOB or developer-signed packaged Microsoft Store apps.

French text from Windows 11 26H2

Ce paramètre de stratégie vous permet de gérer l’installation d’applications métier approuvées ou d’applications Microsoft Store packagées signées par le développeur.

Si vous activez ou ne configurez pas ce paramètre de stratégie, vous pouvez installer n’importe quelle application Microsoft Store empaquetée signée par le développeur ou LOB (qui doit être signée avec une chaîne de certificats qui peut être validée avec succès par l’ordinateur local).

Si vous désactivez ce paramètre de stratégie, vous ne pouvez pas installer la LOB ou les applications Microsoft Store packagées signées par le développeur.

Registry

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Appx
Value name
AllowAllTrustedApps
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.

Enable

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

Disable

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

Revert to "Not configured"

# Revert to "Not configured": AppxPackageManager/AppxDeploymentAllowAllTrustedApps
$k = 'HKLM:\Software\Policies\Microsoft\Windows\Appx'
Remove-ItemProperty -Path $k -Name 'AllowAllTrustedApps' -ErrorAction SilentlyContinue

Availability