Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to delete or unpartition a USB drive partition on Windows 10

2025-01-15 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

Today, I will talk to you about how to delete or cancel the USB drive partition on Windows 10, which may not be well understood by many people. in order to make you understand better, the editor has summarized the following contents for you. I hope you can get something according to this article.

A partition on a USB drive or pen drive seems a little unreasonable to people who have never encountered this situation on a USB drive. Because most of the time we have only one primary partition on a USB drive, that's why many people may never encounter this type of multi-partition problem on a thumbnail drive. But recently, when I used software called balenaEtcher to create a bootable USB drive, it created five partitions on my drive. After that, I was a little worried that it might have damaged the Pen drive. Because I can't format it directly from Windows's my computer interface. So I used the Diskpart command tool and was finally able to return it to its original form. I mean successfully unpartitioned or deleted multiple partitions to create a primary partition on my pen drive.

So, I will follow the command that I will mention in this article, in case anyone also encounters the same problem and wants to restore the bootable USB / partition drive to its original state.

How to delete multiple partitions from a USB drive in Win10

To restore the USB drive to its original state, we need to run a command prompt under administrative privileges.

Press Windows + R key to open the RUN box at the same time.

Type CMD in the run box.

Now press Shift + Ctrl and click Run Box's Ok button.

The command prompt will require permission to run in administrative mode. Click the Yes button.

When the command prompt opens, type: DISKPART and press Enter.

Type another command, List Disk, at the Diskpart prompt.

-- all disks present on the computer system, including USB drives, will be displayed on the screen.

Now we need to select the USB drive. Therefore, to select the USB drive type: select disk X and replace X with the disk number.

-- in this step, we will call all multiple partitions of the USB drive. The command for this is: list partition

-- all partitions of the USB drive will be displayed.

-- now select each partition one by one to delete. The command for this will be:

-- Select partition X and replace X with the number of partitions, such as 1, 2, and 3.

-- after selecting a partition, execute the partition delete command, that is, delete the partition

Repeat the above two steps until all partitions are not deleted.

-- if any partition of the USB drive is protected, you will receive the message "you cannot delete a protected partition without a mandatory protection parameter set." In this case, you need to execute the force partition delete command.

-- the command to force the deletion or deletion of protected partitions is to delete partition overrides

-- after deleting all multiple partitions, you can now use this command to create a single primary partition:

-- create a primary partition

-- after creating the primary partition type: exit.

Go to my computer, and when you try to open the Pen drive, it will ask for formatting, so do so.

That's what you have to do.

Referenced screenshot:

Press Windows + R on the keyboard. Then type CMD. Then press Shift + Ctrl again and click the OK button to run it under administrative privileges.

Type Diskpart

Then list the disks

Select disk X-Note: replace X with the disk serial number. See the screenshot.

Type the list partition

Select partition X Note: replace X with the partition serial number.

Select partition X Note: replace X with the partition serial number.

Execute delete command: delete partition

After you delete all partitions, create a new primary partition. The command is: create the primary partition

The Command output we performed when we deleted multiple partitions of the USB drive to restore it to its original state.

Microsoft Windows [Version 10.0.17134.112] (c) 2018 Microsoft Corporation. All rights reserved. C:WINDOWSsystem32 > diskpart Microsoft DiskPart version 10.0.17134.1 Copyright (C) Microsoft Corporation. On computer: DESKTOP-ALL3OPD DISKPART > list disk Disk # Status Size Free Dyn Gpt-Disk 0 Online 223 GB 0 B Disk 1 Online 3726 GB 2500 MB Disk 2 Online 186 GB 0 B Disk 3 Online 14 GB 14 GB * DISKPART > select disk 3 Disk 3 is now the selected disk. DISKPART > list partition Partition # Type Size Offset-Partition 1 Unknown 512B 8 MB Partition 2 Unknown 512B 8 MB Partition 3 Unknown 512B 8 MB Partition 4 Unknown 512B 8 MB Partition 5 System 32 MB 122MB DISKPART > select partition 1 Partition 1 is now the selected partition. DISKPART > delete partition DiskPart successfully deleted the selected partition. DISKPART > list partition Partition # Type Size Offset-Partition 2 Unknown 512B 8 MB Partition 3 Unknown 512B 8 MB Partition 4 Unknown 512B 8 MB Partition 5 System 32 MB 122MB DISKPART > select partition 2 Partition 2 is now the selected partition. DISKPART > delete parition DiskPart successfully deleted the selected partition. DISKPART > select partition 3 Partition 3 is now the selected partition. DISKPART > delete partition DiskPart successfully deleted the selected partition. DISKPART > select partition 4 Partition 4 is now the selected partition. DISKPART > delete partition DiskPart successfully deleted the selected partition. DISKPART > select partition 5 Partition 5 is now the selected partition. DISKPART > delete partition Virtual Disk Service error: Cannot delete a protected partition without the force protected parameter set. DISKPART > delete partition override DiskPart successfully deleted the selected partition. DISKPART > list disk Disk # Status Size Free Dyn Gpt-Disk 0 Online 223 GB 0 B Disk 1 Online 3726 GB 2500 MB Disk 2 Online 186GB 0B * Disk 3 Online 14 GB 14 GB * DISKPART > select disk 3 Disk 3 is now the selected disk. DISKPART > create partition primary DiskPart succeeded in creating the specified partition. DISKPART > exit

Delete zones graphically:

It is recommended that you use the command prompt option because the graphics disk management option does not work effectively at some time.

Follow the steps to delete the USB drive partition:

Note: make sure the USB pen drive is plugged in before starting the following steps.

Press Win + R to open the "run" command

Type "compmgmt.msc" and press Enter or click the "OK" button

This command will turn on computer management for you

-- in the left pane, under Storage, click disk Management

Now, maybe disk 1 is your removable drive (pen drive), just like mine

-right-click each partition and select Delete Volume from the given options.

After all pen drive partitions are deleted, it will be unallocated in one partition

Now, right-click the unassigned partition and select New simple Volume to create a single pen drive partition.

After reading the above, do you have any further understanding of how to delete or unpartition USB drives on Windows 10? If you want to know more knowledge or related content, please follow the industry information channel, thank you for your support.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report