Here is how you can remove or uninstall write protection on pen drive. This is a common problem faced by most users.
Often an error occurs while copying, deleting or modifying data or files for the USB. This happens because it is 'Write-Protected'. Here is a solution to the problem of the USB being write-protected. Follow the steps mentioned in this article to enable the modification, copying or deleting of files from the USB thereafter.

Issue -

This a very common problem when using USB flash drives. Sometimes when you try to copy or delete files you get an error message "Remove the write-protection or use another disk". Furthermore, it won't allow you to format it !

Solution 1.
  • To remove write protection:
  • Open Start Menu >> Run, type regedit and press Enter. This will open the registry editor.
  • Navigate to the following path:
  • HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\StorageDevicePolicies
  • Double click the key WriteProtect in the right pane and set the value to 0
  • In the Data Value Box, press OK
  • Exit Registry, restart your computer and then re-connect your USB pen drive to your computer.

Solution 2.
  • Start > search bar -> CMD and press enter
  • type< diskpart
  • type< list disk
  • type< select disk # (# is the number of the USB key)
  • type< attributes disk clear readonly
  • type< exist

Solution 3.