How to Fix “Current Read Only State Yes” [4 Ways Included]

Diskpart showing “Current Read-only State : Yes” when format or write on USB flash disk? Refer to this article to get how to fix this issue.

Dervish

By Dervish / Updated on July 4, 2024

Share this: instagram reddit

Key Takeaways:

  • Damaged devices, file system errors, and virus infections can cause your disk to be in the current read-only state.
  • Formatting a read-only device, checking the physical switch, changing registry entries, and using diskpart can all resolve the current read-only state yes.
  • AOMEI Partition Assistant recognizes read-only drives and fixes the read-only status by formatting or checking for disk errors.

What does current read-only state yes mean? If Diskpart displays 'Current Read-only State: Yes' on your USB flash drive or SD card, it means that you cannot write or use files on the device. Follow this page to learn how to change Current Read-Only State from Yes to No and get your drive back to normal.

Why does the question “current read only state yes” appear?

The issue of "flash drive current read only state yes” is usually seen in removable storage devices of many big brands, such as Kingston, SanDisk, Samsung, Transcend and so on. Here is a typical case:

“Hello, I have a new SanDisk USB drive, it worked for the first time. And I tried diskpart to remove write protection from it, but now it’s showing ‘Current Read-only State: Yes’, and I can’t format it or write on it. How should I restore it to normal read and write state? Is there any suggestion? Thanks in advance.” - from SanDisk Forums

 It may be due to the fact that the physical switch has not been slid to the unlocked area, the registry key setting has a problem, etc. And you need to check the physical switch, change the registry key or format a write-protected USB flash drive.

How to fix “current read only state yes”

You may be puzzled about how to fix “current read only state yes”, here we provide you four methods to fix this problem.

▶ Method 1. Check the physical switch

Not all the flash drive or memory card have the lock switch. So, you should have a check at first. Take out your stick, if there is a physical lock switch on the side, then slide the switch to the unlock area.

▶ Method 2. Use a third-party software to restore read-only to normal

Compared with other software, here I highly recommend AOMEI Partition Assistant - A comprehensive and powerful tool that provides you with many powerful functions such as format partition. It can format USB drive to FAT32, NTFS, exFAT, Ext2 or Ext3 file system to enable USB drive compatibility with different operating systems or electronic device, and you can format read-only USB with it.

Free DownloadWin 11/10/8.1/8/7
Secure Download

The specific steps of format partition are as follows:

First of all, connect your USB drive to your computer and make sure it can be detected.

Step 1. Install and run AOMEI Partition Assistant, find out the USB drive and right click it, then select “Format Partition”.

Format FAT32 to exFAT 30GB

Step 2. In the pop-up window, set the file system you need and click “OK” to continue.

Select exFAT File System 30GB

Step 3. After that, it will be back to the main interface, check the pending operation and click “Apply” > “Proceed” to execute it.

Apply Proceed 30GB

▶ Method 3. Open regedit and change the registry key

It’s time to consider whether the value of Windows Registry key is right when you found no switch at all on the flash disk. If not, you can edit the Windows Registry key to disable write protection.

1. Connect the USB flash drive to your Windows computer and make sure it can be detected.

2. Press “Windows+R” to open the Run box, type “regedit” and press “Enter” key.

3. Go to the path given below:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\StorageDevicePolicies

Click the write Protection icon, and set the Value data to 0. Then, click “OK” to disable read only for your USB drive.

Change Value Data Registry Editor

▶ Method 4. Clear read only on USB drive via Diskpart

If the current read only state yes problem still exits, you can check the properties of the USB drive via Diskpart to fix disk is write-protected issue.

1. Open the Run box.

2. Input “diskpart” and hit Enter key.

3. Type the following command and hit Enter after each command.

● list disk
● select disk n
● attributes disk

Attributes Disk

If you find the “Read-only: Yes”, type “attributes disk clear readonly” command and hit “Enter” to clear read only on USB drive.

If the read-only status still cannot be restored to normal status through the  methods, then you can use a third-party software to fix this issue. AOMEI Partition Assistant can Format and reset the device to NTFS (for external, internal hard drives), FAT32 or exFAT (for USB, SD cards).

Free DownloadWin 11/10/8.1/8/7
Secure Download

Conclusion

Follow these simple steps, you can fix "current read only state yes" issue and restore your USB drive from read only status to normal status easily and effectively. AOMEI Partition Assistant is such a powerful partition software, you can use it to format USB partition quickly.

Besides format partition, it also provides you many other powerful functions such as delete/create/move partition, convert data between MBR and GPT partition styles, repair MBR and so on. If you want to migrate OS to SSD or change partition type ID, please feel free to try.

Dervish
Dervish · Staff Editor
Dervish is an English editor of AOMEI Technology; He is delicated to offering users easy and effecitve solutions for issuses related to disks and partitoins. In his spare time, he enjoy wathcning films, playing footable, traveling and so on.