This how you remove linux partitions and other partitions in Windows, for instance on an USB drive.
Start a command prompt with Admin rights
For instance by typing
cmd in the windows start menu and right click on
cmd.exe and select Run as Administrator.
Start Windows disk partition manager:
Show all attached disks:
Select which disk you want to remove partitions from:
select disk 1
Remove one partition
To remove one partition first list what partitions you have:
Then select the partition you want to remove:
select partition 1
And then delete it:
Note that it will delete the partition immediately.
Remove all partitions
To remove all partitions on the selected disk do:
To exit the program:
Note: There is no need to save or write changes, as all operations are performed straight away.