Problem description
After you reset and start a Windows operating system, data cannot be written to a data disk and the following error message appears:
The disk is write-protected. Remove the write-protection or use another disk.
Cause
Data cannot be written to the data disk because the disk is read-only.
Solution
Perform the following steps to clear the read-only attribute for the data disk:
On the Start menu, click Run. In the Run dialog box, enter
diskpart
and click OK.Run the following command to view all disks on your device:
list disk
Run the following command to select the data disk:
select disk 1
Note1
is the number of a disk. Replace 1 with the actual number of the data disk.Run the following command to clear the read-only attribute of the data disk:
att disk clear readonly