It can be done with a command line tool called diskpart
The steps (on Windows 10) are as follows:
- Click the windows icon
- Type
cmd
(do not hit enter)
- Right click the 'Command Prompt' option (it was the first option for me), select 'Run as administrator' and click 'Yes' on the confirmation popup
Click into the 'Administrator: Command Prompt' window, type diskpart
and hit enter (be careful from here on - you are doing low-level things to your drives and could delete your main drive if you're not careful)
You should see a DISKPART>
prompt. Type list disk
and hit enter. You'll get a list of drives back - you want to find the USB drive. It will probably be much smaller than your main drive. I'm using my system as an example - yours will probably be different so you're going to have to work out which drive is the USB drive. You don't want to get this wrong! If you are in any doubt, seek help from a more technical friend. You can destroy your data if you get it wrong!
For example, on my system I see:
DISKPART> list disk
Disk ### Status Size Free Dyn Gpt
-------- ------------- ------- ------- --- ---
Disk 0 Online 1863 GB 10 MB *
Disk 1 Online 58 GB 0 B *
The USB drive in my case is Disk 1 (I have a 64Gb drive, 58 is close enough!). It's clearly not the 1863Gb Disk 0, that is my main Windows drive. I don't want to go anywhere near that one!
Now I want to select disk 1
and hit enter (It might be 2 or another number on your system. Almost certainly NOT 0.)
Now type list partition [enter]
and you'll see the partitions on your USB drive.
I had a 200Mb EFI partition that I wanted to delete. It was partition 1 so I did select partition 1 [enter]
The EFI partition on my drive was protected, so when I tried to delete the partition, it failed. The command to force it is delete partition override
. This will delete the selected partition. Note: I had to use the help system to figure this out: help delete partition [enter]
gave me what I needed.
Once you've deleted the partition(s), you can go back into Disk Management and reformat / repartition the drive with the nice GUI :)
You can see all the diskpart commands by typing help [enter]
. There's a lot there, but I prefer to do as little as possible in diskpart and then go back to the Disk Management GUI.
@OmarShahine : I have a first partitions in NTFS and a second one in ext4. MAIN Problem : windows only see the ext4 partition! – user2284570 – 2014-09-10T23:15:23.407
4Windows will recognise the first primary partition ONLY. If there is no primary partition, it will recognise the first virtual/extended partition ONLY. Source: Partition Master version 10 (pops up a warning when trying to create a partition on a removable drive that is smaller than the total size of the device) – kurdtpage – 2016-01-25T07:07:38.617
3The fact he is asking about bitlocker tells me that its windows. – Mark Broadhurst – 2013-10-21T09:36:52.003