Fix Memory Card Locked Error Without Losing Data

Roxanne updated on Oct 13, 2020 to Data Recovery Resouce | How-to Articles

When there is a memory card locked error on your camera or Android phone, you will not be able to add new files to your device or edit or delete the files stored on your SD card. To fix the error of memory card locked, you can unlock your memory card in three ways. If there is data loss after removing the sd card locked error, you can use EaseUS Data Recovery Wizard to recover your files.

When your memory card gets locked, don't worry. Follow one fo the provided methods here to unlock your memory card without losing any data:

Workable Solutions Step-by-step Troubleshooting
Fix 1. Switch Card Lock If the memory card has a plastic slider switch, switch if from "OFF" to "ON"...Full steps
Fix 2. Unlock with Password On Android Phone, go to "Settings" > "Security & privacy" > ""More settings" > "Unlock SD card"...Full steps
Fix 3. Remove Write Protection Use attributes disk clear readonly command or EaseUS M Tool to remove the write protection...Full steps
Fix 4. Format Memory Card Connect SD card to PC > Use File Explorer or Disk Management to format the card...Full steps
Bonus Tip. Recover Data If you lost data, run EaseUS Data Recovery Wizard > Scan and recover lost SD data...Full steps

Memory Card Locked

"Recently, I have some problems with my camera card. Every time when I am trying to take pictures using my Sony camera, it shows me "Memory card locked" error message. So how do I unlock a locked memory card without formatting or losing my data?"

memory card locked error

Memory cards, including SD cards, Micro SD cards, CF cards, and more, are commonly used in digital cameras and Android phones. Like memory card not showing files on mobile, "memory card locked" error also occurs quite frequently. If your memory card is locked or write-protected, you will get the error you cannot add new files to the device or edit the existing files on it, which is not wanted by most of the users. To make sure you can use your SD card as usual, you need to unlock the memory card to remove the "memory card locked" or "SD card locked" error.

4 Fixes for "Memory card locked" Error

Depending on your specific situation, you will need different ways to unlock the SD card. 

Method 1. Remove "Memory card locked" Error via Lock Switch

Usually, SD memory card, SDHC memory card, SDXC memory card or Eye-Fi cards have a small plastic slider switch on the left side of the card which is used to unlock or unlock the device, serving to prevent the writing or erasing of the files stored in the card.  In the 'up' position the card is unlocked, writable, and can be erased. In the 'down' position the memory card is 'locked' and then your camera or Android phone will show you the "Memory card locked" error. 

Turning off locking slide switch to fix memory card locked error

So, when you get "Memory card locked" error message, check your SD card and make sure that you didn't accidentally place the tiny locking slide switch on the side of your SD card in the "locked" downward position. It is the first and easiest step to unlock memory card.

If the switch is missing or broken, you can use a toothpick or something similar to carefully toggle the switch to unlock your SD card.

Method 2. Unlock SD Card with Password

If you have locked your SD card on your Android phone, you need to remove the error "SD card locked" on your mobile using the password you set.

Step 1. Open "Settings" on your Android phone.

Step 2. Go to "Security & privacy" > "More settings".

Step 3. Choose "Unlock SD card" and enter your password when needed.

Method 3. Remove Write Protection on the SD Card

Write protection on the SD card may also cause "SD card locked" error on your digital camera or mobile phone. Thus, removing write protection could be helpful in some cases. Here you can remove the "read-only" attribute using diskpart on computer.

Step 1. Connect your memory card into your computer via a card reader and run "Command Prompt" as an administrator.

Step 2. Enter diskpart and click "Yes" in the prompt asking for notification.

Step 3. Enter the following command in order:

Click to copy

If you are not professional in computing management and not familiar with command lines, don't worry. EaseUS R&D team has promoted a fresh kit for helping you resolve the write-protection issue on your hard drive, external hard drive, USB or SD card, etc., devices.

EaseUS Tools M is a practical computer fixing tool that is safe and light-weighted. It's a perfect alternative to the command line. 

