Ouvrir dans l'explorateur

Autorise le développement d’applications empaquetées du Microsoft Store et leur installation à partir d’un environnement de développement intégré (IDE)

Allows development of packaged Microsoft Store apps and installing them from an integrated development environment (IDE)

Type
Ordinateur
Chemin GPO
Configuration ordinateur › Stratégies › Modèles d'administration › Composants Windows › Déploiement de package Appx EN : Computer Configuration › Policies › Administrative Templates › Windows Components › App Package Deployment
Pris en charge sur
Au minimum Windows Server 2012, Windows 8 ou Windows RT EN : At least Windows Server 2012, Windows 8 or Windows RT
Fichier ADMX
AppxPackageManager.admx
Nom interne
AppxPackageManager/AllowDevelopmentWithoutDevLicense

Explication

Texte français issu de Windows 11 26H2

Autorise ou refuse le développement d’applications du Microsoft Store et leur installation directement depuis un environnement de développement intégré.

Si vous activez ce paramètre et la stratégie de groupe « Autoriser l’installation des applications approuvées », vous pouvez développer des applications du Microsoft Store et les installer directement depuis un environnement de développement intégré.

Si vous désactivez ce paramètre ou ne le configurez pas, vous ne pourrez pas développer d'applications du Microsoft Store ni en installer directement depuis un environnement de développement intégré.

Allows or denies development of Microsoft Store applications and installing them directly from an IDE.

If you enable this setting and enable the "Allow all trusted apps to install" Group Policy, you can develop Microsoft Store apps and install them directly from an IDE.

If you disable or do not configure this setting, you cannot develop Microsoft Store apps or install them directly from an IDE.

Registre

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Appx
Nom de la valeur
AllowDevelopmentWithoutDevLicense
ÉtatValeur écrite
ActivéREG_DWORD = 1
DésactivéREG_DWORD = 0

PowerShell

Commandes PowerShell qui écrivent dans le registre ce que la stratégie écrirait. Les valeurs entre chevrons (<…>) sont à remplacer.

Écrire directement dans le registre contourne la stratégie de groupe : si une GPO gère cette valeur, elle sera réécrite au prochain gpupdate ; sinon la valeur reste en place (effet « tatouage »). Préférez une GPO ou, en local, LGPO.exe. Exécutez PowerShell en administrateur pour HKLM. Certaines stratégies demandent un redémarrage ou gpupdate /force.

Activer

# Activer : AppxPackageManager/AllowDevelopmentWithoutDevLicense
$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 'AllowDevelopmentWithoutDevLicense' -Value 1 -Type DWord

Désactiver

# Désactiver : AppxPackageManager/AllowDevelopmentWithoutDevLicense
$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 'AllowDevelopmentWithoutDevLicense' -Value 0 -Type DWord

Revenir à « Non configuré »

# Revenir à « Non configuré » : AppxPackageManager/AllowDevelopmentWithoutDevLicense
$k = 'HKLM:\Software\Policies\Microsoft\Windows\Appx'
Remove-ItemProperty -Path $k -Name 'AllowDevelopmentWithoutDevLicense' -ErrorAction SilentlyContinue

Disponibilité