[Easily Solved] How to Format a Write-Protected SD Card?

menu_default hide_default

Have you ever tried to format your SD card on your PC only to see its write-protected, which means you can't even access the SD card, can't access your files on the SD card, that can be distressing right? Here's your relief, in this article, I'll teach you easy ways you can remove write protection from your SD card and then format it.

What Does Write Protection Mean?

Write protection (read-only) is the ability of a storage media such as SD card to prevent new data from being written or changed. This means you can read the information contained in the disk, but cannot delete them or copy files, so you can't format the SD when it's write-protected. When this happens, your SD card becomes useless until you remove the write protection from the SD card.

How to Remove Write Protection from SD Card?

One easy way you can remove write protection from your SD card is to make sure the tiny lock switch on the left side of your SD card is slid up. However, sadly, the SD card could still be write-protected even if it’s not locked. In that case, you can use the following ways to remove the write protection.

1Check SD Card Properties

Go to “My Computer”, look for your card reader under “Devices with removable storage”, then right-click it and hit “properties”. There could be an option to remove the write protection, click on the option and try again.

2Using CMD to Clear Read-Only Attributes from SD Card

Generally, Windows comes with CMD tools that allow you to check bad sectors on the target drive or create and delete the partition. You can clear read-only attributes using the following steps:

Click on “Start” and type “cmd” in the search box, right-click and select “Run as administrator” to open, then type the following commands and press “Enter” after each:

  • disk part

  • List disk

  • Select disk

After this, the SD card should open normally.

3Disable Write Protection with Registry Editor

If the CMD does not work and your SD card still displays “write- protected”, you can also disable the write protection using registry editor using the following steps:

Step 1: Press "Windows key +R" to open the run dialogue. Type " Regedit" and click "OK" to open the registry editor.

Step 2: Expand the entries on the left-hand pane to navigate to the following path.

  • Computer\HKEY_LOCAL_MACHINE

  • \SYSTEM\currentcontrolset\control\storagedevicepolicies

Step 3: Right-click "write protection" and modify the value data from 1 to 0. Then click "OK".

disable write protection

How to Format SD Card after Removing Write Protection?

Once you’ve unlocked the write-protected SD card, you can use it properly. If you want to format it, then follow the steps below:

Step 1: Click “Start”, type “Run” in the search bar and hit “Enter”.

Step 2: Now in the run box, type “CMD” and hit "OK."

Step 3: This will open command prompt window, type “diskpart” to run diskpart utility.

Step 4: Next, type “list disk” to locate the drives on your PC.

Step 5: Next, type “disk 1” (where 1 should be the number of your SD card).

Step 6: Next, type “Clean”, this will erase all data on your SD card.

Step 7: Then, you have to create a new partition. Type “create partition primary”.

Step 8: Now type “select partition 1” (where 1 stands for the newly created partition).

Step 9: After this, type "Active" to make the partition active.

Step 10: Finally, type “format fs=ntfs (or format fs=fat32)” to format the partition to the desired file system.

That's it!

Bonus: How to Recover Data from Accidentally Formatted SD Card?

What if you accidentally formatted your SD card? Here's a great software you can use to recover all your data. AnyRecover helps you recover any lost data from any storage device quickly. The best part is, you can use it easily even without any special tech knowledge.

product

1,000,000 + Downloads

Features of iMyFone AnyRecover:        

Recovers from all kinds of storage devices ranging from your external hard drive or your internal disk to even your mobile phone.

Retrieves your lost data no matter how it got lost.

Recovers over 1000 file types including JPEG, mp3/mp4, archives, exe, html and more .

It is very secure; ensures only you can access recovered files plus it recovers files without overwriting original data.

Try It FreeTry It Free

Steps to Recover Data from Formatted SD Card with AnyRecover

STEP 1Launch AnyRecover and choose the "Formatted Disk Recovery" mode.

anyrecover scan formatted disk

STEP 2Choose the hard drive or external drive where your data is missing and hit “Next”.

formatted disk location

STEP 3Select the type of file you want to retrieve and hit the "Scan" button.

select file type formatted disk

STEP 4AnyRecover will begin scanning; if you are unable to find your missing files, you can use the "All-Round Recovery" mode.

formatted disk recovery scan

STEP 5Once the scanning is complete, AnyRecover will display all data based on the file type or folder to which the file belongs. You can filter the files you want and select them to preview. Then hit “Recover” to recover your lost data.

preview and recover

Conclusion

By now, you should be able to access or format the write-protected SD card using the above-stated methods. Moreover, if you've accidentally formatted your SD card, then you can recover all your data using AnyRecover as I mentioned above. So that's it guys, I hope you find this information helpful.

Try It FreeTry It Free

+ View all all the comments and join the discussion

user

By  Alva Doris , to External Device Recovery

Posted on Jul 31, 2019  ( Updated: Oct 16, 2019 )

Related Articles: