How to remove write protection on your SD cards on Windows

Shaant Minhas

Updated on:

write protection sd cards

Write protection helps you keep your data safe. In the case of SD cards, it prevents new data from being written, modified, or erased. While this is a handy feature, you might need to disable it when it has overstayed its use. Learn how you can do that easily on your SD card.

How to remove write protection on your SD card

You can easily disable the write protection in your SD card using one of these three methods laid down below. Let’s start with the easiest method first, i.e., using the properties dialog box.

1. SD Card Properties

Plug in the SD card on your PC. Then head to This PC and search for your SD card. Right-click on the SD card, and select Properties. Now look for the Write Protection tab or option in the Properties dialog box. If your SD card supports that option, you can quickly disable it from here itself.

2. Use the Command Prompt

Like in almost all Windows troubleshooting guides, you can use the Command prompt in this case as well. In the Cmd, you’ll be using the Diskpart command, which helps you manage drivers, disks, partitions, and volumes on your PC.

You’ve to launch the Command prompt in an elevated mode for this. Here’s how:

  1. Go to the Start menu search bar, type in ‘cmd,’ and select the best match.
  2. There, type in the following command and hit Enter:
  3. Then, type in list disk and select the SD card by the following command:
    select disk #
  4. From there, type in the following command and hit Enter again:
    attributes disk clear readonly

command prompt

This will clear all the attributes on your SD card, and you’ll be able to use the SD card freely again.

3. Edit the Registry

One of the methods from above should take care of the difficulties in almost all cases. But, if for some reason, it doesn’t do the trick you can rely on the Registry Editor. Before you make any changes to the registry, though, make sure you’ve backed it up first. To get started, follow the steps below:

  1. Click on Start, type in ‘regedit,’ and run the Registry Editor as an administrator.
  2. Then head to the following path on your Registry Editor:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\
  3. Look for a folder called ‘StorageDevicePolicies’. If there isn’t, create one.
  4. Now select the new folder StorageDevicePolicies folder, right-click on the blank space on the right, select New and choose the DWORD (32-bit) Value.
  5. In the Value Name, enter ‘WriteProtect’ and click Enter.
  6. At last, change the value data in DWORD from 0 to 1.

registry editor

That’s it, folks. The write protection should ideally be removed by the end of this.

Removing write protection from SD card

And that’s how you can get rid of the write protection from your SD card. A write-protected SD card will keep anyone from tweaking anything on your card. Although a good feature in itself, it can become problematic when you want to add new files or delete existing ones.