Windows Search Index ช่วยหาไฟล์เร็วขณะค้นหา และสามารถเพิ่ม/ลบ Locations ใน Search Index ได้ หากปรับแต่ง Search Index ตามต้องการ และ ป้องกันไม่ให้ User แก้ไข Search Index Locations ใน Windows 10 สามารถทำตาม Tutorial นี้ สร้างข้อจำกัดด้วย Local Group Policy Editor และ Registry Editor เมื่อทำแล้ว Modify Search Index Locations จะ Grayed Out

ป้องกัน User แก้ไข Search Index Locations ด้วย Group Policy
ขั้นตอน:
- กด Win+R เปิด Run Dialog
- พิมพ์ gpedit.msc กด Enter
- ไป Search ใน Computer Configuration
- ดับเบิลคลิก Prevent customization of indexed locations in Control Panel Setting
- เลือก Enabled
- คลิก OK
อ่านต่อเพื่อรายละเอียด
เปิด Local Group Policy Editor กด Win+R พิมพ์ gpedit.msc กด Enter
เปิดแล้ว ไป Path:
Computer Configuration > Administrative Templates > Windows Components > Search
ขวาจะเจอ Setting Prevent customization of indexed locations in Control Panel ดับเบิลคลิก เลือก Enabled

คลิก OK บันทึก
เกี่ยวข้อง: วิธีปิด Advanced Search Indexing Options ใน Windows 10
บล็อค User แก้ไข Search Index Locations ด้วย Registry
ขั้นตอน:
- ค้นหา regedit ใน Taskbar Search Box
- คลิกผลลัพธ์ เลือก Yes
- ไป Windows ใน HKEY_LOCAL_MACHINE
- คลิกขวา Windows > New > Key
- ตั้งชื่อ Windows Search
- คลิกขวา Windows Search > New > DWORD (32-bit) Value
- ตั้งชื่อ PreventModifyingIndexedLocations
- ดับเบิลคลิก ตั้ง Value data 1
- คลิก OK
ดู Detailed Version
ค้นหา regedit ใน Taskbar Search Box คลิกผลลัพธ์ เลือก Yes เปิด Registry Editor ไป Path:
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows
คลิกขวา Windows > New > Key ตั้งชื่อ Windows Search

คลิกขวา Windows Search > New > DWORD (32-bit) Value ตั้งชื่อ PreventModifyingIndexedLocations

ดับเบิลคลิก REG_DWORD ตั้ง Value data 1

คลิก OK บันทึก
หาใช้ Registry Method อย่าลืมสร้าง System Restore Point ก่อนแก้อะไร
เสร็จสิ้น!