Fix Memory Card Locked Error Without Losing Data

Abby Haines updated on Sep 17, 2019 to Resource | How-to Articles


When there is a memory card locked error on your camera or Android phone, you won't 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.

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 Tool 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: DOWDLOAD and install EaseUS Tool M for free.

Step 2: Run EaseUS Tool M on your PC, choose "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:

Usually, deleted or formatted data is not permanently removed. Stop using the memory card once you lost data on it. With powerful memory card recovery software, you can hopefully get lost data back.

Step 1. Run memory card recovery software

  • Connect the memory card on which you lost your files to your computer and launch EaseUS card recovery software - Data Recovery Wizard on your PC.
  • Select your memory card under External Devices and click "Scan" to start finding your lost files.
Select memory card to scan and find lost files.

Step 2. Scan to find all lost files from memory card

EaseUS Data Recovery Wizard will fully scan your memory card and find all your lost data on it.

Scan memory card to find lost files.

Step 3. Scan to find all lost files from your memory card.

After the scanning process, you can check and preview found files in this program.

  • Underneath Deleted Files, you can find your deleted memory card files there.
  • And if you formatted the memory card, you can check those files under Lost Partition Files.
  • And Filter will help you quickly find your lost files from Graphics, Documents, Videos, Audio, and Email, etc.

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

Restore lost memory card data.

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.


100% of people found this article 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 to better 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.