How to Fix Write Protection Error on a USB Flash Disk

Posted by Britt Duncan - October 11, 2014

Occasionally, when we want to read, write, or do any other we want with the plugged USB drive, a message pops up and says “The disk is write-protected”. We will become such confused and cannot believe it- This is my flash drive! However, we need to take some steps to fix the write protection error then. Please follow up the article.
the-disk-is-write-protected

Remove Write Protection from a USB Drive through Command Prompt

Remove Write Protection from a USB Drive through Registry Editor

Remove Write Protection from a USB Drive through Command Prompt

Step one- Open Command Prompt.
In Windows 7
Click Start menu, type Command Prompt in the search box.
search-command-prompt-win7
Right click on Command Prompt in the search result, select Run as administrator.
run-as-admin-win7
yes-uac
In Windows 8 and Windows 8.1
Right click Win X menu on the left bottom corner, select Command Prompt (Admin).
command-prompt-win8
Step two- Type the following commands one by one, and hit Enter after each.
diskpart

list disk

select disk n (n is the number of USB drive with which you’re getting error and is plugged in)

attributes disk clear readonly
diskpart-command-prompt
And now you can close the Command Prompt window and re-plug your removable disk to check if the problem is resolved.

Remove Write Protection from a USB Drive through Registry Editor

Step one- Press Windows and R key together, type regedit in the Run dialog box. And hit Enter.
regedit-win8
yes-uac-regedit
Step two- Navigate to the following key folder.
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control
registry-path
Step three- Right click Control key and select New, then Key.
new-sub-key
Step four- Name the new sub-key as StorageDevicePolicies.
name-new-key
Step five- Highlight StorageDevicePolicies key, and in its right pane, right click on a blank space and select New, then DWORD Value.
dword-value
Step six- Name the newly created DWORD as WriteProtect.
name-dword
Step seven- Double click on the WriteProtect DWORD and change its Value data to 0. And click OK.
change-value
Done! Close the Registry Editor window and re-plug the USB flash drive to check if the issue is resolved. Usually, one of these two methods will do a perfect job to remove write protection error. If the error appears again after you follow these steps, you should consider whether the drive is corrupted or a certain virus exists.




The Previous:
The Next:

Comments are closed.




Awards

TESTED:  25 Sep