Fix external hard drive showing incorrect capacity after use as Windows boot USB by cleaning and recreating partitions via Diskpart.