How to Unlock an SD Card and Use It Again (3 Proven Methods)

9264

how to unlock an sd card

Trying to add or remove something from your SD card, but keep getting an error message stating that your access is denied? This is likely because the card is currently write-protected. Until this write protection is removed, you won’t be able to make changes to the data on the SD card.

Unlocking an SD card is very easy. In this article, we’ll discuss what a locked SD card is, why SD cards have this feature, and how to unlock an SD card.

What Happens When You Lock an SD Card?

What does the lock do on an SD card exactly? The purpose of an SD card’s lock is to protect anything from being written to or deleted from the SD card. When an SD card is locked, you only have read-only access to that card. Therefore, you will only be able to view the files on the card, not modify them.

To clarify, when an SD card is locked and you try to save a file to it, you’ll be met with a message that indicates the SD card is locked and nothing can be written to it to protect the contents on that card from accidental deletion or overwriting.

access denied to sd card

How to Tell If SD Card Is Locked

In most cases, you can easily tell that an SD card is locked or unlocked if you have it in your hand. On the left side of it, there is typically a small lock switch that’s used to determine the SD card lock position. If it’s switched down, that means it is locked. Sliding it upward will unlock the card and give you write access.

However, it’s not always that simple. Perhaps the lock switch has broken, or, for some reason, you can’t physically access the card because it’s stuck in a device. This can be a little bit trickier, but you can typically determine whether the card is locked by trying to modify a file on the card.

For instance, if it’s in a camera, try to take a photo and see if it saves. If it does, try to delete it. If you were able to, chances are the SD card is probably unlocked. If you weren’t, it’s locked. There’s also the possibility that the read-only attribute appears on the card by itself. In this case, it could indicate damage or wear to the card, causing some data to disappear. In this case, before removing read-only access from the card, you should recover the lost files in the next section.

Recover Lost Files From a Locked SD Card

If you’ve experienced data loss, you need to recover the files from that card before performing any other actions. At this point, implementing any of the fixes presented in this article puts your data at risk of being overwritten. Once overwritten, the data is unrecoverable.

We highly recommend creating a byte-to-byte backup and recovering your files from that, rather than the SD card itself. Since write-protection can come about from a memory card issue, scanning and recovering data from the byte-level backup is safer in the event the memory card crashes.

For SD card data recovery, we prefer to use Disk Drill. It supports all major file systems used by Windows, macOS, and Linux, and gives you a better chance of recovering more since it utilizes several scanning methods.

This is how to recover data from an SD card, locked or unlocked:

  1. Download, install, and open Disk Drill.
  2. Connect your SD card, then select it from the list of devices. If you are scanning a disk image, attach it using the Attach disk image option, then select it. Click Search for lost data.Scanning the SD card.
  3. Choose a scan type. Universal Scan will search for all files, whereas Advanced Camera Recovery is ideal for finding unedited videos from cameras and drones.Choosing a scan type.
  4. Click Review found items, to see what Disk Drill found on the SD card.Reviewing the SD card files.
  5. Preview and select your files. Use the filter options to refine the results, or use the search box to find specific files. When ready, click Recover.Recovering the SD card files.
  6. Choose a separate physical storage device to save the files to. Then, click Next to complete recovery.Finishing SD card recovery.

Once the data is recovered, you can unlock the SD card within Disk Drill. Right-click on your SD card, then click Remount volume in read/write mode.

3 Methods for Unlocking an SD Card

There are multiple ways you can unlock a locked SD card. These methods allow you to unlock a SanDisk memory card, and any other brand, including PNY, Lexar, and Samsung cards. Use the methods below to understand how to unlock an SD card. The methods below will cover both physical and software-based write protection.

Method 1: Physical Lock

Unlocking a locked SD card by flipping the lock switch is by far the easiest method. The same is true for locking an SD card. The physical switch actually does nothing inside the SD card. It simply acts as a way for card readers to know whether the card can be written to or not. Therefore, if switching the switch does nothing, the problem may be with the SD card reader.

This method is only possible on cards that actually have a lock switch, as not all cards will feature one. Here’s how to unlock a memory card using the physical switch:

  1. Take the SD card out of the device it’s being used in.
  2. On the side, flip the lock switch into the unlocked position. Typically, this is up.
  3. Test the SD card to ensure it’s unlocked.

