Do you receivecurrent read-only state yeswhile trying to format or write on a SD card or USB drive?
Usually, you might receive this message on your SD card or USB flash drive.
Once Diskpart showscurrent read-only state: yes, you might fail to add.

Delete or modify any of the files on your storage unit.
Without further ado, lets get started.
This utility alsocurrent read-only state yesallows you to address by removing the read-only attribute.

To do so:
Step 1.
Connect the problematic USB drive or SD card to your gear.
RunCommand Promptas an administrator.

In the command window, inputlist diskand hitEnterto show all the disks connected to your machine.
Now, you’re able to figure out which one is your read-only disk.
Typeselect disk nand hitEnter.
Here, remember to replacenwith the target disk number.
Typeattribute disk clear readonlyand tap onEnterto clear current read-only state.
Once done, typeexitand hitEnterto closeCommand Prompt.
To do so, you could try afree partition managercalled MiniTool Partition Wizard.
Heres how to format your USB flash drive or SD card with it:
Step 1.
Connect the problematic storage gear on your setup.
LaunchMiniTool Partition Wizardto enter its main interface.
MiniTool Partition Wizard FreeClick to Download100%Clean & Safe
Step 3.
In the right pane, opt for disk that showscurrent read only state yes.
Then, chooseFormat Partitionfrom the left-hand pane.
Customize the partition label, file system, and cluster size and then hitOKto continue.
Click onApplyin the lower left corner to make the change effective.
Solution 4: Modify Registry Keys
MiniTool ShadowMaker TrialClick to Download100%Clean & Safe
Step 1.
In the navigation bar, copy and paste the following path and hitEnterto locate theStorageDevicePolicykey:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\StorageDevicePolicies
Step 4.
In the right pane, double-click onwrite Protection> set itsvalue datato0> hitOK.
After the solutions below, your storage equipment will be writable and editable again.
Appreciate your time and support!