Almost all of our valuable photos, favorite musics are stored on our smart devices external memory card. Occasionally sometime Android gives memory card corrupted, need to format. Apart from that, sometimes when we incest this card to a Windows computer, it shows “Memory Card write Protected” or “Microsd card write protected” error and couldn’t format it. At that time there’s no possibility to copy the MicroSD card files to another device. Most of the cases it happens file system errors on the memory chip.
There’re several ways to fix write protected error. In this post, I’m going to use the Windows operating system to solve this issue. In order to follow this guide, you have to login to your PC using an Administrator account. In this post I’m using the Windows 10 (Pro) OS.
First, make sure that you’re not manually trigger SD card write protected state.
Disable Write Protected policy on Windows.
- Open the “Run” command window. In Windows 10, right click on the “Windows” icon and choose “Run”.
- Type “regedit” without quotes.
- When the Windows registry editor open, you can see a list of folders. Navigate to the following entry by double click on that visible folder icon. “HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control“
- Search if there’s “Storage Device Policies” registry key. If you can’t find a such key, we have to create a new key. Right click on “Control” registry key and navigate to “New>Key”.
- Rename the newly created key as “Storage Device Policies” without quotes.
- Now right click on the right side panel and choose “New>DWORD Value”.
- Rename it has “write protect” without quotes.
- Double click on that write protect keys and change its value to “0”.
Fix MicroSD card write Protected.
- Connect your microSD card to your computer using a adapter. Make sure that adapter not activated write protect switch. Most of the adapters write protection activate by pulling that switch all the way to down.
- Type the start menu “cmd” without quotes and right click on it and choose “run as Administrator” or right click on start menu and choose “Command Prompt (Admin)”.
- Type following command line and hit the enter key.
run “DISKPART” command.
- Right after that, type following command.
- If you have one a one hard disk and a one USB storage device (MicroSD) then it shows your disks as bellow.
- Identify your disk. In this situation my memory card listed as disk 1. Then “select disk 1” command.
- After that, run “attributes disk clear read” command without quotes.
attributes disk clear read
- Next, eject the USB adapter and reconnect.
Check the disk errors.
Next we have to check if there’s any errors in the micro SD card. Open the command prompt like you opened in above step.
- First, identify the driver letter assigned to your micro SD card. You can view it by opening Windows “File Explorer”. In my situation, you can see that it’s assigned letter “G”.
- Type the following command line and hit the enter key. If your computer assigned a different driver letter for your memory card, then replace that letter with the following command line “G“.
chkdsk /f /r G:
- Now it starts the error checking and if it found, it will automatically fix. This will take a couple of minutes.