Ⅰ 如何禁止U盤使用,修改注冊表禁止讀取U盤
運行regedit打注冊表編輯器 HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Control新建鍵名 StorageDevicePolicies項StorageDevicePolicies項右邊窗口右擊滑鼠彈菜單選擇新建- >DWORD值建名WriteProtectDWORD值該健值修改1重啟計算機即效( WriteProtect值改0即恢復U盤寫入功能)
面段代碼保存.reg文件雙擊導入注冊表即禁止U盤寫入功能
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Control/StorageDevicePolicies]
WriteProtect=dword:00000001