Open in the explorer

Inclusion list for moderate risk file types

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

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_SetModRiskInclusion

Explanation

This policy setting allows you to configure the list of moderate-risk file types. If the attachment is in the list of moderate-risk file types and is from the restricted or Internet zone, Windows prompts the user before accessing the file. This inclusion list overrides the list of potentially high-risk file types built into Windows and it takes precedence over the low-risk inclusion list but has a lower precedence than the high-risk inclusion list (where an extension is listed in more than one inclusion list).

If you enable this policy setting, you can specify file types which pose a moderate risk.

If you disable this policy setting, Windows uses its default trust logic.

If you do not configure this policy setting, Windows uses its default trust logic.

French text from Windows 11 26H2

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

Si vous activez ce paramètre de stratégie, vous pouvez spécifier quels types de fichiers présentent un risque modéré.

Si vous désactivez ce paramètre de stratégie, Windows utilise sa logique de confiance par défaut.

Si vous ne configurez pas ce paramètre de stratégie, Windows utilise sa logique de confiance par défaut.

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

Disable

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

Revert to "Not configured"

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

Options (1)

LabelControlRegistry valueREG typeConstraints / details
Specify moderate risk extensions (include a leading period, e.g. .doc;.pdf;).Indiquez les extensions à risque modéré (par exemple : .doc ;.pdf ;).AM_InstructModRiskInclusionListText boxtextModRiskFileTypesREG_SZ
Required

Availability