Open in the explorer

Allowed package family names for non-admin user install

Noms de la famille de packages autorisés pour l’installation d’utilisateurs non administrateurs

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 11 Version 22H2 FR: Au moins Windows 11 version 22H2
ADMX file
AppxPackageManager.admx
Internal name
AppxPackageManager/AllowedNonAdminPackageFamilyNameRules

Explanation

Allowed package family names for non-Administrator user Windows app package installation.

If you enable this policy, you can enter a list of Windows app packages non-Administrators will be able to initiate installation of regardless of the configured "Prevent non-admin users from installing packaged Windows apps" policy.

The values provided will be treated as regular expressions (ECMA Script). A package family name like Contoso.ContosoApp_8wekyb3d8bbwe is itself a valid regular expression that will match all packages in that family. A regular expression like ^Contoso.*_8wekyb3d8bbwe$ will also match Contoso.ContosoApp_8wekyb3d8bbwe

If the package family name of an installing Windows app package matches any rule it will not be blocked by the "Prevent non-admin users from installing packaged Windows apps" policy. Installation may still be blocked by other policy or settings.

If you disable or do not configure this policy, all Windows app packages will be subject to the configured "Prevent non-admin users from installing packaged Windows apps" policy.

Default is 'disabled' (key not present).

French text from Windows 11 26H2

Noms de la famille de packages autorisés pour l’installation de package d’application Windows non administrateur.

Si vous activez ce paramètre de stratégie, vous pouvez entrer une liste de packages d’applications Windows pour lesquels les non-administrateurs peuvent lancer l’installation, quelle que soit la stratégie configurée « Empêcher les utilisateurs non administrateurs d’installer des applications Windows empaquetées ».

Les valeurs fournies seront traitées comme des expressions régulières (script ECMA). Un nom de famille de packages tel que Contoso.ContosoApp_8wekyb3d8bbwe est lui-même une expression régulière valide qui correspondra à tous les packages de cette famille. Une expression régulière telle que ^Contoso.*_8wekyb3d8bbwe$ correspondra également à Contoso.ContosoApp_8wekyb3d8bbwe

Si le nom de la famille de packages d’un package d’application Windows d’installation correspond à une règle, il n’est pas bloqué par la stratégie « Empêcher les utilisateurs non administrateurs d’installer des applications Windows empaquetées ». L’installation peut toujours être bloquée par d’autres paramètres ou stratégie.

Si vous désactivez ou ne configurez pas cette stratégie, tous les packages d’applications Windows sont soumis à la stratégie « Empêcher les utilisateurs non administrateurs d’installer des applications Windows empaquetées ».

La valeur par défaut est 'disabled' (clé absente).

Registry

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Appx\AllowedNonAdminPackageFamilyNameRules
Value name
not defined in the ADMX

Enable / disable values: not defined in the ADMX (see the options below).

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/AllowedNonAdminPackageFamilyNameRules
$k = 'HKLM:\Software\Policies\Microsoft\Windows\Appx\AllowedNonAdminPackageFamilyNameRules'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Allowed package family names for non-admin user install
$values = @('<value1>', '<value2>')  # Replace the values with your own
foreach ($v in $values) { Set-ItemProperty -Path $k -Name $v -Value $v -Type String }

Disable

# Disable: AppxPackageManager/AllowedNonAdminPackageFamilyNameRules
# No value is written in the "Disabled" state (nothing defined in the ADMX)

Revert to "Not configured"

# Revert to "Not configured": AppxPackageManager/AllowedNonAdminPackageFamilyNameRules
$k = 'HKLM:\Software\Policies\Microsoft\Windows\Appx\AllowedNonAdminPackageFamilyNameRules'
# names to adapt
# Remove-ItemProperty -Path $k -Name '<name1>' -ErrorAction SilentlyContinue

Options (1)

LabelControlRegistry valueREG typeConstraints / details
Allowed package family names for non-admin user installNoms de la famille de packages autorisés pour l’installation d’utilisateurs non administrateursAllowedNonAdminPackageFamilyNameRulesListList (table)listpolicy keyNumbered values (1, 2, 3…) · additiveREG_SZ (values under the key)

Availability

Windows 11

✓ 26H2✓ 25H2✓ 24H2— 23H2— 22H2— 21H2

Windows 10

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

Windows Server

✓ 2025— 2022— 2016