I've had this flash drive for a few months but I haven't used it very often. A few days ago when I plugged it in my PC it said it was RAW format and didn't want to show the contents unless I formatted it. So I tried but every time it kept showing 'Windows was unable to complete the format'. I looked it up on Google and found out that it could be write-protected, so I opened diskpart and removed the read-only attribute. After that it worked flawlessly, it could read and write files without any problems. However, after I disconnected it and connected it again the same exact thing happened. I think this only occurs when you disconnect it directly from the USB port without clicking on 'Safely remove' first but I can't be sure because this behaviour isn't consistent. It's really frustrating, though, and I was wondering if anyone knows a solution. Is there a way to forbid it from going in this state? Thank you in advance!