คุณเคยเจอ Pen drive หรือ USB drive ถูกบล็อกที่ทำงาน, โรงเรียน, มหาวิทยาลัยบ่อยแค่ไหน? เชื่อว่าเยอะมาก จริงๆ คุณไม่ได้รับอนุญาตทุกครั้งที่ลองใช้ USB drive เพราะ administrator ปิดการตรวจจับ USB drive บน Windows 11/10/8/7 อีกด้านหนึ่ง ข้อมูลของคุณเคยถูกขโมยเพราะใครต่อ USB ไม่ได้อนุญาตคัดลอกไฟล์ไปไหม? ไม่ต้องกังวล เพราะวิธี disable/enable USB Ports ง่ายมาก

จำกัดการเข้าถึง USB drives ใน Windows
มีหลายวิธีที่ administrator ป้องกันการใช้ USB Drives:
- เปลี่ยนค่า Registry สำหรับ USB Mass Storage Devices
- ปิด USB Ports จาก Device Manager
- Uninstall USB Mass Storage Drivers
- ใช้ Command-line
- ใช้ third-party freeware
- ใช้ Microsoft Fix It
มาแก้ปัญหาและเปิด USB บน Windows PC
1. เปิด/ปิด USB Drives & Mass Storage Devices ด้วย Registry

ถ้า administrator เก่ง จะทำอย่างนี้เพื่อ blockade แน่น แก้ Registry ผ่านคำสั่ง regedit บน Run console ตอนนี้คุณ unlock ยังไง? ต้องไปที่ administrator ไปแล้ว วิธี:
- ไป Start > Run พิมพ์ "regedit" กด enter เปิด registry editor
- ไปที่คีย์:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\USBSTOR
ใน fruitคด้านขวา เลือก Start เปลี่ยนค่าเป็น 3 (ค่า 4 จะปิด USB Storage) คลิก OK จะเปิด USB Ports ใหม่ ใช้ USB/Pen drives ได้
2. ปิด USB Ports จาก Device Manager

ถ้ายังไม่เจอ USB drive ใช้งาน ต้องดู Device Manager Administrator อาจปิด USB port ไว้ที่นี่ เช็คใน Device Manager เปิด port ที่ปิดโดยคลิกขวา เลือก Enable หรือ Disable ตามต้องการ
อ่าน: วิธีเช็ค Power Output ของ USB Port บน Windows 11/10
3. Uninstall USB Mass Storage Drivers
ถ้าหน่วยงานกังวลความปลอดภัยมาก จะ uninstall USB Mass Storage Drivers แก้: ติดตั้ง device drivers กลับ วิธี:
ตอนเสียบ USB drive Windows จะเช็ค drivers ถ้าไม่เจอ จะ prompt ให้ติดตั้ง driver จะปลดล็อก Pen drive ที่โรงเรียน/ที่ทำงานแน่นอน
4. ใช้ Command line
เพื่อเปิด/ปิด CD/DVD ROM Drives เปิด elevated command prompt พิมพ์ กด Enter:
reg add HKLM\System\CurrentControlSet\Services\cdrom /t REG_DWORD /v "Start" /d 4 /f
จะได้ข้อความ The operation completed successfully จะปิด DVD CD Drive
เพื่อเปิด ใช้:
reg add HKLM\System\CurrentControlSet\Services\cdrom /t REG_DWORD /v "Start" /d 1 /f
รีสตาร์ท Windows PC
5. ใช้ USB Drive Disabler/Enabler

ดาวน์โหลดและใช้ tool ฟรี USB Drive Disabler/Enabler จะเปิด/ปิด USB drives บน Windows ได้ง่าย www.intelliadmin.com ดาวน์โหลด
6. ป้องกันผู้ใช้ต่อ USB
ถ้า USB storage device ติดตั้งอยู่แล้ว แก้ Windows Registry ให้ USB ไม่ทำงานตอนต่อ PC ด้วย Microsoft Fixit 50061 [Microsoft ลบไปแล้ว] เช็คก่อนว่าใช้กับ Windows version ได้ไหม
วิธีอนุญาตเฉพาะ USB devices เฉพาะตัวใน Windows?
ทำได้ผ่าน group policy: Computer Configuration > Administrative Templates > System > Device Installation > Device Installation Restrictions > Allow Installation of devices that match any of these Device IDs ต้องใส่ device ID ของ USB ที่ได้จาก Device Manager > Properties > Details tab > Device Instance Path
วิธี Disable USB Ports?
ทำได้ 2 ทาง: จาก UEFI/BIOS ของเมนบอร์ด หรือปิด USB driver ด้วย Group Policy หรือ Software จำวิธี rollback ไว้เผื่อใช้ด่วน วิธี Group Policy/Software ทำงานตอนอยู่ใน OS แต่วิธีเมนบอร์ดทำงานตั้งแต่ boot
แจ้งมาได้ถ้ามีคำถามหรือข้อสังเกต