Method 2: DiskPart

If your SD card doesn’t have a switch, or if you don’t have physical access to the SD card, you can unlock it through your operating system instead. Here’s how to unlock an SD card without a switch.

  1. Right-click Start and click Windows PowerShell (Admin). Click Yes if prompted by UAC.Opening an elevated PowerShell console.
  2. Type diskpart and press Enter.Executing Diskpart.
  3. Type list disk and press Enter.Listing available disks.
  4. Type select disk #. Replace the hash with your SD card’s disk number.Selecting a disk.
  5. Type attribute disk clear readonly and press Enter. This will remove the read-only tag that’s associated with the card.Clearing the readonly attribute..

Method 3: Registry Editor

If you’re desperate to regain write access to your SD card without formatting the card, you can try a more advanced method using the Registry Editor available on Windows.

Your computer’s registry contains very delicate information. Be very careful when making changes, as even the smallest changes can cause major problems.

This is how to unlock the SD card on PC through the Registry Editor:

  1. Press Windows Key + S and search Registry Editor. Open the first result. If prompted by UAC, click Yes.Opening the Registry Editor.
  2. Navigate to HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Control/StorageDevicePolicies. If it doesn’t exist, right-click the Control folder and click New > Key to create it.Navigating tot he StorageDevicePolicies section.
  3. Double-click WriteProtect and set the value to 0. Press OK. This will remove write protection. If WriteProtect doesn’t exist, create it by right-clicking the StorageDevicePolicies folder and clicking New > Dword.Updating the value for WriteProtect.

When finished, try removing your SD card and connecting it again.

Conclusion

With your data recovered and an understanding of how to unlock a memory card, you know how to tackle this issue if it ever happens again. Keeping a backup is the recommended plan going forward, but seeing as that’s harder for SD cards, leaving the card untouched until recovery is the next best thing.

We hope that this article helped you. Let us know what your experience was like in the comments below. Which method worked? Was it harder than you thought? We’d love to hear your feedback.

If you’re interested, check out our list of the best SD card recovery software for alternatives to Disk Drill, or our guide on recovering accidentally formatted SD card files for recovering data post-format.

FAQ:

Incorrect readings can be a sign of corruption, a logical form of damage that can affect the performance of your SD card. If this is the case, you should stop using it immediately and recover data from your SD card while you have the chance. It could also be that an SD card password lock has been enabled using a mobile device or application. In which case, you should unlock it using the password.
Just as you can unlock an SD card using Windows, you can do the same on Mac using similar steps. Follow the steps below to unlock a memory card on Mac that is showing signs of corruption or errors.
  1. Connect the SD card to your Mac using a card reader or by inserting it into a SD card slot.
  2. Use the Spotlight search function to search for and open Disk Utility.
  3. Select the SD card in the upper-left of the window and click First Aid.
  4. Clicking Run will unlock your SD card.
As Sony recommends, you should remove the SD card from your camera and slide the lock switch up. This will unlock the SD card.
If your Nikon memory card is locked, remove it from your camera and slide the lock switch up. Doing so will unlock it and allow you to write data to it.
In the unfortunate event that you lose your files, you can recover data from your SanDisk SD card using data recovery tools. As long as your SD card is readable in the Device Manager of your computer, these tools should be able to access and recover some of your data.
Then your write-protection is software-related. When this happens, it’s possibly due to wear or damage to the card. Your best option is to create a byte-to-byte backup of the card, recover the data, then unlock it using DiskPart, or even data recovery software like Disk Drill.
If you’re wondering how to unlock a micro SD card (or any other type of memory card), or what to do when a micro SD card is locked, and how to unlock it permanently, it depends if it’s physical or software-related. For a physical lock, it may be worn or broken and it’s best to remove it. Software-related issues indicate damage to the card, and you should replace it as soon as possible.
1 COMMENT
This field is required
This field is required
We respect your privacy; your email address will not be published.

We respect your privacy; your email address will not be published.

You have entered an incorrect email address!
This field is required
  • Rob Woolcock

    Hi Sorry but none of those fixes worked not even the format