Open in the explorer

Allow deployment operations in special profiles

Permettre le déploiement dans des profils spécifiques

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/AllowDeploymentInSpecialProfiles

Explanation

This policy setting allows you to manage the deployment of packaged Microsoft Store apps when the user is signed in using a special profile. Special profiles are the following user profiles, where changes are discarded after the user signs off:

Roaming user profiles to which the "Delete cached copies of roaming profiles" Group Policy setting applies

Mandatory user profiles and super-mandatory profiles, which are created by an administrator

Temporary user profiles, which are created when an error prevents the correct profile from loading

User profiles for the Guest account and members of the Guests group

If you enable this policy setting, Group Policy allows deployment operations (adding, registering, staging, updating, or removing an app package) of packaged Microsoft Store apps when using a special profile.

If you disable or do not configure this policy setting, Group Policy blocks deployment operations of packaged Microsoft Store apps when using a special profile.

French text from Windows 11 26H2

Ce paramètre de stratégie vous permet de gérer le déploiement d’applications empaquetées du Microsoft Store lorsque l’utilisateur est connecté sous un profil spécifique. Les profils spécifiques incluent les profils utilisateur suivants, où les modifications apportées sont annulées après la déconnexion de l’utilisateur :

Profils utilisateur itinérants auxquels le paramètre de stratégie de groupe « Supprimer les copies mises en cache des profils itinérants » s’applique

Profils utilisateur obligatoires et absolument obligatoires, lesquels sont créés par un administrateur

Profils utilisateur temporaires, lesquels sont créés lorsqu’une erreur empêche le chargement du profil approprié

Profils utilisateur pour le compte Invité et les membres du groupe Invités

Si vous activez ce paramètre de stratégie, la stratégie de groupe autorise les opérations de déploiement (ajout, inscription, mise en lots, mise à jour ou suppression d’un package d’applications) d’applications empaquetées du Microsoft Store lorsqu’un profil spécifique est utilisé.

Si vous désactivez ou ne configurez pas ce paramètre de stratégie, la stratégie de groupe bloque les opérations de déploiement d’applications empaquetées du Microsoft Store lorsqu’un profil spécifique est utilisé.

Registry

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Appx
Value name
AllowDeploymentInSpecialProfiles
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/AllowDeploymentInSpecialProfiles
$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 'AllowDeploymentInSpecialProfiles' -Value 1 -Type DWord

Disable

# Disable: AppxPackageManager/AllowDeploymentInSpecialProfiles
$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 'AllowDeploymentInSpecialProfiles' -Value 0 -Type DWord

Revert to "Not configured"

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

Availability