Two tips for removing active partitions from U disk

Source: Internet
Author: User
Tags reserved

To solve this problem, you need to cancel the active partition of the U disk:

  Technique One: use Diskgenius, open Diskgenius find U disk partition, right click Cancel Activity partition, save on OK.

  Tip Two: use Windows with your own commands

Enter DiskPart at the command prompt, and then enter the list disk in the pop-up window. Confirm the disk number of your USB drive, usually see the size can be seen, assuming that your disk number is 1 (not 1) to replace the

Select disk 1 (Select disks 1, not the self replacement, the disk number starting from 0)

Select partition 1 (select First Partition, partition number starting from 1)

Inactive to cancel the active partition ...

All my actions are recorded:

Microsoft Windows [version 6.1.7601]

Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:usersadministrator>diskpart

Microsoft DiskPart version 6.1.7601

Copyright (C) 1999-2008 Microsoft Corporation.

On the computer: Win-96riklhk9ja

Diskpart> Select Disk 2

Disk 2 is now the selected disk.

Diskpart>?

Microsoft DiskPart version 6.1.7601

Active-marks the selected partition as an active partition.

Add-Adds a mirror to a simple volume.

ASSIGN-Assigns a drive letter or mount point to the selected volume.

ATTRIBUTES-Manipulate volume or disk properties.

ATTACH-Connect Virtual disk files.

AutoMount-Enables and disables automatic loading of basic volumes.

Break-breaks the mirror set.

Clean-clears configuration information or all information from the disk.

COMPACT-try to reduce the physical size of the file.

Convert-converts between different disk formats.

Create-Creates a volume, partition, or virtual disk.

Delete-Deletes the object.

DETAIL-Provides object details.

DETACH-Detach the virtual disk file.

Exit-Exits DiskPart.

EXTEND-Expands the volume.

EXPAND-Expands the maximum size available on the virtual disk.

Filesystems-Displays the current and supported file systems on the volume

Format-Formats a volume or partition

GPT-assigns attributes to the selected GPT partition.

Help-Displays a list of commands.

Import-Imports a disk group.

INACTIVE-marks the selected partition as inactive.

List-Displays the lists of objects.

Merge-merges the child disk with its parent disk.

Online-Bring the currently marked offline object online.

OFFLINE-Makes the object currently marked online offline.

RECOVER-Refreshes the status of all disks in the selected package.

Try to recover the disks in the invalid package and resynchronize the mirrored and RAID5 volumes with obsolete or parity data.

REM-does not play any role. Used to annotate scripts.

Remove-Deletes a drive letter or mount point assignment.

REPAIR-Repairs A RAID-5 volume with a failed member.

Rescan-rescan your computer to find disks and volumes.

RETAIN-place a reserved partition under a simple volume.

San-Displays or sets the San policy for the operating system that is currently started.

SELECT-Moves focus to an object.

SETID-Change the partition type.

SHRINK-Decreases the selected volume.

UNIQUEID-Displays or sets the GUID partition table (GPT) identifier or master boot record (MBR) signature for the disk.

Diskpart> List

Microsoft DiskPart version 6.1.7601

Disk-Displays a list of disks. For example, LIST DISK.

PARTITION-Displays the list of partitions on the selected disk.

For example, LIST PARTITION.

VOLUME-Displays a list of volumes. For example, LIST VOLUME.

Vdisk-Displays a list of virtual disks.

Diskpart> list Disk

Disk ### state size available Dyn Gpt

-------- ------------- ------- ------- --- ---

Disk 0 Online 232 GB 0 B

Disk 1 online GB 0 B

* Disk 2 online GB 0 B

Diskpart> Select Disk 2

Disk 2 is now the selected disk.

Diskpart> Select partition 1

Partition 1 is now the selected partition.

Diskpart> Inactive

DiskPart the current partition as inactive.

Diskpart>

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.