How to set a hard drive to read-only. How to enable read-only mode on an HDD.
Go to "This PC." Right-click the drive that is set to read-only and select "Properties." On the "Security" tab, check the "Read and Write" box in the "Deny" column. Click Apply. Registry Editor HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\StorageDevicePolicies If this "Storage Device Policies" parameter does not exist, you must create it: right-click "Control" to create a key, name it "Storage Device Policies". Double-click the WriteProtect key in the right pane to open its properties. Change the value to 1. Terminal diskpart list disk select disk № (number of the disk to remove read-only) attributes disk set readonlyexit diskpartlist volume select volume (number of the volume) attributes volume set readonlyexit