注册表创造如下主键,0不保护可以写,1写保护仅可读

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\StorageDevicePolicies]  
"WriteProtect"=dword:00000000