how to remove USB write protection?

Try booting into PartedMagic and checking the culprit out. I’ve nuked partitions on thumb drives using that, which Windows couldn’t touch.