How to Restore a USB drive using Diskpart
- Open a command Prompt as administrator (cmd.exe)
- Type Diskpart then press Enter
- Type List Disk then press Enter
- Type Select Disk X (where X is the disk number of your USB drive) then press Enter
- Type Clean then press Enter
- Type Create Partition Primary then press Enter
- Type Format fs=Fat32 Quick then press Enter (You can also use NTFS or exFAT)
- Type Active then press Enter
- Type Exit then press Enter