Computer >> บทช่วยสอนคอมพิวเตอร์ >  >> การแก้ไขปัญหา >> ข้อผิดพลาด Windows

เปลี่ยน Drive Icon ใน Windows 10 ด้วย Registry Hack ง่ายๆ

Windows 10 ไม่มีตั้งค่าเปลี่ยน Drive Icon ตรงๆ แต่ทำได้ผ่าน Registry หรือ autorun.inf ไอคอนเริ่มต้นขึ้นกับประเภทไดรฟ์ (Network, USB) แต่ BitLocker จะบังคับใช้ไอคอนของตัวเองเสมอ

วิธีเปลี่ยน Drive Icon ใน Windows 10

แนะนำ: สร้าง Restore Point ก่อน

วิธีที่ 1: ใช้ไฟล์ autorun.inf (ไม่รองรับ Network Drive)

  1. Win + E → This PC → ดับเบิลคลิกไดรฟ์เป้าหมาย
  2. คลิกขวาพื้นที่ว่าง → New → Text Document
  3. ตั้งชื่อ autorun.inf (ต้องเป็น .inf)
  4. Copy ไฟล์ .ico ที่ต้องการ มาวางที่ Root ของไดรฟ์
  5. แก้ไข autorun.inf เนื้อหา:
    [autorun]
    icon="filename.ico"
  6. Save (Ctrl+S) → รีบูต

หมายเหตุ: C: drive ต้องทำบน Desktop แล้วย้าย autorun.inf ไป C: และต้องเป็น Admin

วิธีที่ 2: Registry Editor (สำหรับ All Users, รองรับทุกไดรฟ์)

  1. regedit → HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\DriveIcons
  2. ถ้าไม่มี DriveIcons → New Key → ชื่อ DriveIcons
  3. คลิกขวา DriveIcons → New Key → ชื่อ ตัวอักษรไดรฟ์ใหญ่ (เช่น E)
  4. คลิกขวา Subkey (E) → New Key → ชื่อ DefaultIcon
  5. เลือก DefaultIcon → ดับเบิลคลิก (Default) string
  6. Value data: ใส่ Full path ของไฟล์ .ico ในเครื่องหมายคำพูด
    ตัวอย่าง: "C:\Users\Public\Pictures\drive.ico"
  7. OK → รีบูต
  8. ยกเลิก: ลบ Subkey (E) ที่สร้าง

วิธีที่ 3: เปลี่ยน Default Icon ของทุกไดรฟ์ (Shell Icons)

  1. regedit → HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Icons
  2. ถ้าไม่มี Shell Icons → New Key → Shell Icons
  3. New → Expandable String Value → ชื่อ 8
  4. ดับเบิลคลิก → Value: D:\icons\Drive.ico ( путь จริงของไอคอน)
  5. รีบูต

บทความแนะนำ:

  • เปิด/ปิด Write Protection สำหรับ Disk ใน Windows 10
  • วิธีเปลี่ยน Monitor Refresh Rate ใน Windows 10
  • วิธี Fix Scaling for Blurry Apps ใน Windows 10
  • เปิด/ปิด Domain Users Sign in ด้วย Biometrics ใน Windows 10

เรียนรู้ 3 วิธีเปลี่ยน Drive Icon ใน Windows 10 เรียบร้อย หากมีคำถาม ถามได้ในความคิดเห็น