Prevent indexing e-mail attachments

Enable this policy setting to prevent the indexing of the content of e-mail attachments. If enabled, indexing service components (including non-Microsoft components) are expected not to index e-mail attachments. Consider enabling this policy if you are concerned about the security or indexing performance of non-Microsoft document filters (iFilters). This policy is disabled by default.

Supported on: Microsoft Windows Vista, or any version of Windows with Windows Search 3.01 or later

Registry HiveHKEY_LOCAL_MACHINE
Registry PathSOFTWARE\Policies\Microsoft\Windows\Windows Search
Value NamePreventIndexingEmailAttachments
Value TypeREG_DWORD
Enabled Value1
Disabled Value0

search.admx

Administrative Templates (Computers)

Administrative Templates (Users)