I was given a USB flash drive that had a FAT drive which appeared to be a EFI System Partition when viewed in the Windows Disk Management tool. I wanted to delete this partition, but the disk management tool did not provide any option to resize or delete this partition.
To delete the EFI System Partition, we need to wipe the partition table of this flash drive. To do that:
diskpartto open the commandline disk partition tool.
list disk. Carefully note down the disk number of the flash drive. In my case, it was number
select disk 2. Replace
2with your disk number.
cleanto wipe the partition table of the disk.
exitto exit the disk partition tool.
Tried with: Windows 10