Open in the explorer

Inclusion list for high risk file types

Liste d’inclusions pour les types de fichiers à risque élevé

Type
User
GPO path
User Configuration › Policies › Administrative Templates › Windows Components › Attachment Manager FR: Configuration utilisateur › Stratégies › Modèles d'administration › Composants Windows › Gestionnaire de pièces jointes
Supported on
At least Windows XP Professional with SP2 FR: Au minimum Windows XP Professionnel avec SP2
ADMX file
AttachmentManager.admx
Internal name
AttachmentManager/AM_SetHighRiskInclusion

Explanation

This policy setting allows you to configure the list of high-risk file types. If the file attachment is in the list of high-risk file types and is from the restricted zone, Windows blocks the user from accessing the file. If the file is from the Internet zone, Windows prompts the user before accessing the file. This inclusion list takes precedence over the medium-risk and low-risk inclusion lists (where an extension is listed in more than one inclusion list).

If you enable this policy setting, you can create a custom list of high-risk file types.

If you disable this policy setting, Windows uses its built-in list of file types that pose a high risk.

If you do not configure this policy setting, Windows uses its built-in list of high-risk file types.

French text from Windows 11 26H2

Ce paramètre de stratégie vous permet de configurer la liste des types de fichiers à risque élevé. Si la pièce jointe figure dans la liste des types de fichiers à risque élevé et provient de la zone restreinte, Windows empêche l’utilisateur d’accéder au fichier. Si le fichier provient de la zone Internet, Windows demande à l’utilisateur s’il souhaite accéder au fichier. Cette liste d’inclusions a priorité sur les listes d’inclusions de risques modérés et faibles (quand une extension est répertoriée dans plusieurs listes d’inclusions).

Si vous activez ce paramètre de stratégie, vous pouvez créer une liste personnalisée de types de fichiers à risque élevé.

Si vous désactivez ce paramètre de stratégie, Windows utilise sa propre liste de types de fichiers à risque élevé.

Si vous ne configurez pas ce paramètre de stratégie, Windows utilise sa propre liste de types de fichiers à risque élevé.

Registry

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Associations
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: AttachmentManager/AM_SetHighRiskInclusion
$k = 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Associations'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Specify high risk extensions (include a leading period, e.g. .cmd;.exe;).
Set-ItemProperty -Path $k -Name 'HighRiskFileTypes' -Value '<value>' -Type String

Disable

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

Revert to "Not configured"

# Revert to "Not configured": AttachmentManager/AM_SetHighRiskInclusion
$k = 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Associations'
Remove-ItemProperty -Path $k -Name 'HighRiskFileTypes' -ErrorAction SilentlyContinue

Options (1)

LabelControlRegistry valueREG typeConstraints / details
Specify high risk extensions (include a leading period, e.g. .cmd;.exe;).Indiquez les extensions à risque élevé (par exemple : .cmd ;.exe ;).AM_InstructHighRiskInclusionListText boxtextHighRiskFileTypesREG_SZ
Required

Availability