run diskpart
#list all mounted disks
list disk
#select target disk
select disk [number]
offline disk
online disk
#if not online again, the hard disk will not auto mounted next time
Refer to this
run diskpart as admin
#list all mounted disks
list disk
#select target USB
select disk [number]
#reformat
clean
create partition primary
select partition 1
format fs=fat32 quick