It can be really annoying having a drive that is write-protected. This post shows how to remove write protection from a drive(Flash, SD card or hard drive)using various ways and methods.
METHOD 1: Check the drive for a physical switch.
This is one of the easy
est methods, just look around the drive for a lock switch and check to see if it is switched on. If this switch is damaged, it can easily be repaired.
METHOD 2: Try to format it and change the file system.
Sometimes formatting the drive could fix this problem. Also, changing the file system to something more general like NTFS or FAT32 which are generally acceptable on various types of operating systems and computers could work too.
METHOD 3: Editing the Registry.
Click on the start button and type “Regedit” or use Ctrl-r and type “Regedit”. Click the HKEY_LOCAL_MACHINE tab, expand the SYSTEM tab, then expand the CURRENT CONTROL SET tab, select the CONTROL tab
Click edit and select a new key
set the key’s name to StorageDevicePolicies
then select the new key created and edit it to create a new DWORD item inside of the key, set the name of the DWORD to WriteProtect.
Click the DWORD and set it to zero(0).
METHOD 5:Using the command prompt.
If all of the above solutions were not able to fix the drive, you can try clearing the drive’s write-protected status using the command prompt.
Right-click the Start Button and select Command Prompt (Admin) from the list. Type diskpart to open the tool we need, then type list disk to display all drives connected to your machine. Figure out which one is your drive (it will likely be near the bottom of the list, and smaller than your other drives) and note its number.
Then type the following command:
select disk [DISK NUMBER]
After this, use this command to clear its write protection:
attributes disk clear readonly
Then try to use the drive again.
If none of the above methods work, you may need to download a data recovery application. Most of them are easy to use so it shouldn’t be a problem. Some of them include:
Drives that give this error are not totally dead, with the above-given methods, steps, and procedures, almost any drive with this problem can be fixed.