How to Fix a USB Drive That Is Not Showing Up

A USB drive not showing up in File Explorer usually means one of three things: the drive never enumerated, Windows sees the hardware but will not attach a volume to it, or the device itself has failed. Those three cases have three different fixes, and the order matters because the cheap checks take seconds while the deep ones take an hour. Work from the port inward to the disk, and stop as soon as the drive appears, because every step after that one is wasted effort. Most of the fixes need nothing more than Windows itself, a second machine to test against, and a clear head about what the evidence is telling you.

Start with a different port

USB ports fail in ways that look exactly like a bad drive. A port with no power behind it, a tired front panel header, or a hub that cannot deliver enough current will not mount anything.

  1. Move the drive to a USB 3 port. On a desktop these are the blue or teal sockets in the cluster on the rear panel. On a laptop they carry the small SS symbol, or they are the only blue port on the side.
  2. Use a port on the back of the tower rather than the front panel. Front panel ports run through a header inside the case, and a loose connector there can cost you a morning.
  3. Skip the hub, the docking station, and the USB ports on the monitor. They share a controller and a power budget with whatever else is plugged in.
  4. Plug a keyboard into the same port to confirm the socket is alive. A keyboard that lights up tells you the port and its controller work.

Test the drive elsewhere, then test another drive here

One swap tells you which half of the problem you own. Skipping it is how people spend an afternoon fixing the wrong half of the fault.

Test Result What it means
Plug the drive into another computer It appears The first machine's port or driver is at fault
Plug the drive into another computer Still missing The drive is failing
Plug another drive into the first computer It appears The original drive is the problem
Plug another drive into the first computer Also missing The first machine's ports or drivers are the problem

If the same drive fails in two computers and two ports, you have hardware failure.

Look at the drive in Disk Management

Press the Windows key, type diskmgmt.msc, and press Enter. Disk Management shows every disk Windows can see, including ones with no drive letter.

Disk Management window listing disks including an unallocated USB drive
Disk Management showing disks that File Explorer does not display

If the drive does not appear at all, no partition repair will help. Open the Action menu in the Disk Management menu bar and choose Scan for hardware changes. Windows then re-enumerates the bus and usually picks up a drive left in a bad state after a hot plug.

Check Device Manager for a warning icon

Windows marks a device it has problems with using a yellow triangle. A drive that enumerates but refuses to start shows up there even when Explorer shows nothing at all.

  1. Press the Windows key, type devmgmt.msc, and press Enter.
  2. Expand Universal Serial Bus controllers and look for Universal Serial Bus Mass Storage Device, plus any entry carrying a yellow triangle.
  3. Right click the flagged entry and choose Uninstall device. Tick the box to delete the driver software, unplug the drive, plug it back in, and let Windows reinstall the driver from its own store.
  4. If the entry disappears and does not come back, the drive is not being detected at the hardware level and driver work will not save it.
Device Manager showing a yellow warning triangle on a USB mass storage device
A yellow triangle on a USB mass storage entry in Device Manager

Take driver updates from your PC or laptop maker rather than a driver download site. An out of date chipset or USB controller driver produces this symptom on older machines.

Work out whether the disk is dying

A failing flash drive often keeps its device entry, drops its volume, and returns empty reads. That looks identical to a driver problem until you look at the hardware.

No step in this guide brings a dead drive back. If the same drive produces no device entry on two separate computers, the flash controller or the memory inside has finished, and formatting it in the hope of a miracle only costs you time. If the data matters, read how to check SSD and HDD health in Windows first.

Rebuild the partition with diskpart

When Windows sees the disk but the partition table is broken, diskpart can lay down a fresh one. This erases everything, so read the recovery section below first if the drive holds files.

Open Command Prompt as administrator, then run these commands one at a time:

diskpart
list disk
list volume
select disk 2
attributes disk
clean
create partition primary
format fs=exfat quick
assign
exit

Take the disk number from list disk and check it twice against the capacity shown there. Running select disk 2 when you meant disk 1 wipes the wrong drive, and there is no undo.

