Storage · USB drives
Fix a USB flash drive that shows far less capacity than it should
A 64 GB flash drive that reports 8 GB is usually not broken — it is partitioned for something else, most often a boot installer it once carried. Disk Management shows the real layout, and the fix is to remove the old partitions and give the whole drive one new one.
What you need
- Everything on the drive copied somewhere else first. The clean rebuilds in this guide erase the drive completely, and only the Extend step keeps the files. Copy everything off first either way.
- Certainty about which disk is the flash drive. You will be deleting partitions. Work out the drive's disk number and size in Disk Management and double-check it before every destructive step.
- An administrator account. Disk Management and DiskPart both need admin rights.
Read the problem before you touch it
- Look at the whole disk, not the one partition. Right-click Start and open Disk Management. Find the flash drive by its total size. File Explorer shows only the first usable partition; Disk Management shows the full layout, including any space marked Unallocated. Microsoft's overview of the tool is Overview of Disk Management.
- Match the layout to the story. A small partition followed by a large unallocated stretch is the classic leftover from a bootable installer, a recovery image, or a device that formatted the drive for its own use. The capacity is still there — Windows is simply not counting the unallocated part.
- Know the honest exception. If Disk Management shows the disk itself as smaller than its label — the total, not just one partition — the drive may be a counterfeit that reports false capacity, or genuinely failing. The steps below cannot create capacity the hardware does not have; the snags section covers how that case behaves.
The simple fixes, in order
- Extend into the unallocated space, if it sits right after the partition. In Disk Management, right-click the drive's existing partition and choose Extend Volume. If the unallocated space is directly beside it, the wizard can grow the partition to the full drive in one step, keeping the files. If Extend is grayed out, move to the next step.
- Delete the partitions and start clean in Disk Management. Right-click each partition on the flash drive and choose Delete Volume until the whole disk shows as one unallocated space. Then right-click it, choose New Simple Volume, take the full size, assign a letter, and format as exFAT for a drive you will use across devices, or NTFS for Windows-only use with large files.
- Confirm in File Explorer. The drive should now report close to its labeled size. A small difference is normal: formatting and the maker's decimal counting account for it. A drive labeled 64 GB showing roughly 58–60 GB is healthy; one showing 8 GB is not.
The advanced route
- Use DiskPart when Disk Management refuses. Some installer and recovery partitions cannot be deleted from Disk Management. Open Windows Terminal as administrator, run
diskpart, thenlist disk. Identify the flash drive by size — stop and re-check here, because the next commands are destructive and immediate. Runselect disk Nwith the flash drive's number, thenclean. Microsoft documents the commands in DiskPart commands. - Build one partition across the whole drive. Still in DiskPart, run
create partition primary, thenformat fs=exfat quick label=USB, thenassign. Typeexitand check the drive in File Explorer. - If clean itself fails, try the drive in another port and PC. A drive that errors during clean on two machines is failing hardware, not a partition puzzle, and no tool below this line will change that.
End state
- Disk Management shows one partition spanning the full disk, with no unallocated space left over.
- File Explorer reports a capacity close to the label, allowing for normal formatting differences.
- You can copy a large file onto the drive and open it back without errors.
When it goes wrong
- The full size returns, but large copies fail partway. That is the counterfeit signature: the drive reports capacity its chips do not have and loses data past the real limit. Nothing fixes it; retire the drive and never trust it with the only copy of anything.
- You cleaned the wrong disk. Stop writing anything to that disk immediately. Data written after the clean overwrites what recovery could have found; the less the disk is used, the more a recovery tool can retrieve.
- The drive disappears mid-format. Try a different USB port, directly on the PC rather than through a hub. A drive that drops off every machine is at the end of its life.
- Windows says the drive is write-protected. Some drives have a physical switch; check the casing. If there is no switch and DiskPart reports the disk as read-only, the drive has usually locked itself after detecting failures — treat its contents as read-only salvage and replace it.
Related fixes
-
Fix a USB drive that shows as read-only or write-protected
A USB drive that refuses every write is usually carrying a read-only attribute, a physical lock switch, or a file system error — and sometimes it is failing. Copy anything you need off it first, then clear the attribute and check the file system.
-
Fix a drive that shows as RAW in Disk Management and asks to be formatted
RAW means Windows can no longer read the drive's file system — it does not mean your files are gone, and formatting is the one step that can finish them off. Leave the drive's contents alone, check it read-only first, and copy your data somewhere safe before any repair touches it.
-
Fix an external hard drive or USB drive not showing up in File Explorer
The drive connects but no letter appears in File Explorer. Find it in Disk Management, bring it online, assign a letter, and check the volume.
-
Fix a drive that shows the wrong amount of free space in File Explorer
File Explorer's free space figure can disagree with reality when the Recycle Bin, restore points, or a stuck file system count is inflating the used side. Compare the numbers first, clear the quiet hoarders next, then repair the count itself.
Sources
- Microsoft Learn, Overview of Disk Management — viewing a disk's full partition layout, including unallocated space File Explorer does not show.
- Microsoft Learn, DiskPart commands — the documented commands for selecting a disk, cleaning it, and creating a partition.