Lagos, Nigeria
info@ezefidelity.com

How to Remove Write Protection from SD Cards and USB Drives.

How to Remove Write Protection from SD Cards and USB Drives post thumbnail

Write protection is a feature and sometimes can be considered as error that prevent a user from being able to modify or add new files to an SD card or USB drive.

Reasons why an SD Card or USB Drive will be Write Protected.

The most common reason why you are seeing the SD Card or USB drive is Write Protected message is. Because the card or drive have been infected with Virus.

These viruses aren’t ransomware that demands that you pay the developer a certain amount in order to unlock the USB. No.

Most SD Cards are design in such a way that if it notices a virus or corrupted file in itself, it will automatically turn on the Write Protection feature in order to prevent further intrusion (that is, the virus infecting other files).

Most SD Card adapter and USB flash also comes with a button that is used to enable or disable the Write Protection. Windows operating systems which you probably are using might be the one that Write Protected your SD card or USB based on its default settings. And sometimes, it is the manufacturer of the USB or SD Card that will Write Protect it from the factory.

In any case, the comprehensive guides below will enable you to remove the Write Protection from your SD Card or USB.

Guide 1: Run an Anti-virus Scan

As I have mentioned above, the common reason for SD cards or USB drives being Write Protected is because it has been infected by a virus or other malware. If this is the case, run a custom anti-virus can with the latest version of your anti-virus software, that will scan only the USB drive.

If after the scan is complete, and the anti-virus picked up some viruses in the drive, click on the Resolve button so that the anti-virus will attempt to resolve the problem by repairing the corrupted files.

Note that repair attempts most times do not work, hence the anti-virus will end up deleting the files infected by the virus.

Guide 2: SD Cards and USB Drives Write Protection buttons

If there is button on your SD card adapter or USB drive, chances are, that button is what is causing you to have the SD card Write Protected error, for the button is used to enable or disable write protection from the card or drive.

If there is a lock and unlock icon on the button, toggle it to the unlock side to turn off write protection. When there are no icons, place the button on 1 side and plug it to your computer, if you have the SD card write protection message, then the opposite side is to deactivate the Write Protection.

Note, unplug the card or drive before you switch to the opposite direction.

Guide 3: Deactivating the SD Card Write Protection from Manufacturer

Now, if your SD Card or USB drive has write protection by default from the manufacturer, or if the write protection switch is no longer working, use these steps to remove it.

Insert the SD card or USB drive with Write Protection into your computer and Press Windows + R keys in your keyboard. Type in diskpart in the Run dialog box and hit the Enter button.

opening windows 10 diskpart utility with the run app

If you are prompted with a User Account Control screen, click on the Yes button to open the diskpart utility.

When the Diskpart utility opens, type in list disk and hit Enter on your keyboard.

Now, locate the disk number that represent your SD card and type in select disk 1 and hit Enter.
If disk 4 is what is used to represent your SD card in the list, then what you should type is select disk 4.

Next, type in disk clear read-only command and hit the Enter button again.

removing sd card and usb drive write protection with windows 10 diskpart tool
picture credit iconDiskinternals

When you see the Disk attributes cleared successfully message, type in exit and hit Enter. Then unplug the drive and plug it back again.

Guide 4: Deactivate Windows 10 Drive Write Protection.

As mentioned at the outset, for some unknown reasons, Windows might just decide to activate Write Protection for your SD card. So, if the other guide mentioned above did not help you resolve the USB drive Write Protection, then this should definitely be it.

To deactivate the disk write protection that Windows have activated, do the following:

Press the Windows + Run key to open the Run program. Type in regedit and click OK.

opening windows 10 registry with the run app

Again, if you are prompted with the User Account Control screen, click on the Yes button to continue.

Now, in the left pane of the Registry Editor, expand the following folder tree, HKEY_LOCAL_MACHINE > SYSTEM > CurrentControlSet > Control > StorageDevicePolicies

part to the storagedevicepolicies fold in windows 10 registry editor

I was not able to capture the StorageDevicePolicies in my screenshot because it is down below the first screen.
However, if you were not there is no StorageDevicePolicies folder under the Control folder of your Registry Editor, then scroll back up and right-click on the Control folder. Hover your mouse on New and click on Key. Then name it StorageDevicePolicies.

creating storagedevicepolicies folder in windows 10 registry editor

Next, click on the folder you just created to open it in the right pane. Now, right-click on a white space in the right pane, hover your mouse on New and then click on DWORD (32-bit) value, and name it WriteProtect.

creating writeprotect file under the storagedevicepolicies folder in windows 10 registry editor

Once done, double-click on the WriteProtect file we just created and change the Value data to 0 and click the OK button.

changing the writeprotect value data of the storagedevicepolicies folder to 0 in windows 10 registry editor

Guide 5: Format the SD Card or USB Drive

If you have exhausted the guides above and still have not been able to remove the Write Protection on the USB drive or SD card, it is probably because the file system of the drive is back. In this case, you have no other option than to format the drive file system. This action will also delete all the files in the drive so, I recommend that you back them up before you continue.

 To format a drive file system, do the following.

Insert the SD card or USB drive with Write Protection into your computer and Press the Windows + R keys in your keyboard. Type in diskpart in the Run dialog box and hit the Enter button.

opening windows 10 diskpart utility with the run app

If you are prompted with a User Account Control screen, click on the Yes button to open the diskpart utility.

When the Diskpart utility opens, type in list disk and hit Enter on your keyboard.

Now, locate the disk number that represent your SD card and type in select disk 1 and hit Enter.
If disk 4 is what is used to represent your SD card in the list, then what you should type is select disk 4.

Next type in Clean, hit Enter. Type in create partition primary, then hit Enter. Type in select partition 1, hit Enter. Again, type in Active, hit Enter. Now, type in format fs=fat32 quick and hit Enter. Wait till it shows 100 percent completed. Diskpart successfully formatted the volume. Then type in exit and hit the Enter button on your keyboard.

The image below explains this guide in details.

formarting drive file system using diskpart in windows 10
picture credit iconDiskinternals

Alternatively, you can use AOMEI Partition Assistant to format the SD card or USB Drive.


Which of these guides worked for you? Please, let us know via comments. And do not forget to share with your friends on social medial.



Do you find this article helpful? Your Friend might too. So, please Share it with them using the Share button above.
Will you like to get notified when I post new updates? Then Follow me on any of my social media handles: Google News, Telegram, WhatsApp, Twitter, Facebook, Pinterest.
You can also drop your email address below if you wish to be notified by mail.


Tags: ,

%d bloggers like this: