If you wanted to delete some data from an SD card, but it didn't let you do that, you're probably wondering why. If your SD card says "write protected", it won't let you delete your files. Luckily, we have several ways to fix write-protected SD cards.

First, we'll cover what write protection is and why you should remove it. Then, we'll explore six ways to remove write protection from SD card. Lastly, we'll show you how to recover data from corrupted SD cards after turning off write protection.

In this article
    1. Toggle the Physical Write Protection Switch
    2. Scan Your SD Card With an Antivirus
    3. Remove Write Protection From an SD Card in Properties
    4. Remove Write Protection From an SD Card Using the Registry Editor
    5. Remove SD Card Write Protection Using CMD
    6. Use an SD Card Write Protection Removal Tool

"The Disk Is Write Protected" - What Does It Mean?

the disk is write protected message

Have you tried deleting your SD card data, but it says, "The disk is write-protected"? If so, your SD card data is locked, and the SD card won't let you delete your files. If you can delete them, you've allowed the card to overwrite them with new data.

Write protection means you can't overwrite your SD card data. It essentially puts your SD card into read-only mode. This way, you can't modify the data on it; you can just view it.

How can you write-protect your SD card? You can do it physically or with software. Physically enabling SD card write-protection is much easier, as you only flip the switch on the side of your memory card. If you want to do it with an app, numerous SD card write protection software allowing you to lock your SD card data are available.

Why Is My SD Card Saying Write-Protected?

Your SD card may be saying it is write-protected due to one of the following reasons:

Reasons Explanations Fixes
Physical lock switch Many SD cards come with a small lock switch on the side. If this switch is set to the "locked" position, the SD card will be write-protected, preventing any changes to its contents. Toggle the Physical Write Protection Switch
Malware or virus A malware or virus infection can cause SD cards to show as write-protected. Scan Your SD Card With an Antivirus
Read-only attribute The SD card might have been set to read-only mode in its Properties. Fix 1. Remove Read-only in Properties
Fix 2. Remove Read-only Using CMD
Registry settings In Windows, the registry settings may enforce write protection on removable storage devices, including SD cards. Remove Write Protection From an SD Card Using the Registry Editor
Operating system restrictions Some operating systems, like macOS and Linux, may have trouble writing to SD cards formatted with the NTFS file system. Reformatting the SD Card to a Compatible File System (e.g., FAT32 or exFAT)
Corrupted or damaged SD card A damaged or corrupted SD card may sometimes display a write-protected error. Fix 1. Try using a different SD card reader or connect the card to another device to see if the issue persists.
Fix 2. Recover Data From Corrupted SD Card Using Recovery Software

Simple Steps you can try to quickly remove write protection from SD card:

  • Reconnect the SD Card
  • Use another USB port, and change a different USB adaptor.
  • Connect the SD card to another computer.

Check if the SD card becomes accessible after trying the above solutions. If no, keep reading to find the 6 effective ways to remove write protection from SD cards.

6 Ways to Remove Write Protection From an SD Card

Removing write protection isn't as complicated as you'd think. We've prepared six easy ways to unlock write-protected SD cards in a few minutes. Go through the list of fixes and choose the one that works best for you.

Way 1. Toggle the Physical Write Protection Switch

The first tip to remove write protection from a memory card is to do some trick with the physical switch of the SD card. Nearly every SD card contains a lock switch – a slider on the left side. This switch is working as a locking technique. Check your SD card and see if the switch is at the bottom position. If yes, that means the card is locked and write-protected. This will restrain you from making any modifications to the SD card.

To physically turn off write protection from your SD card, follow these steps:

  1. Find a little switch on your SD card. It's usually on the upper left side.
    the lock switch on an sd card
  2. If it's next to the word LOCK, it's locked to read-only mode.
    a locked sd card
  3. Flip it back up to unlock your SD card.
    an unlocked sd card

Way 2. Scan Your SD Card With an Antivirus

If your SD card is write-protected, and you didn't do that yourself, you might have a virus or malware messing with your SD card. Viruses can make unauthorized changes to your SD card and even delete your files. Thus, you should scan your SD card with an antivirus program first:

  1. Connect your corrupted SD card to your PC with an SD card reader.
  2. Your antivirus software will detect your SD card automatically, or you'll need to open the program and find it there.
  3. Click the Scan button to scan your SD card for viruses.
    scan write-protected sd card for viruses
  4. If the card virus-free, the software will display a green message informing you it found no viruses or malware on your SD card.
    no viruses on write-protected sd card

Way 3. Remove Write Protection From an SD Card in Properties

If the SD card is not infected by virus or malware, you can fix a write-protected SD card in Properties. It's a quick and easy solution, as it takes just a few clicks to unlock the read-only mode. However, not all SD cards have this option available in Properties, so you'll need to try a different method if yours doesn't. To disable the SD card write protection in Properties, follow these steps:

  1. Open This PC and find your SD card.
  2. Right-click your SD card and click Properties.
  3. Find Write Protection or Read Only and unselect it.
    unlock write protected sd card in properties

Way 4. Remove Write Protection From an SD Card Using the Registry Editor

Another way to disable the write protection on SD card is to use the Registry Editor. It's a Windows tool that allows users to view and make changes on the Windows operating system. Like others, the Registry Editor provides an easy way to remove the write protection from an SD card. The steps go as follows:

  1. Press CTRL + S and type Registry Editor to find it. Click it to open.
    open the registry editor on a computer
  2. In the Registry Editor, navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\StorageDevicePolicies.
    find the sd card in the registry editor
  3. Double-click WriteProtect to open a dialog box. Set the value to 0 and click OK.
    unwrite protect an sd card in the registry editor
  4. If WriteProtect doesn't exist, create it manually.
  5. Once you're done, remove your SD card and connect it again.

Way 5. Remove SD Card Write Protection Using CMD

CMD is a command prompt most widely used for SD card write protection removal. It's a quick and easy way to unlock your read-only SD card. Here's how to unlock your write-protected SD card using a command prompt:

  1. Connect your SD card to your computer.
  2. Press Windows and R keys to open the Windows dialog box.
  3. Type "diskpart" and press Enter.
  4. Input the following commands as shown in the picture below:
    list disk
    select disk # (replace the "#" character with your SD card's number)
    attributes disk clear readonly
    unlock a write-protected sd card with cmd

Way 6. Use an SD Card Write Protection Removal Tool

The last way to remove the write protection from your SD card is to use write-protection removal software to format your SD card. Numerous such tools are available online, so it's up to you to pick one that suits you best. To fix a write-protected SD card with write-protection removal tool like AOMEI Partition Assistant, follow these steps:

  1. Download the write protection removal software of your choice.
  2. Connect your SD card to your computer.
  3. Open the software, right-click your SD card partition, and select Format Partition.
     sd card write protection removal tool
  4. Set the name of your SD card under Partition Label and select the file system you need. Click OK.
    configure the sd card formatting
  5. Click Apply and confirm the formatting process by clicking Proceed.
    confirm formatting sd card write protection

Your SD Card Could Be Corrupted Even if You've Successfully Removed Write Protection

sd card corrupted error

Now that you've successfully removed write protection from your SD card, you want to enjoy the ability to modify your data. However, what happens if your SD card gets corrupted along the way? SD card corruption is not uncommon.

It can happen for various reasons, such as physical damage, viruses, malware, and disk or file errors. Your SD card is corrupted if devices can't detect it, it keeps freezing, or it's suddenly empty. However, there's a perfect and simple way to recover lost and corrupted SD card files.

How To Recover Corrupted or Deleted Files From an SD Card

To ensure your SD card data recovery is successful, we recommend using Wondershare Recoverit. Wondershare Recoverit is a data recovery tool that offers many advanced features, including quick recovery of videos, photos, audio, and other files, support for more than 1,000 file formats, a user-friendly interface, and advanced technology for the best possible results.

Wondershare Recoverit - Leader in Data Recovery

  • Recovers data from all types and brands of memory cards, including CF, SD, micro SD, MMC, Memory Stick, etc.
  • Handles 500+ data loss scenarios, such as deletion, formatting, CF card damage, virus attacks, etc.
  • Recovers lost or deleted files, photos, videos, music, emails, and other 1000+ file types effectively, safely and completely.
  • Recovers full HD, Ultra HD, 4K, and 8K videos without corruption.
Free Download
Free Download

Additionally, it offers a free version that allows the recovery of up to 100 MB, while the paid version has no limitations.

Thus, if you encounter SD card corruption or accidentally delete your files, follow these steps to recover them quickly:

  1. Connect your corrupted SD card to your computer via an SD card reader.
  2. Download, install, and open Wondershare Recoverit on your PC or Mac.
  3. Click Hard Drives and Locations and select your SD card. Click Start.
    select sd card in recoverit
  4. The program will start scanning your SD card for lost files automatically, so wait for it to finish. You can monitor the process at the bottom of the screen.
    scan for lost files in sd card
  5. Once the scanning process completes, you can preview the recovered files to check if they are your desired ones.
    preview the scanned sd card files
  6. Once you've previewed your SD card files, click Recover. Be sure to save them to a different location.
Free Download
Free Download

Why Does SD Card Need Write Protection?

From the above introduction and not being able to use the SD card properly because of write protection, you must be having a slight idea now that a write protection SD card rejects any operation and doesn't let you use it.

On the other hand, you should know that there is a little need to write protection as well. If your SD card is write-protected, your files will be protected and anyone will not be able to do any erroneous operation. Also, having such protection will avoid any virus attack on your SD card. And what can be a better thing than not being able to get attacked by a virus? That is why an SD card at times, needs to write protection.

Conclusion

If your SD card says, "The disk is write-protected," it won't allow you to modify its data. While write protection is perfect for preserving valuable data, it can be frustrating if you need your SD card for data transfer.

That's where our thorough guide to the six most straightforward ways to unlock write-protected SD cards, physically or with software, comes into play. However, if you encounter SD card corruption, use Wondershare Recoverit to recover your files quickly.

FAQ

  • Can I remove write protection from my SD card using a computer?
    Yes, you can remove write protection from your SD card using a computer. You can do this by inserting the SD card into a card reader and then using the computer's file explorer to change the write protection settings. Find more solutions on removing write protection from SD card through this guide.
  • What should I do if I can't remove write protection from my SD card?
    If you are unable to remove write protection from your SD card using the methods mentioned above, it is possible that the card is damaged or malfunctioning. In this case, you may need to consider replacing the SD card.
Eleanor Reed
Eleanor Reed Mar 06, 24
Share article: