在HKEY_LOCAL_MACHINE\System\ CurrentControlSet\Control \StorageDevicePolicies 下面新建WriteProtect,然后类型为DWORD,值为1