Use this one-click tool to solve the write-protection issues on your own:

Step 1: DOWNLOAD and install EaseUS Tools M for free.

Step 2: Run EaseUS Tools M on your PC, choose the "Write Protection" mode.

Step 3: Select the device which is now "Write-Protected" and click "Disable" to remove the protection.

Remove Write Protection from storage devices.

There is more than one way to remove write protection on an SD card. For other ways, you can refer to the article about how to fix the error "Windows cannot run disk checking on this volume because it is write protected".

Method 4. Format the Memory Card

If you don't remember the password you set when lock your SD card or the tips above fail to fix "memory card locked" error on your storage device, you can only force unlock your memory card by formatting, which will erase all the existing files on your device. Besides, data erased by force unlocking your SD card is difficult to recover.

How to Recover Lost Files from Locked Memory Card

If you have successfully removed the error "memory card locked" but find there is data loss on your device, you can use the hard drive recovery software - EaseUS Data Recovery Wizard to recover the lost data. Besides, although retrieving the data erased by force unlocking the device is hard to get back, you can also try the software to scan for lost files.

To perform SD card data recovery:

Step 1. Select the memory card and scan

Connect the memory card to your computer and launch EaseUS card recovery software on your PC. Click "Scan" to start looking for your lost data.

select a location and click scan

Step 2. Wait for the scanning process to finish.

After the scanning process, you can check and filter wanted files in this program. Click "Filter" if you are looking for a specific file type.

select the memeory card files

Step 3. Recover wanted files.

You can directly double-click the files to preview and see if the files are all right. After this, you can choose wanted files and click "Recover" to restore them to a secure location on your PC or other external storage devices.

recover memeory card files

The Bottom Line

To fix a problem like "SD card locked" is always companied with data loss if you forget the password or the switch isn't working. This should remind you of backing up data regularly. You can do back up your SD card by manually copying files to somewhere else, using free backup software or sync the files to the cloud storage. No matter which way you choose, taking action is the most important.

Was This Page Helpful?


Frequently Asked Questions

1. Why choose EaseUS Data Recovery Wizard?

"EaseUS Data Recovery Wizard is the best we've seen. It's far from perfect, partly because today's advanced disk technology makes data-recovery more difficult than it was with the simpler technology of the past, but it's fast and efficient..."PCMag

"The first thing you'll notice about EaseUS Data Recovery Wizard Pro is that its interface is very clear and uncluttered, with only a small collection of self-explanatory controls. You won't find lots of extra options hidden in a system of hidden menus, either; what you see really is what you get."techradar

"Recover lost files, even after deleting a partition or formatting your drive."Macworld

2. Why cannot I recover 2GB data for free?

It is recommended to check the version installed is Free or Trial because they are different versions.

Trial has data preview function but cannot save any files, while the Free version enables to recover 2 GB files. The default free space is 500 MB and you may share the product on social media to get another 1.5 GB.

3. Why cannot the recovered files be opened?

A file is saved as 2 parts on the storage device: directory info (which is comprised by file name, time stamp and size info, etc.) and data content.

If the files with original file names and folder structures cannot be opened, one possible reason is the corrupted directory info. There is still a chance to recover the data content with the RAW Recovery method in our software.

4. Why isn't it suggested to recover the files back to the original drive?

The storage structure of the lost files would be altered or damaged by any changes on the drive. If you save the recovered files back to the same drive, the original data structures and data content would be corrupted or overwritten, which causes permanent data loss. So you should prepare another disk to save the files.

5. How can I check whether my data is recoverable or not before purchase?

The Free version helps you save 2GB files, so verify the recovery quality of our product before purchase.

6. How long does it take to scan the drive?

It strongly depends on the capacity of your hard drive and the performance of your computer. As reference,most drive recoveries can be completed in around 10 to 12 hours for a 1-TB healthy hard drive in general conditions.

About Data Recovery Wizard

It's super easy to recover 250+ types of files after deletion, disk formatting and virus infection. Click the links and compare the difference of each version.