Computer >> บทช่วยสอนคอมพิวเตอร์ >  >> ระบบ >> Windows

วิธีป้องกันไม่ให้ User แก้ไข Search Index Locations ใน Windows 10

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 ใน Windows 10

ป้องกัน User แก้ไข Search Index Locations ด้วย Group Policy

ขั้นตอน:

  1. กด Win+R เปิด Run Dialog
  2. พิมพ์ gpedit.msc กด Enter
  3. ไป Search ใน Computer Configuration
  4. ดับเบิลคลิก Prevent customization of indexed locations in Control Panel Setting
  5. เลือก Enabled
  6. คลิก 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

วิธีป้องกันไม่ให้ User แก้ไข Search Index Locations ใน Windows 10

คลิก OK บันทึก

เกี่ยวข้อง: วิธีปิด Advanced Search Indexing Options ใน Windows 10

บล็อค User แก้ไข Search Index Locations ด้วย Registry

ขั้นตอน:

  1. ค้นหา regedit ใน Taskbar Search Box
  2. คลิกผลลัพธ์ เลือก Yes
  3. ไป Windows ใน HKEY_LOCAL_MACHINE
  4. คลิกขวา Windows > New > Key
  5. ตั้งชื่อ Windows Search
  6. คลิกขวา Windows Search > New > DWORD (32-bit) Value
  7. ตั้งชื่อ PreventModifyingIndexedLocations
  8. ดับเบิลคลิก ตั้ง Value data 1
  9. คลิก OK

ดู Detailed Version

ค้นหา regedit ใน Taskbar Search Box คลิกผลลัพธ์ เลือก Yes เปิด Registry Editor ไป Path:

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows

คลิกขวา Windows > New > Key ตั้งชื่อ Windows Search

วิธีป้องกันไม่ให้ User แก้ไข Search Index Locations ใน Windows 10

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

วิธีป้องกันไม่ให้ User แก้ไข Search Index Locations ใน Windows 10

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

วิธีป้องกันไม่ให้ User แก้ไข Search Index Locations ใน Windows 10

คลิก OK บันทึก

หาใช้ Registry Method อย่าลืมสร้าง System Restore Point ก่อนแก้อะไร

เสร็จสิ้น!