Allow all trusted apps to install
Autoriser l’installation des applications approuvées
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.
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
| State | Value written |
|---|---|
| Enabled | REG_DWORD = 1 |
| Disabled | REG_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 DWordDisable
# 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 DWordRevert to "Not configured"
# Revert to "Not configured": AppxPackageManager/AppxDeploymentAllowAllTrustedApps
$k = 'HKLM:\Software\Policies\Microsoft\Windows\Appx'
Remove-ItemProperty -Path $k -Name 'AllowAllTrustedApps' -ErrorAction SilentlyContinue