Do not allow locations on removable drives to be added to libraries

This policy setting configures whether or not locations on removable drives can be added to libraries.

If you enable this policy setting, locations on removable drives cannot be added to libraries. In addition, locations on removable drives cannot be indexed.

If you disable or do not configure this policy setting, locations on removable drives can be added to libraries. In addition, locations on removable drives can be indexed.

Supported on: Microsoft Windows 8.1 or later

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

search.admx

Administrative Templates (Computers)

Administrative Templates (Users)