Remove Write Protection from USB drive and SD Card Using CMD

How to remove write protection from USB drive and SD-card? A write protection is a mode of data protection which ensures your media protect against write and delete. A write protected USB Flash drive or SD-Card can be accessed to read-only purpose. Some software and hardware companies force lock their media to protect it from piracy and security leak.



But, we are here to discuss about the removal of write protection from USB pen drive and other USB storage media. We shall look for the methods to Remove write protection from USB flash drive and make it usable again.

Remove Write Protection from USB drive and SD Card Using CMD

HIGHLIGHTS:

  • Virus attack, physical damage and improper removal of Flash drive can cause Write Protection error.
  • There are several method to remove write protection from USB flash drive or SD-Cards.
  • You can’t reuse a write protected Flash drive, neither you can format it.

RECOMMENDED:

Change Boot Priority to Boot from USB- With and Without BIOS
Create a Recovery Drive in Windows 8
How To Run System Restore Point in Safe Mode | Windows 7/8/8.1/10

Cause of Write protection error on USB Flash Drive

Windows-was-unable-to-complete-the-format

A write protection error on USB flash drive can be caused by virus or physical damage. Before we head to the solution, lets discuss the problem which causes a Flash drive or SD-card to get write protected. A flash drive can get write protected for several reasons including,


  • Virus attack : Trojan horse and Shortcut virus is the main cause of write protection error on USB storage.  A Trojan horses causes a data protection error on USB Flash Drive which ends up corrupting your drive and damaging the data. In order to remove Trojan Horse virus from your computer it is advised to use strong Antivirus for Windows and MAC.
  • Improper removalSometimes we remove our USB storage device without selecting “safely remove hardware and eject media” or “eject” by right clicking on the USB media on Windows. This can cause a data read write error on your USB Flash Drive.
  • Physical damages : Another major reason to get your USB storage write protected. Be careful while carrying your USB storage to avoid write protection error on USB storage media.

Remove Write Protection from USB drive and Card

To remove a Write protection error from USB flash drive and SD card storage, we shall use DOS command “Diskpart“. Diskpart is a Windows utility used to perform disk partition and maintenance task on Windows. In order to remove write protection from USB flash drive follow the steps below:

To Remove Write Protection from USB drive on Windows

Diskpart select disk to remove write protection

  • Insert the USB stick to USB port of your computer and Open Diskpart by typing “Diskpart” in Run Dialogue box.
  • Now type “List Disk” in the diskpart console. This will display a list of all drives connected to your computer.
  •  Type “Select Disk X” and press Enter. Here X is the number indicating the USB flash Drive or SD card.

READ ALSO:

How to Create a Bootable USB Flash Drive And Install Windows
How to reset windows 8 password without disk and Software

The resulting table will list the currently available devices. But which is your USB drive? Disk 0 will be your computer’s system drive. This is the one that Windows is installed on. If you have multiple partitions, these will be sequentially numbered. Note that the size is displayed for each disk. With a USB flash device connected, (which will be Disk 1 or higher) you should be able to identify it by its comparatively low capacity.

attributes disk clear readonly

  • Enter “attributes disk clear readonly”.




A confirmation will display ““Disk attributes cleared successfully.”. This will ensure that you have successfully cleared the “read-only attribute” from your USB stick. Congratulations! you have successfully Removed Write Protection from USB drive.

If you are still unable to format the USB fash drive you can refer to the article :How to Format Write Protected USB Flash Drive and Make it Usable.

Conclusion: This method can only be useful if your USB Flash drive is write protected beacuse of software error. A physical error leads to the permanaent damage to you USB Flash media. Still you can give it a try and see if the problem is solved.

 

 

 

admin

I.T. Professional completed my B.E. , a blogger Enthusiast, Software developer, and a ICT freelancer. While working as freelancer I have worked with some great people and agencies that taught me lots of things.

Leave a Reply

Leave a Reply

%d bloggers like this: