Summary
Steps to clear the read-only mode from Windows* Command Prompt using Diskpart
Description
The SMART attributes show that the drive is in read-only mode.
Resolution
| Note | When a drive enters into a read-only mode, it may also be possible that the drive entered into a pre-fail condition. The steps below are presented as an approach to recover the drive from the read-only mode, but we also recommend that you check the SMART attributes of the SSD to discard any pre-fail condition. Learn how to get the SMART attributes. |
When a drive enters into read-only mode it might be possible to remove the write protection from the SSD using Diskpart. Follow the steps below:
- Open Command Prompt as Administrator.
- Run the command diskpart
- You'll enter into the Diskpart environment.
- Run the command list disk
- This command will list all the storage drives currently connected and recognized in your system.
- Run the command select disk <index_number>
- Use the index number associated to the drive. For example select disk 2
- Run the command attributes disk clear readonly to clear the read-only status.
