From there right click and create a new key and name it “StorageDevicePolicies”. In the window on the right then create a new DWORD value and label it WriteProtect, give it a value of “1” and users can no longer write to USB drives. To re-enable this option change the value to 0 and users are again allowed to write.