USB Flash Drive Write protected

Hey there, Pavlex4.

Have you tried the flash drive with a different computer/device? Do you need to recover data from it?
I'd recommend that you check some of the solutions from this article here: http://www.wikihow.com/Disable-Write-Protection. Hopefully one of them proves useful and helps you resolve your problem.

Hope that helps.
Boogieman_WD
 
You could also try accessing the flash drive via Ubuntu Live USB/DVD, to see if it's properly recognized and if you can reformat it. Also did you try it with a different computer to see if it works properly?
Sometimes when this happens it's because the flash drive might have become faulty and if this is the case, unfortunately, there's not much you can do about it. :(