You plug in your 128GB USB flash drive, and Windows shows it as 32GB. Or worse, it reports 0 bytes of available space. If you are dealing with this frustrating problem, you are not alone. Thousands of users search for how to fix a USB flash drive that shows the wrong capacity every month, and the good news is that most cases are fixable at home.
Our team has tested and documented every major method for restoring a USB drive to its full capacity. In this guide, we will walk you through the exact DiskPart commands, Disk Management steps, Mac solutions, and testing tools you need. We will also help you figure out whether your drive is simply misconfigured or actually a counterfeit.
By the end of this article, you will know exactly what caused the capacity error, how to fix it safely without losing data, and how to prevent it from happening again.
Table of Contents
What Causes a USB Flash Drive to Show the Wrong Capacity
A USB flash drive showing incorrect capacity is typically caused by corrupted partition tables, incorrect formatting, or firmware issues that prevent the drive from reporting its true storage space. Understanding the root cause helps you pick the right fix.
Here are the most common reasons your USB drive shows less space than it should:
1. Corrupted or multiple partition tables. Sometimes a formatting tool, a bootable USB creator, or a tool like DBAN creates multiple partitions on your drive. Windows only reads the first partition by default, so you see a fraction of the total capacity. The rest sits as unallocated space that the operating system ignores.
2. RAW file system errors. When the file system gets corrupted, Windows may display the drive as RAW instead of FAT32, NTFS, or exFAT. A RAW drive often shows 0 bytes used and 0 bytes free, making it completely inaccessible.
3. Incorrect formatting. If a drive was formatted with an incompatible file system or an interrupted format process occurred, the capacity can shrink unexpectedly. We have seen drives formatted on cameras or Linux machines that show up oddly on Windows.
4. Fake or counterfeit drives. This is the one cause no software can fix. Counterfeit USB drives are programmed to report a large capacity (like 128GB) but actually contain a much smaller memory chip (like 8GB). The controller chip simply lies to the operating system about the available storage.
5. Firmware or hardware failure. If the flash memory chips inside the drive are degrading, the controller may lock out damaged sectors. This reduces usable capacity and often signals that the drive is dying.
How to Fix a USB Flash Drive That Shows the Wrong Capacity: Method 1 – DiskPart
DiskPart is a built-in Windows command-line tool that gives you low-level control over disks and partitions. It is the most reliable method for restoring a USB drive to full capacity because it wipes the partition table completely and lets you start fresh. This method works on Windows 10 and Windows 11.
Warning: DiskPart will erase all data on the selected drive. Back up any important files before proceeding. Double-check that you select the correct disk number, because selecting the wrong disk will destroy data on your hard drive.
Follow these steps carefully:
Step 1. Press Windows Key + R, type cmd, then press Ctrl + Shift + Enter to open Command Prompt as Administrator. Click “Yes” on the User Account Control prompt.
Step 2. Type diskpart and press Enter. A new prompt will appear reading “DISKPART>”.
Step 3. Type list disk and press Enter. You will see a list of all connected drives. Identify your USB drive by its size. Note the disk number carefully.
Step 4. Type select disk X (replace X with your USB drive number) and press Enter. DiskPart will confirm: “Disk X is now the selected disk.”
Step 5. Type clean and press Enter. This removes all partition and volume information from the drive. If you see an error, type clean all instead, which performs a full zero-write but takes much longer.
Step 6. Type create partition primary and press Enter. This creates a new partition spanning the entire capacity of the drive.
Step 7. Type active and press Enter. This marks the new partition as active (necessary if you plan to make the drive bootable).
Step 8. Type format fs=ntfs quick and press Enter. You can replace ntfs with exfat or fat32 depending on your needs. exFAT works best for cross-platform compatibility between Windows and Mac. FAT32 has a 32GB partition limit in Windows formatting tools but works on virtually all devices. NTFS is ideal for Windows-only use with large files.
Step 9. Type assign and press Enter. This assigns a drive letter so Windows can detect the drive in File Explorer.
Step 10. Type exit and press Enter to close DiskPart.
Open File Explorer and check your drive. It should now display the full capacity. If it does, the problem was a corrupted partition table or multiple partitions, and you have successfully resolved it.
If the drive still shows incorrect capacity after DiskPart, you are likely dealing with a counterfeit drive or hardware failure. Skip to the H2testw testing and fake drive sections below.
Method 2: Using Disk Management to Restore USB Capacity
If you are not comfortable with the command line, Windows Disk Management provides a graphical alternative that accomplishes the same goal. It is a visual tool built into Windows that lets you manage partitions and drives without typing commands.
Step 1. Right-click the Start button and select “Disk Management” from the menu. Alternatively, press Windows Key + X and choose “Disk Management.”
Step 2. Scroll through the lower half of the window to find your USB drive. Look for drives with unallocated space shown in black or multiple partitions shown in blue.
Step 3. Right-click each existing partition on the USB drive and select “Delete Volume.” Click “Yes” to confirm. Repeat until all partitions are removed and the entire drive appears as “Unallocated.”
Step 4. Right-click the unallocated space and select “New Simple Volume.” Click “Next” through the wizard.
Step 5. Accept the default maximum size and click “Next.” Assign a drive letter if prompted, then click “Next” again.
Step 6. Choose a file system (NTFS, FAT32, or exFAT), leave the allocation unit size at default, and click “Next.” Click “Finish” to complete the process.
Your USB drive should now show its full capacity in File Explorer. Disk Management is slightly less powerful than DiskPart because it cannot always remove hidden or protected partitions, but it works for most standard capacity issues.
Method 3: Fixing USB Capacity on Mac Using Disk Utility
No competitor in the search results covers Mac solutions, which is surprising given how many Mac users encounter this problem. If you are on macOS, you can fix a USB drive showing wrong capacity using the built-in Disk Utility tool.
Step 1. Connect your USB drive to your Mac. Open “Disk Utility” by pressing Command + Space, typing “Disk Utility,” and pressing Enter.
Step 2. Click “View” in the top-left corner and select “Show All Devices” so you can see the parent drive, not just the volume.
Step 3. Select the USB drive in the left sidebar. Make sure you select the top-level drive name, not the volume underneath it. This is where many users go wrong.
Step 4. Click the “Erase” button at the top of the window. Enter a name for your drive.
Step 5. For Format, choose “exFAT” if you need Windows compatibility, or “APFS” / “Mac OS Extended (Journaled)” for Mac-only use. For Scheme, select “Master Boot Record” (MBR) for maximum compatibility.
Step 6. Click “Erase” and wait for the process to complete. This wipes all partitions and reformats the entire drive to full capacity.
If Disk Utility shows the wrong capacity even after erasing, click “Partition” instead of “Erase.” Remove all existing partitions, then create a single new partition using the full available space. This handles cases where multiple partitions were created by bootable media tools.
How to Test Your USB Drive’s True Capacity with H2testw
H2testw is a free Windows tool that writes test data to every byte of your USB drive, then reads it back to verify. If your drive is fake, H2testw will detect it by reporting errors when it reaches the actual physical storage limit of the chip. This is the most reliable way to check true USB capacity.
Step 1. Download H2testw from a trusted source like heise online (the original German publisher). Extract the ZIP file and run h2testw.exe. No installation is required.
Step 2. Select your USB drive from the target drive list in the software. Make sure the drive is empty, because H2testw will write test files to it.
Step 3. Click “Write + Verify.” The tool will begin filling the drive with test data. This process can take anywhere from a few minutes to several hours depending on the drive size and speed.
Step 4. Review the results. If the test completes with no errors, your drive is genuine and has the full advertised capacity. If H2testw reports errors starting at a specific offset, your drive is counterfeit. For example, a “128GB” drive might show errors after 7.5GB, meaning it contains an 8GB chip disguised as a 128GB drive.
We recommend running H2testw on any new USB drive before trusting it with important data, especially if you purchased it from a third-party marketplace seller at a suspiciously low price.
Warning: How to Spot a Fake or Counterfeit USB Drive
Counterfeit USB drives are one of the most common reasons a drive shows the wrong capacity. The drive controller is programmed to report a fake capacity, but the actual memory chip inside is much smaller. When you fill the drive past its real limit, old data gets silently overwritten and corrupted.
Here are the warning signs that your USB drive may be counterfeit:
1. The price was too good to be true. A 1TB USB flash drive for $9.99 from an unknown seller is almost certainly fake. Genuine 1TB drives from reputable brands cost significantly more.
2. The brand name is slightly misspelled. Counterfeiters use names like “Sonx” instead of “Sony” or “Kingstan” instead of “Kingston.” Always check the branding carefully.
3. The drive was sold by a third-party marketplace seller. While some marketplace sellers are legitimate, counterfeit drives frequently come from anonymous sellers with no established reputation.
4. Files disappear or become corrupted. If you copy files to the drive and they become corrupted or vanish after you eject and reconnect, the drive is writing past its real capacity and destroying data.
5. The drive shows full capacity in Windows but fails H2testw. The operating system trusts the controller chip’s report. H2testw actually tests the physical storage, so it will reveal the truth.
If your drive is counterfeit, no software fix will help. The physical memory chip is simply too small. Return the drive for a refund if possible, and report the seller to the marketplace platform.
How to Recover Data Before Fixing the Drive
Every fix method described above will erase your data. Before you run DiskPart or reformat the drive, attempt to back up any files you need.
If the drive is still accessible in Windows, simply copy your files to another location. If Windows cannot read the drive (RAW file system, 0 bytes, or access denied), try a free data recovery tool like Recuva, PhotoRec, or TestDisk. These tools can often recover files from drives that Windows cannot read normally.
If the drive is physically failing and recovery software cannot access it, you may need a professional data recovery service. These services can be expensive, so weigh the value of your data before proceeding. We have seen users spend significant money recovering family photos from dying drives, and for irreplaceable data, it can be worth the cost.
Prevention Tips to Avoid Capacity Issues
Most USB capacity problems are preventable with a few good habits:
Always use Safely Remove Hardware. Pulling a USB drive out without ejecting it can corrupt the file system and partition table. Click the “Safely Remove Hardware” icon in your system tray and wait for confirmation before unplugging.
Avoid using bootable USB tools carelessly. Tools like Rufus, Etcher, and the Windows Media Creation Tool repartition your drive. After using them, restore the drive to full capacity using DiskPart before using it for normal file storage.
Buy from reputable retailers. Purchase USB drives from authorized dealers and well-known brands like SanDisk, Samsung, Kingston, or Corsair. Avoid deals that seem too good to be true.
Run H2testw on new drives. Test any new USB drive before trusting it with important data. Five minutes of testing can save you from losing files to a counterfeit chip.
Keep your drives formatted with exFAT. If you use your drive across different operating systems, exFAT provides the best compatibility and supports large files without the 4GB size limit of FAT32.
When the Drive Cannot Be Fixed
Sometimes, a USB drive showing wrong capacity is simply dying. If you have tried DiskPart, Disk Management, and formatting tools, and the drive still shows incorrect capacity, you are likely dealing with hardware failure.
Signs that your drive has failed physically include extremely slow transfer speeds, the drive randomly disconnecting during use, clicking or buzzing sounds, or the drive getting unusually hot. In these cases, the flash memory controller has locked out failing sectors to protect remaining data.
No software can fix dying flash memory. Back up whatever data you can recover while the drive is still readable, then replace the drive. Continuing to use a failing drive risks complete data loss without warning.
We have seen cases where a 128GB drive showed only 3GB after repeated format attempts. In that scenario, the memory chips had degraded to the point where only a small portion remained functional. Replacement was the only option.
FAQ’s
Why is my 128GB USB stick only showing 32GB?
Your 128GB USB showing only 32GB is most likely caused by multiple partitions created by a bootable USB tool, a corrupted partition table, or incorrect formatting. Run DiskPart, use the ‘clean’ command, then create a new primary partition to restore the full capacity. If the drive is counterfeit, it may only contain a 32GB chip disguised as 128GB.
Why is my USB drive not showing full capacity?
USB drives fail to show full capacity due to corrupted partition tables, multiple partitions from bootable media tools, RAW file system errors, interrupted formatting, counterfeit memory chips, or hardware degradation. Use DiskPart to clean and reformat the drive as the first troubleshooting step.
How do I restore my USB drive back to original full capacity?
Open Command Prompt as Administrator, run ‘diskpart’, then use ‘list disk’, ‘select disk X’ (your USB), ‘clean’, ‘create partition primary’, ‘format fs=exfat quick’, and ‘assign’. This wipes all corrupted partitions and restores the drive to its full physical capacity.
Why is my 64GB USB only showing 57GB?
This is normal and not actually a problem. Manufacturers advertise capacity using decimal notation (1GB = 1,000,000,000 bytes) while computers use binary notation (1GB = 1,073,741,824 bytes). A 64GB drive typically shows about 59.6GB in Windows. If it shows significantly less, like 32GB or 8GB, then you have a partition or counterfeit issue.
How do I check if my USB flash drive is fake?
Download and run H2testw, a free tool that writes test data to every byte of your drive and reads it back. If errors appear at a specific storage offset, the drive is counterfeit with a smaller chip than advertised. Also watch for suspiciously low prices, misspelled brand names, and files that corrupt after copying.
Conclusion
Learning how to fix a USB flash drive that shows the wrong capacity comes down to identifying the root cause and applying the right method. For most users, DiskPart solves the problem in under five minutes. If DiskPart does not work, run H2testw to check for counterfeit hardware, and consider whether the drive may be physically failing. Always back up your data before attempting any fix, and buy replacement drives from reputable sources to avoid counterfeit issues in the future.