Control rich previews for attachments: registry value RichAttachmentPreviewsComputerHKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search
- Policy ID
- RichAttachmentPreviews
- Scope
- Computer Configuration
- Supported on
- Microsoft Windows XP, or Windows Server 2003 with Windows Search version 3.01 or later
- Source
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (version 1.0)
- Category
- Windows Components › Search
Registry
RichAttachmentPreviews
REG_SZComputer- Enabled value
- Depends on the option value
- Element
- Control Rich Previews for Attachments
- Value type
- REG_SZ
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Windows Search] ; Value names and types follow the ADMX. Replace <enter value> below with your own data "RichAttachmentPreviews"="<enter value>"
CMD
:: Value names and types follow the ADMX. Replace <enter value> below with your own data reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search" /v "RichAttachmentPreviews" /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 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search' -Force | Out-Null New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search' -Name 'RichAttachmentPreviews' -PropertyType String -Value '<enter value>' -Force | Out-Null