Open in the explorer

Control rich previews for attachments

Contrôler les aperçus complets pour les pièces jointes

Type
Computer
GPO path
Computer Configuration › Policies › Administrative Templates › Windows Components › Search FR: Configuration ordinateur › Stratégies › Modèles d'administration › Composants Windows › Rechercher
Supported on
Microsoft Windows XP, or Windows Server 2003 with Windows Search version 3.01 or later FR: Microsoft Windows XP ou Windows Server 2003 avec Windows Search version 3.01 ou ultérieure
ADMX file
Search.admx
Internal name
Search/RichAttachmentPreviews

Explanation

Enabling this policy defines a semicolon-delimited list of file extensions which will be allowed to have rich attachment previews.

When this policy is disabled or not configured the default settings will be set to .bmp;.emf;.gif;.jpg;.jpeg;.png;.wmf;.wrn;.txt;.err;.xml;.cpp;.c;.h;.cxx;.hxx;.idl;.cs;.vb;.idl;.xsd;.doc;.docx;.xls;.xlsx;.ppt;.pptx;.vsd;.xlsb;.xltx;.dot;.rtf

French text from Windows 11 26H2

L’activation de cette stratégie définit une liste d’extensions de fichier séparées par des points virgules pour lesquelles l’aperçu complet est autorisé.

Si cette stratégie est désactivée ou non configurée, les paramètres par défaut sont définis sur .bmp;.emf;.gif;.jpg;.jpeg;.png;.wmf;.wrn;.txt;.err;.xml;.cpp;.c;.h;.cxx;.hxx;.idl;.cs;.vb;.idl;.xsd;.doc;.docx;.xls;.xlsx;.ppt;.pptx;.vsd;.xlsb;.xltx;.dot;.rtf

Registry

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Windows Search
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: Search/RichAttachmentPreviews
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Control Rich Previews for Attachments
Set-ItemProperty -Path $k -Name 'RichAttachmentPreviews' -Value '<value>' -Type String

Disable

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

Revert to "Not configured"

# Revert to "Not configured": Search/RichAttachmentPreviews
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search'
Remove-ItemProperty -Path $k -Name 'RichAttachmentPreviews' -ErrorAction SilentlyContinue

Options (1)

LabelControlRegistry valueREG typeConstraints / details
Control Rich Previews for AttachmentsContrôler les aperçus complets pour les pièces jointesRichAttachmentPreviewsText boxtextRichAttachmentPreviewsREG_SZ

Availability