For the complete documentation index, see llms.txt. This page is also available as Markdown.

4.4 Restoring a USB Boot Drive in Windows

After a USB storage device has been used as a system installation medium, its partition table structure may change, causing the operating system to be unable to fully recognize its available storage space.

The following provides three methods for restoring USB storage devices in a Windows environment.

Warning

The operations described in this section carry high risk and may damage some or all data. Do not proceed unless you have clearly accepted the worst-case outcome, made a complete and verifiable backup, and have a usable rollback plan.

If you cannot resolve the issue on your own, seek professional technical services.

After using software such as Rufus or Win32DiskImager to create a USB boot drive for system installation, you may find that the USB flash drive's visible capacity is only about 30-100 MB (the EFI system partition; the exact size varies by image).

USB boot drive created using Rufus

This USB flash drive has a capacity of 64 GB.

Restoring a USB Boot Drive Using DiskGenius

First, the method for restoring a USB flash drive using DiskGenius is introduced. DiskGenius is a disk management tool; its official website is https://www.diskgenius.cn/. The free version of this software can meet the needs of the operations described in this section.

Downloading DiskGenius

First, you need to download the DiskGenius software. When downloading, most users should select DiskGenius. DiskGenius download page[EB/OL]. [2026-03-25]. https://www.diskgenius.cn/download.php, which provides download links for various versions of DiskGenius.

After downloading, you will get a ZIP compressed package.

Downloaded DiskGenius

Create a new folder 1 on the desktop (path is C:\Users\Username\Desktop\1), and extract all files from the compressed package to this folder.

Related file structure:

Downloaded DiskGenius

The extracted files should appear as shown below:

Verify DiskGenius extraction results

Launching DiskGenius

After downloading and extracting are complete, launch DiskGenius. Simply find and run the extracted executable file.

To launch DiskGenius, double-click DiskGenius.exe (path such as C:\Users\Username\Desktop\1\DiskGenius\DiskGenius.exe; the specific path varies depending on the extraction location).

DiskGenius

Agree to the license:

DiskGenius

Identifying the USB Flash Drive

After launching DiskGenius, you first need to determine which device is the target USB flash drive.

To determine which is the target USB flash drive, you can usually judge by the USB flash drive's capacity. If you are unsure of the USB flash drive's capacity, check your purchase records or remove the USB flash drive and check the capacity marked on its casing.

  • Judging by capacity: A 64 GB USB flash drive typically displays as approximately 57-59.6 GB in Windows/Linux (because the operating system uses binary units GiB but labels them as GB, 64×10⁹÷1024³≈59.6; actual display is also affected by file system overhead), and displays as 64 GB in macOS (macOS uses decimal units);

  • Judging by drive letter: In the image below, you can identify it by "EFISYS(E:)" (E drive), which is a USB boot drive created using Rufus;

  • Judging by the interface displayed in DiskGenius: The "Hard Disk 1 Interface: USB" label at the top indicates this is a USB device, i.e., the target USB flash drive.

DiskGenius

Restoring the USB Flash Drive

After confirming the target USB flash drive, begin the restoration operation. First, delete all existing partitions on the USB flash drive.

After confirming the target USB flash drive, right-click on it and select "Delete All Partitions":

DiskGenius

After confirming, select "Yes".

DiskGenius

USB flash drive state after deletion:

DiskGenius

Right-click on the empty area and select "Create New Partition".

DiskGenius

Set the parameters as follows: select exFAT for the file system (good compatibility, mainstream operating systems all support read/write, and no single file 4 GB size limit), check "Align to the following number of sectors", and select "4096 sectors" (achieving 4K alignment).

DiskGenius

Click the "Save Changes" button in the upper left corner.

DiskGenius

After confirming, select "Yes".

DiskGenius

After confirming, select "Yes".

DiskGenius

Final result:

DiskGenius

Open File Explorer:

DiskGenius

Restoration complete.

