How can I format a SD card that is write protected?
Without removing this write protection, you often cannot do anything to this card. Why? Let’s firstly know what write protection is. Write-protection, as its name implies, is a sort of card feature that always can help protect your SD card data away from any unexpected change (including copying, pasting, deleting and eve modifying, etc, without your permission). That’s why you cannot format this SD card as you’ve mentioned above. So, in order to re-access card data and also fix RAW file system problem, you are always supposed to remove the “write-protection” firstly.
There are three common ways to remove write protection
1. Move Your SD card switch
In order to let customers open and close the write protection freely, many SD card manufactures have designed a special switch that often locates on the one side of this SD card. So, simply move the SD card switch up or down to control it
as you wish.
2. Remove write-protection in System Registry
1). Click Start > type “regedit” and open “Registry Editor”.
2). Now follow the below path after opening registry editor :-
3). Now you will see “Write Protection” option. Double click on that and set the value data to ‘0’.
After setting the value data to ‘0’ again try copying or formatting your sd card. After performing the above step you are still not able to format your sd card then continue to next step.
4. Use Diskpart Utility
1).Open Command Prompt and type diskpart and press Enter key.
2). After opening diskpart type “list disk” and again press Enter button.
3). Now type “select disk 1” to select your sd card and press Enter key again.
4). To remove write protection from sd card type “attributes disk clear readonly” and hit Enter.
More info:Format SD Card with or without Write Protection