Inclusion list for high risk file types: registry value HighRiskFileTypesUserHKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Associations
- Policy ID
- AM_SetHighRiskInclusion
- Scope
- User Configuration
- Supported on
- At least Windows XP Professional with SP2
- Source
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (version 1.0)
- Category
- Windows Components › Attachment Manager
Registry
HighRiskFileTypes
REG_SZUser- Enabled value
- Depends on the option value
- Element
- Specify high risk extensions (include a leading period, e.g. .cmd;.exe;).
- Value type
- REG_SZ
- Required
- true
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Associations] ; Value names and types follow the ADMX. Replace <enter value> below with your own data "HighRiskFileTypes"="<enter value>"
CMD
:: Value names and types follow the ADMX. Replace <enter value> below with your own data reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Associations" /v "HighRiskFileTypes" /t REG_SZ /d "<enter value>" /f
PowerShell
# Value names and types follow the ADMX. Replace <enter value> below with your own data New-Item -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Associations' -Force | Out-Null New-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Associations' -Name 'HighRiskFileTypes' -PropertyType String -Value '<enter value>' -Force | Out-Null