Leave the registry alone. It's very probably not the cause of your problem.
It look like it's a problem with the flash drive itself.
Does it have a write protect switch? It's normally a small slide switch on the side. It's easy to miss as it's usually pretty small.
If there is such a switch, slide it in the opposite position. If it's in the middle, push it completely to one side. Check if it work now. If not, try the opposite position.
If there is NO write protect switch or changing it's position have no effect:
Copy any content to some other location or device.
Try to format it.
If you can't format, it may be that that flash drive is actually defective. Flash memory have a limited number of times that it can be written to. If it was written to to often, it becomes impossible to write new data to it and it's time to throw it away and get a new one.
Electro, May 2016