Ouvrir dans l'explorateur

Activer les vérifications Microsoft SmartScreen pour les packages MSIX

Enable Microsoft SmartScreen checks for MSIX Packages

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 moins Windows 11 version 24H2 EN : At least Windows 11 Version 24H2
Fichier ADMX
AppxPackageManager.admx
Nom interne
AppxPackageManager/EnableMsixSmartScreenCheck

Explication

Texte français issu de Windows 11 26H2

Cette stratégie contrôle si la vérification Microsoft SmartScreen est effectuée lors de l’installation de packages MSIX à partir de zones URL spécifiques.

Si vous activez ou ne configurez pas cette stratégie, l’URI du package est évalué avec Microsoft SmartScreen avant l’installation. Cette vérification est effectuée uniquement pour les packages provenant d’Internet.

Si vous désactivez cette stratégie, Microsoft SmartScreen ne sera pas consulté avant l’installation d’un package.

This policy controls whether Microsoft SmartScreen check is performed when installing MSIX packages from specific URL zones.

If you enable or do not configure this policy, the package URI will be evaluated with Microsoft SmartScreen before installation. This check is only done for packages that come from the internet.

If you disable, Microsoft SmartScreen will not be consulted before installing a package.

Registre

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Appx\
Nom de la valeur
EnableMsixSmartScreenCheck
É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/EnableMsixSmartScreenCheck
$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 'EnableMsixSmartScreenCheck' -Value 1 -Type DWord

Désactiver

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

Revenir à « Non configuré »

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

Disponibilité

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