How to remove partitions from a USB stick
If you have a USB stick that has various partitions and you are having trouble removing them from with Windows Disk Management, then you might like to try the following:
update 2017: These days I find it much easier to use a free tool called BootICE, it neatly repartitions the USB stick with no fuss, it also has lots of other features that you might find useful. I will leave the old post below as it is still useful knowledge.
Open up command prompt and enter the following commands in sequence:
diskpart list disk
Carefully select the disk that you want to correct. Example: I want to remove all partitions on Disk 1:
select disk 1 recover
If the RECOVER command doesn’t work, try CLEAN.
Create a partition with:
create partition primary
then format with: