|
以前收藏的,导入后我的电脑右键有设置U盘只读/可写选项;
不带开关的U盘也可防止写入;
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\设置U盘-可写]
[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\设置U盘-可写\command]
@="REG ADD HKLM\\SYSTEM\\CurrentControlSet\\Control\\StorageDevicePolicies /f /v WriteProtect /t REG_DWORD /d 0"
[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\设置U盘-只读]
[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\设置U盘-只读\command]
@="REG ADD HKLM\\SYSTEM\\CurrentControlSet\\Control\\StorageDevicePolicies /f /v WriteProtect /t REG_DWORD /d 1"
关键是插U盘前如何弄进去; |
|