SD Memory Card Locked | How to Unlock SD Card

Home > HowTos > Troubleshooting Tips Updated by Nancy on Dec 2, 2024 | Approved by Christian Cawley

Are you stuck with the dreaded "Memory Card Locked" message on your camera after you've captured that perfect moment? Don't worry; unlocking your SD card is easier than you think, whether you're using Windows, Mac, or Android. This guide will walk you through the process step by step, ensuring you can easily regain access to your data.

Table of contents
Part 1. What Does "SD Memory Card Locked" Mean?
Part 2. Common Causes of SD, CF, XQD, MMC, xD-Picture, or SDHC Card Lock
Part 3. Initial Troubleshooting
Part 4. How to Unlock SD Card in Windows 10/11
Part 5. How to Unlock Memory Card on Mac
Part 6. How to Unlock an SD Card on Android
Part 7. How to Recover Data From a Locked SD Card
Part 8. Tips for Regular Memory Card Maintenance
Part 9. Conclusion
Part 10. FAQs

What Does "SD Memory Card Locked" Mean?

The write protection feature will be activated when your SD card is locked. This safeguard protects your data from unwanted changes but can cause issues when adding, modifying, or deleting files.

Common Causes of SD, CF, XQD, MMC, xD-Picture, or SDHC Card Lock

Many reasons can cause this error; the following are common ones:

These are common errors; many more BSoD error codes exist. Diagnosing the specific reason behind each error is crucial to resolve it effectively.

Initial Troubleshooting

Before we start unlocking the SD card on Windows, Mac, or Android, you can do a preliminary check. The problem may be solved!

  1. Reconnect Your Memory Card

    This is the same as fixing other issues, like the SD card not showing up. Unplug it and reconnect it to your device. Maybe it's a bad connection.

  2. View Camera Settings

    Some cameras can lock or unlock the SD card within their settings menu. This option may have been changed when you accidentally touched it. In this case, you can view the settings and check its status.

  3. Check the Physical Lock Switch

    Is your memory card locked? This problem can occur if it has a physical write-protect switch and you accidentally change the slider's position (towards the word "LOCK"). So, you can remove your card from the device and check its status. It is usually located on the side.

  4. Running Anti-Virus Scans

    Viruses and malware can also lock your memory card. Running a thorough scan with a reliable anti-virus program tries to detect and remove them, potentially resolving the lock issue.

When basic troubleshooting does not solve the problem, you can view more solutions based on your system.

How to Unlock SD Card in Windows 10/11

Although it can be frustrating to encounter a locked SD card, especially when you need it urgently, there are ways to remove this restriction from your Windows PC. Let's check them out together!

Way 1. Check the permissions of the memory card

If your card triggers a "locked" warning when you try to open or write data, it's likely due to losing read and write permissions. Here's how to fix it:

For the SD Card with FAT32 file system:

  1. Use the reader to connect it to the computer.
  2. Open File Explorer and look for your SD card under "This PC" or "Computer."
  3. Right-click and select the "Properties."
  4. Go to "Sharing > Advanced Sharing."

  5. Check "Share the folder" and click "Permissions."
  6. Check "Full Control" in the open window and click OK.

For the NTFS file system:

  1. Go to the "Security" tab after right-clicking and choose "Property."
  2. Under "Group or user names," select the current account.
  3. Check if "Full Control" is checked under Permissions. If not, check "Edit" to select it.

Way 2. Use Diskart Commands

This should be the most effective solution in Windows. Here are the detailed steps for memory card unlock:

  1. Click the Windows key and type CMD.
  2. Find the command prompt and click "Run as administrator."
  3. The following commands are to fix the SDHC card lock problem.

    diskpart
    list disk
    select disk [your card number]
    attributes disk clear readonly

