Some USB flash drive or memory cards are Write Protected by the manufacturer so that no one can be able to modify or delete the contained files. So if you have a USB flash drive that have Write Protection, but you have to format that drive for your use or copy files to that drive then you need to remove the write protection first. However if your USB drive has become corrupted then the only option is left for you to format that drive.

Usb write protection remove

Before i further proceed, let me tell you first what actually Write Protection is : 

Write Protection is a feature that some USB drive have added by its manufacturer. If a USB drive is write protected, you will be able to read that drive’s file but you don’t have the authority to delete the files. Sometimes it seems like you have deleted the files, but when you checked next time then you will again found that deleted files.

There are many ways to Remove the Write Protection on USB flash drive. In this tutorial I am going to show you how you can Remove the Write Protection from your USB drive.

write protection

Ways to Remove Write Protection from any USB

Using Diskpart Command Prompt:

  • First plugged in the USB flash drive in to your computer. Now click on the Start menu and type ‘cmd‘ in the search option and press Enter. ( If you saw a message showing ‘access denied’ then you have to run it as a administrator)
  • A command prompt will open in your computer screen. Now type ‘diskpart‘ in the command line and press Enter.
  • Now type ‘list disk‘ and press Enter. It will show you a list of all accessible drives on your PC even your USB drive if it is plugged in. If you are facing any problem to identifying the disk, simply eject your USB drive from your PC and type list disk again to check which disk is disappeared.
  • After making sure of that drive, type ‘select disk 1‘ ( as in my case trive number is 1, that’s why i wrote disk 1. If your drive number is 2, then you need to write select disk 2).
  • Now type ‘attributes disk clear readonly‘ and press Enter. It will remove Write protected file of that drive if there is any.


  •   Now type ‘exit‘ and press Enter to close the command prompt window.

Using regedit.exe under Registry:

Registry under any OS is very important. You have to be cautious while working here.

  • First open the Start menu and write ‘regedit‘ in to the search option and press Enter. Now you will automatically redirected to the Registry Editor window.
  • Now click on ‘HKEY_LOCAL MACHINE‘ option and double click on it to expand.
  • Now double click on SYSTEM folder to further expand it. Now click on ‘CurrentControlSet’ and then double click on ‘Control‘.
  • Under Control folder, you have to create ‘StorageDevice Policies‘ folder if its doesn’t exist there. To create right click in the blank space under the Control option and select New and after that KEY. Now label it as ‘StorageDevicePolicies’.


  • Now you have to double click on the ‘WriteProtect’ key which is under the StorageDevicePolicy. Change the ‘ Value Data’ to ‘0’(zero). and press OK.

value data

  • Now you need to reboot your PC in order to save the changes that you have done to the Registry of your PC. Don’t forget to save all your work before restart.

If there is any write protected file in your USB flash drive, now it would be removed and you can use your USB drive to store files, copy from it and format the drive if it requires.

These are the two simple ways of Removing Write Protected file from your USB dive. Hope this tutorial will help you to do the work.

(Visited 9 times, 1 visits today)