Table of Content
    Photo Recovery

    How to Unlock SD Card without Switch?


    Table of Content

      Summary: A locked SD card puts it in read-only mode, preventing you from modifying the card’s data. If your SD card is locked and the physical switch is broken, use the Diskpart command or Registry Editor in Windows/ or Disk Utility in Mac to unlock it. If all workarounds fail, your SD card is probably corrupt, and you need to format it forcibly. Read this blog for more details.

      A locked SD card restricts you from accessing photos, videos, and other media files saved on it. It also prevents you from adding new files to the card or deleting or editing existing ones.

      To add new files or transfer existing files from the locked SD card, you need to unlock it first by flicking the lock switch.  However, if the lock switch of the card is broken, use the Diskpart command or Windows Registry Editor in Windows to unlock the card. On Mac, you can use the Disk Utility feature for this purpose.

      Read this blog for a step-by-step guide on how to unlock SD card without a switch.

      Ways to Unlock SD Card without Switch

      1. Use Diskpart to Unlock SD Card with Broken Switch

      If the SD card is locked and there is no physical switch, use the Diskpart command-line tool to unlock the card. Diskpart is a command-line tool that allows you to manage disk volumes and partitions.

      Here’s how to unlock the SD card without switch using Diskpart:

      • Open the Command Prompt in your Windows system.
      • Type diskpart and press the Enter key.
    • Type list disk and press the Enter key. This command will list all detected disks on your computer.
    • Locate your micro SD card in the list and note the disk number, i.e., disk 1.
    • Type select disk *, replace * with the disk number you noted in the previous step, and press the Enter key.
    • Type attributes disk clear read-only and press the Enter key.
    • 3 type diskpart to unlock sd card
      • Wait until you see the ‘Disk attributes cleared successfully’ message.
      • Type exit and press Enter to close Diskpart.

      2. Use Registry Editor to Unlock SD Card

      The Registry Editor is a graphical tool that lets you access and edit Windows configuration settings, such as setting up access permissions.

      Use the Windows Registry Editor to remove write protection or unlock the SD card. But, make sure you back up your Windows Registry before making any changes to it.

      Here’s how to use Regedit utility to unlock a micro SD card:

      • Connect your SD card to a Windows PC using a card reader.
      • Open the Command Prompt, type regedit, and press Enter to launch Registry Editor.
      • Go to HKEY_LOCAL_MACHINE > SYSTEM > CurrentControlSet > Control > StorageDevicePolicies in the Registry Editor.
      5 unlock sd card using registry editor

      Note – If you don’t see StorageDevicePolicies, manually add it. Right-click on the current Control catalog, select New > Key and name it StorageDevicePolicies.

      • Right-click on StorageDevicesPolicies, click New and select the parameter DWORD (32-BIT) Value for 32-bit OS or QWORD (64-bit Value) for 64-bit OS.
      6 unlock sd card using registry editor
      • Now, name this value as WriteProtect, right-click on it, and select Modify.

      Note – If the WriteProtect option already exists, change the number in the Value data field.

      • Change the number in the Value data box to 0 and click OK.
      7 unlock sd card using registry editor
      • Once you’re done, remove your SD card and restart your computer.

      3. Use Disk Utility to unlock the SD card on the Mac.

      Use the First Aid feature in Disk Utility to unlock your SD card on Mac. Disk Utility is a system utility that performs disk and disk volume-related tasks on the macOS.  

      Here’s how to unlock an SD card without switching on a Mac

      • Connect the locked SD card to your Mac.
      • Next, go to Utilities > Disk Utility on Mac.
      8 unlock sd card mac
      • Select the locked SD card from the left panel and click First Aid on the top. When the pop-up appears, click Run followed by Done to finish the process.
      9 unlock sd card mac using disk utility

      4. Force unlock the SD card by formatting it

      If none of the methods unlock the SD card, your card may be logically corrupted or infected with the malware/virus. In such a situation, forcibly unlock the card by formatting it to remove the write protection.

      Here’s how to format a locked SD card on Windows

      • Connect the SD card to your Windows system via a card reader.
      • Go to My Computer and choose your unlocked SD card.
      connect sd card 1
      • Right-click on the SD card and click Format.
      format sd card in windows 2
      • A format window will appear. Specify the file system and set a volume label for your SD card.  Also, select Format options and click Start.
      quick format sd card 3
      • Windows will start the formatting process for your SD card.

      Follow this blog to learn how to format an SD card on various devices.

      How to Recover Lost Photos from Formatted SD Card?

      Formatting an SD card will unlock it, but all your existing data on the card will be lost. If you don’t have a backup of the data stored in the SD card, use professional photo recovery software like Stellar Photo Recovery.

      This advanced photo recovery tool can retrieve lost photos from formatted SD cards of all types, irrespective of their brand, capacity, and size. The tool recovers deleted photos, videos, and audio files of all popular formats, such as JPEG/JPG, MOV, MP3, etc., from formatted, corrupt, or inaccessible SD cards.

      It’s a Wrap!

      Locking the SD card keeps its data safe from being deleted or overwritten. You can unlock the SD card by sliding the lock switch to the top position. However, if the lock switch is damaged/broken, use the Diskpart command, Registry Editor in Windows, or Disk Utility on Mac to unlock the SD card.

      However, if nothing works, forcibly format the SD card. However, doing so will delete all your existing data. To recover deleted photos and other media files from the formatted SD card, simply download a trusted photo recovery software like Stellar Photo Recovery. If you’re not sure how it works, here’s a free trial to assess the performance of this tool. Download now!

      Download for Windows Download for Mac

      FAQ

      You can physically lock an SD card by sliding the lock switch to the Lock status or setting the card’s attributes to read-only with Command Prompt.

      You can use the Group Policy feature in the Pro, Enterprise, or Education version of Windows to remove write protection from the SD card.

      All SD cards have a physical lock switch on the side; if the switch is at the bottom, the card is locked and write-protected. So, try to move the switch up to unlock it.

      Was this article helpful?

      No NO

      About The Author

      Vishakha Singh linkdin

      Vishakha Singh is a Senior Writer at Stellar Data Recovery with half a decade of experience in writing content in diverse verticals. She's a tech enthusiast who loves creating photo/video recovery & repair tutorials. Vishakha also specializes in writing full-blown iPhone and Android guides.

      Leave a comment

      Your email address will not be published. Required fields are marked *

      Image Captcha
      Refresh Image Captcha

      Enter Captcha Here :

      Related Posts

      WHY STELLAR® IS GLOBAL LEADER

      Why Choose Stellar?

      • 0M+

        Customers

      • 0+

        Years of Excellence

      • 0+

        R&D Engineers

      • 0+

        Countries

      • 0+

        PARTNERS

      • 0+

        Awards Received