How to lock USB

2010-08-25

CMD -> Regedit

Disable "New Hardware Detected" :

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\USBSTOR
Modify [Start] DWORD value to "4" (16bits), Enable is "3"
※Note:It only shows up after you inserted USB once.



Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\USBSTOR]
"Start"=dword:00000004


USB Enable "Read", Disable "Write":

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control
Find the Key "StorageDevicePolicies", if not, create one
Create a value of REG_DWORD : "WriteProtect"
Set Value = "1"
※Note: if you want to READ/WRITE, set value ="0"



Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\StorageDevicePolicies]
"WriteProtect"=dword:00000001
Newer Older