Windows Not Assigning Drive Letters to USB Drives?
In this article
When Windows does not assign a drive letter to an external USB flash drive, the drive is usually detected but stays inaccessible in File Explorer. The quickest fix is to open Disk Management (diskmgmt.msc), right-click the drive or its partition, choose Change Drive Letter and Paths, and add a letter. If the drive has no partition or is unallocated, you will need to create one first. This guide walks through the safe order of checks, from Disk Management to Device Manager, and explains what to do when the usual steps fail.
What You'll Need
- The USB flash drive or external drive and its cable.
- A Windows PC where you can sign in with an administrator account.
- Access to Disk Management (built into Windows; no extra software required).
- Optional: a second USB port or another PC to test the drive if the first attempts fail.
Step-by-Step
- Confirm the drive appears in Disk Management. Right-click Start and choose Disk Management, or press Windows + X and select it from the menu. If you prefer, type
diskmgmt.mscinto the Run dialog (Windows + R) and press Enter. Labels can differ slightly by Windows version and region, but the layout is the same: a list of disks at the bottom and volumes at the top. - Identify the correct disk. Look for a disk whose size matches your USB drive. Do not confuse it with your system disk. If the drive shows as Removable or has a size like 14 GB, 28 GB, or 57 GB, that is likely the one. If you are unsure, unplug the drive, watch which disk disappears, then plug it back in and watch which one reappears.
- Check the partition status. In the lower pane, the drive may show one of these states:
- Healthy (Primary Partition) with a drive letter already assigned — skip to step 5.
- Healthy (Primary Partition) without a letter — continue to step 4.
- Unallocated — you will need to create a new simple volume (step 6).
- Not Initialized — right-click the disk label and choose Initialize Disk, then follow the wizard. This does not erase data by itself, but it prepares the disk for partitioning.
- Assign a drive letter. Right-click the partition (the block showing the size) and choose Change Drive Letter and Paths. Click Add, pick an available letter from the drop-down, and click OK. Windows will assign the letter immediately and the drive should appear in File Explorer. If the option is greyed out, the partition may be formatted with a file system Windows cannot read (see Troubleshooting).
- Verify in File Explorer. Open File Explorer and check This PC. The drive should now be listed with its letter. If it appears but you cannot open it, the file system may be raw or damaged — back up what you can before attempting repairs.
- If the drive is unallocated, create a partition. Right-click the unallocated space and choose New Simple Volume. Follow the wizard: accept the default size, assign a drive letter, and choose a file system. For most USB drives, exFAT is a good choice for cross-platform use; NTFS is fine for Windows-only. Warning: creating a new volume erases existing data on that space. If the drive contains important files, stop and try data recovery first.
- Check Device Manager for driver issues. Press Windows + X and open Device Manager. Expand Disk drives and Universal Serial Bus controllers. If your drive appears with a yellow warning icon, right-click it and choose Update driver > Search automatically for drivers. If that fails, right-click and choose Uninstall device, then unplug and replug the drive — Windows will reinstall the driver automatically. This does not delete your files.
- Try a different port or cable. Use a rear USB port on a desktop rather than a front-panel hub, and avoid unpowered USB hubs. For external hard drives, try a different cable if you have one. If the drive works on another PC, the issue is with the original PC's ports or drivers.
Common Mistakes
- Formatting before checking for data. Formatting or creating a new volume destroys existing files. Always confirm the drive is empty or backed up before proceeding.
- Selecting the wrong disk. Assigning a letter or formatting the wrong disk can make your system unbootable or erase personal files. Double-check the disk size and label.
- Ignoring the file system. A drive formatted for macOS (APFS) or Linux (ext4) may show as unallocated or unreadable in Windows. You may need third-party software to read it, or you can reformat it — but that erases data.
- Using Diskpart without care. Command-line tools like
diskpartare powerful and easy to misuse. Only use them if you are comfortable with disk numbers, and never select the wrong disk.
Tips
- Assign letters from the end of the alphabet (e.g., X, Y, Z) to avoid conflicts with network drives or future devices.
- Keep a note of which letter you assigned so you can find the drive quickly later.
- If the drive frequently loses its letter, check for third-party disk management software or backup tools that may be locking it.
- Use Safely Remove Hardware before unplugging to reduce the risk of file system corruption.
Troubleshooting
If the drive still does not appear or cannot be assigned a letter, work through these checks in order:
- Drive shows as “No Media” or has 0 bytes: The flash memory may have failed. Try it on another PC; if the same result appears, the drive is likely dead and data recovery may require professional help.
- “Change Drive Letter and Paths” is greyed out: The partition may be a system or boot partition, or the file system is not recognized. Check the partition style (MBR vs GPT) and file system in Disk Management. For unrecognized file systems, back up data using recovery software before reformatting.
- Disk shows as “Not Initialized” and initialization fails: The drive may have a hardware fault. Test on another PC. If it fails there too, replace the drive.
- Drive appears in Device Manager but not Disk Management: This can indicate a driver conflict. Uninstall the device in Device Manager (as in step 7), then rescan for hardware changes via Action > Rescan Disks in Disk Management.
- Letter assigned but drive inaccessible: The file system may be corrupted. Run
chkdskfrom an elevated Command Prompt:chkdsk X: /f(replace X with the drive letter). Warning: chkdsk can sometimes worsen damage on failing drives; back up first if possible. - Drive works on another PC but not this one: The issue is with the PC's USB ports, drivers, or policy settings. Check Settings > Bluetooth & devices > USB (or Devices in older versions) for USB restrictions, and try a different port.
Frequently Asked Questions
Why does Windows not assign a drive letter automatically?
Windows usually assigns the next available letter when a drive is connected. If it does not, the drive may have no partition, a conflicting letter, or a file system Windows does not recognize. Disk Management lets you assign one manually.
Will assigning a drive letter delete my files?
No. Changing or adding a drive letter only changes how Windows references the drive; it does not touch the data on it. Creating a new partition or formatting does erase data.
Can I use a drive letter that is already taken?
No. Windows will not allow two drives to share the same letter. Choose an unused letter from the drop-down list.
What if the drive shows as “Unallocated” in Disk Management?
That means the drive has no partition. You can create a new simple volume, but doing so erases any existing data on that space. If you need the data, use recovery software first.
Does this work for external hard drives as well as USB flash drives?
Yes. The same Disk Management steps apply to external HDDs and SSDs connected via USB. The only difference is that external drives may need external power or a different cable.
Why does the drive letter change every time I plug it in?
Windows may reassign letters if another device is using the previous letter. You can assign a permanent letter in Disk Management, or use Diskpart to set it, but the simplest fix is to choose a high letter like Z that is unlikely to be taken.