You may see the following errors when your pendrive,memory card becomes write protected
Cannot copy files and folders, drive is write protected
Cannot format the drive, drive is write protected
The disk is write protected
Remove write protection or use another disk
Media is write protected
You cant formate your write protected drives either and pendrives,memory card,ipod etc could become write protected suudenly the possible reason is malware or virus attack.Remember the problem lies in your personal computer but hopefully it is very easy to remove the write protection.Let's see how to fox the insufferable problem
1.Open Start Menu >> Run, type regedit and press Enter, this will open the registry editor.
2.Navigate to the following path:
HKEY_LOCAL_MACHINE > SYSTEM > CurrentControlSet > Control > StorageDevicePolicies
If the registry key StorageDevicePolicies key does not exist, you will need to create it
Download this batch file called add.bat from HERE and double click after download the key will be automatically added to registry.
3.Double click the key WriteProtect in the right pane and set the value to 0 in the Value Data Box and press OK button
4.Exit Registry, restart your computer and then again re-connect your USB pen drive on your computer. That is it, done.