Tip: You can also enter "chkdsk #: /f/r/x" (# is the drive letter of the locked memory) to fix the write protection problems caused by logical errors.

Way 3. From Registry Editor

This is an advanced method for solving the "SD card is locked." Please be careful during this process to avoid other problems.

  1. Click the Start icon and type "registry editor" in the search box.
  2. Once you find it, click "Open" to run it.
  3. Navigate to "HKEY_LOCAL_MACHINE > SYSTEM > CurrentControlSet > Control > StorageDevicePolicies."
  4. Double-click "Write Protection" and change its value to "0," then click "OK."

  5. Restart the PC and check if the memory card is unlocked.

Tip: If you don't find "StorageDevicePolicies," follow these steps:

  1. Click "Control" in step 3 and right-click it.
  2. Select "New > Key" and name it "StorageDevicePolicies."
  3. Right-click "StorageDevicePolicies" and select "New > Select DWORD (32-bit) Value."
  4. Name it as "write Protection" and double-click it to fix its value to "0."

Way 4. Cancel "Read-only" Option

If some folders or files in your SD card are locked, here are the solutions:

  1. Open your memory card and find the problematic project.
  2. Right-click it and uncheck "Read-only" in the "Attributes."

Way 5. Formatting a locked SD card

This is the last resort in Windows. Although this method of memory card unlock is useful, it erases all its data. Therefore, if you don't have a backup, use the following method to recover the files on it.

  1. Find your memory card in File Explorer.
  2. Right-click and select "Format."

  3. Select the file system and click OK.

Tip: Here are more ways to format an SD card for your reference.

How to Unlock Memory Card on Mac

For Mac users, the process is just as simple, but there are fewer methods available than for Windows.

Way 1. From Disk Utility

It is a versatile tool that can not only manage your storage devices but also troubleshoot them.

  1. Insert the SD card locked into your Mac's card reader.
  2. Open "Disk Utility," which you can find in the Applications > Utilities folder.
  3. Select your card from the list on the left-hand side.
  4. Click on the "First Aid" button to repair this issue.

Tip: This method also works for SD Card Not Showing Up on Mac.

Way 2. Try Terminal Commands

It is similar to Windows's Command Prompt and can help you unlock SD card on Mac.

  1. Open Terminal, which is also located in the Utilities folder.
  2. Type "sudo chflags -R nouchg /Volumes/[Your SD Card Name]."

Way 3. Check Permissions

No written permission is also one of the reasons for "SD memory card locked." Here are the steps to check the status:

  1. Find your SD card icon on the desktop.
  2. Right-click and select "Get Info."
  3. Click the "lock" icon at the bottom right of the page and enter your computer login password.
  4. Click "Read-only" behind "Everyone" and switch to "Read & Write."

Way 4. Erase Your Memory Card

If the above methods to unlock the SD card in a MacBook, iMac, or other Apple device fail, initializing it is your last resort. If there are important data in it, you can still use the following free Mac recovery software to save them.

  1. Open Disk Utility.
  2. Select the locked card and click "Erase" at the top menu.

  3. Click "Erase" again in the opening dialog box to start the process.

How to Unlock an SD Card on Android

Dealing with the SD memory card locked without a computer can be challenging, but it's possible. Here are some solutions to try:

Way 1. Use the "Decrypt SD card" Option

This is the commonly used micro SD card locked how to unlock method on Android devices. Here are the steps:

  1. Open the "Settings."
  2. Select "Lock Screen and Security" and scroll down to find "Decrypt SD card."

  3. Tap it and follow the on-screen instructions to initiate the decryption process.

Way 2. Format the Card

If the above methods don't work and you prefer not to unlock the write protection on the SD card using your computer, this Option is your last resort. Be aware that it will erase all data on the card.

  1. Open your device's Settings menu and navigate to the Storage or Storage & USB section.
  2. Tap on the SD card option to view details and settings.
  3. You should see an option to format the SD card within the SD card settings. It may be labeled "Format" or "Erase." Tap on this Option.
  4. A warning message will likely appear informing you that formatting will erase all data on the SD card. Confirm the action to proceed with this process.

How to Recover Data From a Locked SD Card

Conventional unlocking methods may be unavailable when your memory card faces serious logical errors. Will this result in losing all your data? Not necessarily. Although you cannot transfer the files to a safe location, professional software can do it. Here are the detailed steps:

For Windows and Mac:

In this guide, we'll use iBeesoft Data Recovery as an example to show you how to recover data from a locked SD card. Thanks to its advanced AI algorithm, it still works even if your device is experiencing serious errors.

  1. Connect the locked memory card to the computer.
  2. Download the corresponding version according to your system and install it.

    Download for Windows Download for macOS
  3. After launching the program, select your card and click "Scan."

  4. Select the necessary data and click "Recover" to copy them to your computer.

For Android:

Here, you can use a free tool, Aiseesoft Android Data Recovery, which supports almost all file types and is worth trying.

  1. Download and install this tool for SD card recovery online.
  2. Connect the phone to your computer by a USB cable.
  3. Follow the instructions to authorize before scanning.
  4. Choose the data types you need to save and click "Next."
  5. After completing the scan, select them and click "Recover."

Tips for Regular Memory Card Maintenance

Properly maintaining your SD card can help ensure its reliability, extend lifespan, and avoid problems like lockups. Here are some tips:

Conclusion

Unlocking an SD card on Windows, Mac, or Android is manageable with the proper knowledge and tools. Following the steps outlined in this guide, you can overcome common issues and regain access to your data. Understanding the lock mechanism, identifying problems, and applying the appropriate solutions ensures a smooth and efficient process.

Remember, prevention is key. By taking preventive measures, you can significantly reduce the risk of encountering lock issues and prolong the life of your SD card

FAQs