So you remove write protection from SD card or pen drive and are greeted with the message “the disk is write-protected”. If you are having this trouble, you have come to the right place.

So why does this happen? Often times, to prevent data loss due to deleting or formatting unexpectedly, users like to write protect their pen drives or other devices. But that’s not the only way it can happen. Sometimes it can also happen because of a virus infection or a third party software.

You cannot format a device with the write protection. But we are here to help you with this problem. You can follow the methods listed below and thank us later. However, it is to be noted that in some cases the only option is to buy a new drive since the device may have gotten corrupted or there might be physical harm done to it.

Also Check: Best ways on how to unblock blocked websites

And if you’re just trying to get back lost data, see our guide on how to recover deleted files for free.

Why the Disk Could Be Protected and what it means

On a write-protected device like a USB flash drive or an sd card, files can only be viewed. They can’t be edited or changed. You will be able to only read and copy files, but not able to write or delete them.

As mentioned above, your device could get write protected because you may have done it in the past to prevent unexpected data loss. Likewise, it could also be possible that this has happened due to a virus or a third party software.

Some ways to remove write protection from SD card & Pen drive

  • Use the switch:
    On some devices, there exists a switch that controls the write protection on the disk. The position of the slider may have accidentally been changed. Try using an adapter for micro sd cards.
  • Use antivirus
    Since the write protection could be because of a virus or a third party software with mal intentions, it is better to run a quick scan on your device and then proceed to remove write protection from SD card and pen drive.
  • Low on space
    Sometimes there might not be enough space available on your disk to copy a larger file. You can go to the properties of your device in order to see whether or not there is enough space left. Likewise, the problem may be with the file. There is a possibility that it could be set to “read-only”.
    In that case, you can go to the properties of that file. You shall see a read-only checkbox. Unselect it and you’re good to go.

Disable write protection using the command line (CMD)

remove write protection from micro sd card

In case the above-mentioned methods to remove write protection from SD card don’t help, you can always go one step further. You can use Windows Command Prompt.

Here are the steps to follow:

  1. Your write-protected drive should be connected to your computer.
  2. On the start icon, right-click. Select Command Prompt (Admin).In the UAC message, click yes.
  3. Hit Enter after typing diskpart.
  4. Hit Enter after typing list disk. A list of storage media connected to your computer will be displayed. 
  5. Type select disk <number of your disk>
  6. Now, press enter after typing attributes disk clear readonly.
  7. To get out of the diskpart utility, type exit, and press Enter. To get out of the command line, type exit and press Enter again.

Now you should be able to copy files from your windows to your drive.

By formatting the SD card or pen drive

Sometimes the command line method does not work. In such cases, you can try formatting your drive. Here is the method:

  1. Your sd card or pen drive must be connected to your computer.
  2. Open My Computer/This PC.
  3. You will be displayed a drop-down menu when you right-click on your drive. Click on format.
  4. IN the next window, choose  Restore device defaults.
  5. Click Start.
  6. You will be displayed a warning notification. Click OK.

This process can take a while. After the process is done, continue to use your drive like before.

Hope this trick to remove write protection from SD card & Pen drive works for you, Do let us more into comment if you have other methods.