Restoring a USB Boot Drive Using AOMEI Partition Assistant

In addition to DiskGenius, you can also use AOMEI Partition Assistant to restore a USB flash drive. The usage method is basically the same as the DiskGenius method described above.

Downloading and Installing AOMEI Partition Assistant

First, you need to download the AOMEI Partition Assistant software.

AOMEI Partition Assistant official website: https://www.disktool.cn/, which is the official website for AOMEI Partition Assistant.

Click AOMEI Technology. AOMEI Partition Assistant download page[EB/OL]. [2026-03-25]. https://www.disktool.cn/download.html, which provides download links for various versions of AOMEI Partition Assistant. It is recommended to download the "Green Edition" (no installation required, can be run directly). In the extracted directory, find "PartAssist.exe" (the executable file name may vary slightly), right-click and select "Open".

AOMEI Partition Assistant

Tip

The Professional Edition will prompt for an authorization code; enter "1122". See AOMEI Technology. AOMEI Partition Assistant FAQ[EB/OL]. [2026-03-25]. https://www.disktool.cn/faq/partition-assistant.html, which provides frequently asked questions about AOMEI Partition Assistant, "Partition Assistant usage code: 1122".

AOMEI Partition Assistant Professional Edition usage code

Identifying the USB Flash Drive Device

After launching AOMEI Partition Assistant, first determine which device is the target USB flash drive.

You can determine whether a device is a USB flash drive using the following information (if the interface is not fully displayed, use the mouse scroll wheel to scroll down):

AOMEI Partition Assistant

Open "Properties and Health":

AOMEI Partition Assistant

Observe the interface:

AOMEI Partition Assistant

Restoring the USB Boot Drive

After confirming the target USB flash drive, begin the restoration operation: first delete all partitions, then create a new partition.

Deleting All Partitions

First, you need to delete all partitions on the USB flash drive.

Select the USB flash drive device, right-click and select "Delete All Partitions".

AOMEI Partition Assistant

In the confirmation dialog, click "OK" to execute the "Delete All Partitions" operation.

AOMEI Partition Assistant

The interface after the operation is as shown below. Click the "Submit" button in the upper left corner to confirm and apply the above changes.

AOMEI Partition Assistant

Click "Execute".

AOMEI Partition Assistant

Confirm.

AOMEI Partition Assistant

Partition deletion complete.

AOMEI Partition Assistant

Creating a New Partition

After deleting all partitions, you need to create a new partition for the USB flash drive.

Click the USB flash drive at the bottom, right-click, and select "Create Partition".

AOMEI Partition Assistant

Set the file system to "exFAT", then click the "OK" button.

AOMEI Partition Assistant

Then click "Submit" in the upper left corner.

AOMEI Partition Assistant

In the confirmation window that pops up:

AOMEI Partition Assistant

Execute:

AOMEI Partition Assistant

At this point, the software has automatically assigned drive letter E to the USB flash drive.

AOMEI Partition Assistant

Restoring via the diskpart Command

In addition to graphical interface tools, you can also use the Windows built-in command-line tool diskpart to restore a USB flash drive. To restore a USB flash drive using the command-line tool, first open PowerShell as an administrator, then select the appropriate operation steps based on the USB flash drive's partition table type.

MBR (Master Boot Record) and GPT (GUID Partition Table) are two common disk partition table formats, compared as follows:

Feature
MBR
GPT

Full Name

Master Boot Record

GUID Partition Table

Applicable Scenarios

Older computers

Modern computers

Maximum Disk Capacity

2 TB

9.4 ZB

Maximum Number of Partitions

4 primary partitions

128 (Windows)

Boot Method

BIOS/Legacy

UEFI

Open PowerShell: Right-click the Windows icon and select "Windows PowerShell (Administrator)".

MBR Partition Table

First, the method for restoring a USB flash drive with an MBR partition table is introduced.

GPT Partition Table

Last updated