|| Three paritions appears in my pendrive ntfs, ext4 and unallocated||


My name is sanpreet singh. I have hp pendrive with the model v232w. First i created the bootable image for ubuntu which created ext4 partition and some unallocated space. Then i tried to create bootable image of the windows on the same pendrive which created three partition named as ntfs, ext4 and write protected unallocated space.

Please see the screenshot from the below link


Solutions i tried
1.) I tried with diskpart in windows cmd but no results
2.) I tried with gparted in linux
3.) I tried with some software such as AOMEI Partition Assistant Professional Edition, EaseUS Partition Master Free but no use

I think there should be some software which should come for all companies such as hp, sandisk which can format the pendrive irrespective of any partition in the pendrive. (hp pen drive flash software)

Any help is appreciated

System Configuration: Linux / Chrome 91.0.4472.114