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

ป้องกันการติดตั้งโปรแกรมจาก Removable Media (CD/DVD/USB) ใน Windows 11/10

ป้องกันไม่ให้ติดตั้งโปรแกรมจากสื่อนำออกได้ (Removable Media) เช่น CD-ROM, DVD, USB เพื่อความปลอดภัย หากพยายามติดตั้ง จะแสดงข้อความว่าไม่พบฟีเจอร์

2 วิธีการตั้งค่า

1. Local Group Policy Editor (gpedit.msc) - สำหรับ Pro/Enterprise/Education

  1. Win + R → gpedit.msc
  2. ไปที่: User Configuration\Administrative Templates\Windows Components\Windows Installer
  3. หา Prevent removable media source for any installation → Double-click → Enabled → OK → Reboot

2. Registry Editor (regedit) - ใช้ได้ทุก Edition

  1. Win + R → regedit
  2. ไปที่: HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\Installer
  3. สร้าง DWORD (32-bit) ชื่อ DisableMedia → Value = 1
  4. OK → Reboot

ทั้งสองวิธีทำงานเหมือนกัน เลือกวิธีที่สะดวก