All Products
Search
Document Center

:Error message "The disk is write-protected. Remove the write-protection or use another disk" displayed for a disk in Windows

Last Updated:May 26, 2023

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:

  1. On the Start menu, click Run. In the Run dialog box, enter diskpart and click OK.

  2. Run the following command to view all disks on your device:

    list disk
  3. Run the following command to select the data disk:

    select disk 1
    Note

    1 is the number of a disk. Replace 1 with the actual number of the data disk.

  4. Run the following command to clear the read-only attribute of the data disk:

    att disk clear readonly