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 Value Data Box and press OK button
Exit Registry, restart your computer and then again re-connect your USB pen drive on your computer.