I have a 32GB Imation flash drive with a physical read-only switch.
A while ago I used it to install Ubuntu, and to do so I created a bootable USB. It worked, I installed Ubuntu, everything worked fine.
Now I'm trying to use it on my machine running Windows 10, but it seems to only be readable when the switch is set to read-only. Unfortunately, that doesn't help, because I don't want to install an outdated version of Ubuntu, I want to use it as a flash drive, and since I obviously can't format it in read-only mode, I'm stuck.
When I set the read-only switch to read/write, all I can get is an I/O device error. I tried disk management and diskpart, neither of them seem to be able to format it.
Is there anything I can do to save this flash drive?
Update: if you're going to downvote, could you please at least explain why you think my question is stupid? I'm not going to learn if you don't.
Update 2: No, this is not a duplicate. The drive shows as read-only when the switch is set to read-only, which is normal. The problem is that when the switch is set to read-write, the drive appears faulty and doesn't read at all.
Update 3: Did nobody read the actual question? This is not the same problem as those linked to; those solutions do not work! I can use Google too, thank you very much.