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.
Data cannot be written to the data disk because the disk is read-only.
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
diskpartand click OK.
Run the following command to view all disks on your device:
Run the following command to select the data disk:
select disk 1Note
1is 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