Open in the explorer

Permit use of Application snap-ins

Autoriser l’utilisation de composants logiciels enfichables Applications

Type
User
GPO path
User Configuration › Policies › Administrative Templates › Windows Components › Microsoft Management Console › Restricted/Permitted snap-ins › Group Policy › Preference snap-in extensions FR: Configuration utilisateur › Stratégies › Modèles d'administration › Composants Windows › Console de gestion Microsoft › Composants logiciels enfichables restreints/autorisés › Stratégie de groupe › Extensions pour le composant logiciel enfichable Préférences
Supported on
At least Windows Server 2003 operating systems or Windows XP Professional with SP2 FR: Au minimum Windows Server 2003 ou Windows XP Professionnel avec SP2
ADMX file
grouppolicypreferences.admx
Internal name
grouppolicypreferences/MMC_PrefApplications

Explanation

This policy setting allows you to permit or prohibit use of Application snap-ins (Application preference item types). When prohibited, no Application preference item types appear when you attempt to create a new Application preference item, and you are unable to do so. This policy setting does not affect existing Application preference items.

If you enable or do not configure this policy setting, you permit use of Application snap-ins. Enabling this policy setting does not override policy settings that restrict the use of preference extensions.

If you disable this policy setting, you prohibit use of Applications snap-ins, and new Application preference items cannot be created.

French text from Windows 11 26H2

Ce paramètre de stratégie permet d’autoriser ou d’interdire l’utilisation des composants logiciels enfichables Applications (types d’élément de préférence Applications). En cas d’interdiction, aucun type d’élément de préférence Applications n’apparaît lorsque vous essayez de créer un élément de préférence Applications et il est donc impossible d’en créer. Ce paramètre de stratégie n’a aucun effet sur les éléments de préférence Applications existants.

Si vous activez ce paramètre de stratégie ou si vous ne le configurez pas, l’utilisation des composants logiciels enfichables Applications est permise. L’activation de ce paramètre de stratégie ne remplace pas les paramètres de stratégie ayant pour effet de restreindre l’utilisation des extensions de préférence.

Si vous désactivez ce paramètre de stratégie, l’utilisation des composants logiciels enfichables Applications est interdite et il est impossible de définir de nouveaux éléments de préférence Applications.

Registry

HKEY_CURRENT_USER\Software\Policies\Microsoft\MMC\{6A712058-33C6-4046-BCF9-0EA3A8808EDC}
Value name
Restrict_Run
StateValue written
EnabledREG_DWORD = 0
DisabledREG_DWORD = 1

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: grouppolicypreferences/MMC_PrefApplications
$k = 'HKCU:\Software\Policies\Microsoft\MMC\{6A712058-33C6-4046-BCF9-0EA3A8808EDC}'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'Restrict_Run' -Value 0 -Type DWord

Disable

# Disable: grouppolicypreferences/MMC_PrefApplications
$k = 'HKCU:\Software\Policies\Microsoft\MMC\{6A712058-33C6-4046-BCF9-0EA3A8808EDC}'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'Restrict_Run' -Value 1 -Type DWord

Revert to "Not configured"

# Revert to "Not configured": grouppolicypreferences/MMC_PrefApplications
$k = 'HKCU:\Software\Policies\Microsoft\MMC\{6A712058-33C6-4046-BCF9-0EA3A8808EDC}'
Remove-ItemProperty -Path $k -Name 'Restrict_Run' -ErrorAction SilentlyContinue

Availability