How to repair corrupted USB drive in Windows
Restore a USB drive using Diskpart – Windows
Open a command Prompt as administrator (cmd.exe) and use the following commands.
Diskpartthen pressEnterList Diskthen pressEnterSelect Disk X(where X is the disk number of your USB drive) then pressEnterCleanthen pressEnterCreate Partition Primarythen pressEnterFormat fs=Fat32 Quickthen pressEnter(You can also useNTFSorexFAT)Activethen pressEnter