Prevent customization of indexed locations in Control Panel

If enabled, Search and Indexing Options in Control Panel does not allow opening the Modify Locations dialog. Otherwise it can be opened. Disabled by default.

Supported on: Microsoft Windows XP, Windows Server 2003 with Windows Search version 3.01, or any version of Microsoft Windows with Windows Search 4.0 or later
Registry HiveHKEY_LOCAL_MACHINE
Registry PathSOFTWARE\Policies\Microsoft\Windows\Windows Search
Value NamePreventModifyingIndexedLocations
Value TypeREG_DWORD
Enabled Value1
Disabled Value0

search.admx

Administrative Templates (Computers)

Administrative Templates (Users)