Command prompt running diskpart commands against a USB drive
diskpart in an elevated Command Prompt, listing disks before a clean and format

Choose exFAT or NTFS for removable media

exFAT is the sensible default for a modern flash drive. It has no practical single file size limit, and Windows, macOS, and Linux all read it without extra software. FAT32 is still common on older drives, and its 4 GB single file ceiling is why large installers refuse to copy.

Format Max single file Cross platform Good for
exFAT No practical limit Windows, macOS, Linux Flash drives and memory cards holding large files
FAT32 4 GB Windows, macOS, Linux Small drives for older cameras, consoles, and car stereos
NTFS No practical limit Windows native, macOS reads with extra software Windows only drives that need file permissions or encryption

NTFS earns its place when the drive carries per-user permissions, or when you need Windows encryption on a drive that leaves your hands. Windows 10 and 11 write to NTFS removable drives without trouble now, though many cameras refuse the format.

Clear the write protected flag

A drive that mounts but refuses every write reports The media is write protected or This device is write protected. Two causes account for most of these: the files carry the read-only attribute, or a policy blocks writes to removable devices.

  1. Open Command Prompt as administrator and run attrib -s -h -r D:\* /s /d. That clears the system, hidden, and read-only attributes from every file and folder on the drive, recursively. Change D: to the letter your drive actually uses.
  2. Check the disk attributes in diskpart with attributes disk. If read only is listed, clear it using attributes disk clear readonly, then run clean again.
  3. If write protection returns on every drive, a policy is setting it. Look at Windows Components > Removable Storage Access in gpedit.msc and remove the deny write access setting. The matching registry value is WriteProtect under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\StorageDevicePolicies.
  4. A drive that reports itself as full also blocks writes. Check free space in Explorer, and if the space went missing on the system drive, how to find large files taking up disk space shows where it went.

Recover the files when the drive does not mount

chkdsk repairs a file system, and it can only work on a volume Windows can already read and that has a drive letter. If the drive never gets a letter, chkdsk is the wrong tool.

chkdsk D: /f

Run that from an elevated Command Prompt with the drive letter the machine gave the volume. The /f switch fixes the file system. Adding /r makes chkdsk repair bad sectors as well, which takes hours and can destroy data that is still recoverable, so leave /r off unless you hold a backup.

When Windows never sees the drive at all, the options narrow quickly. Try another adapter or a direct port, boot a Linux live USB and read the partition from there, or use a recovery tool such as TestDisk or PhotoRec to rebuild the partition table. If the controller has failed, no software on any machine can read the memory inside it. Files that came off a drive after a hard failure may also fail their checksum, and how to fix Windows ZIP extraction errors explains how to tell a damaged disk apart from a bad download.

Frequently asked questions

Why is my USB drive not showing up in File Explorer?

Windows needs three separate things to show a drive: the device must enumerate, a disk must exist in the disk list, and a volume with a drive letter must be attached to it. When any one of those is missing, the drive vanishes from Explorer. Disk Management shows you which of the three has failed.

How do I open Disk Management and see a drive with no letter?

Press the Windows key, type diskmgmt.msc, and press Enter. Drives appear in the lower pane even without a drive letter, showing as unallocated space, offline, or with a RAW file system. Right click the disk and choose Bring Online if it is marked offline, and Change Drive Letter and Path to give a healthy volume a letter.

Should I format a USB drive that is not showing up?

Format when Windows sees the disk but cannot read the partition, because there is nothing on the drive left worth keeping. Do not format when the disk does not appear at all, since no formatter can reach a drive the hardware layer is not detecting. Never format a drive holding files you have not backed up.

Can I fix a USB drive that Windows cannot see at all?

Only while the hardware still works. Try a second machine, a direct port, and a different drive in the same port to isolate the fault. When the same drive stays invisible on two computers, the flash controller or the memory has failed, and the files need a professional recovery service or a new drive.

What to remember

Start with the port and the swap test. If the drive then shows up in Disk Management as unallocated space, the hardware is fine and the partition is the problem, and diskpart will rebuild it in a couple of minutes.