Fix a USB Drive That Keeps Disconnecting or Not Recognized
In this article
If your USB drive keeps disconnecting, not showing up, or failing to be recognized by your computer, the issue is often fixable without data loss by checking connections, updating drivers, or repairing the file system. Start by trying the drive on another USB port or computer to rule out hardware faults, then proceed with software-based troubleshooting.
What You'll Need
- A Windows PC (steps are for Windows 10 or 11; macOS and Linux users should use Disk Utility or terminal equivalents)
- The problematic USB drive
- Another USB port or computer (for testing)
- Administrator access to the PC
Step-by-Step
- Disconnect the USB drive and reconnect it to a different USB port, preferably a USB 2.0 port (black insert) if you're using a USB 3.0 port (blue insert), as some older drives have compatibility issues with USB 3.0 controllers.
- If the drive still isn't recognized, plug it into another computer. If it works there, the issue is likely with your PC's USB ports, drivers, or power settings. If it doesn't work on any computer, the drive may be failing.
- On the Windows PC, press Win + X and select Device Manager. Expand Universal Serial Bus controllers, right-click each USB Root Hub (USB 3.0) or Generic USB Hub, and choose Uninstall device. Do not check the box to delete the driver software. After uninstalling all, restart your PC — Windows will reinstall the drivers automatically.
- After reboot, reconnect the USB drive. If it appears, open File Explorer to see if you can access your files. If the drive shows up but is inaccessible or asks to format, proceed to the next step.
- Press Win + X and choose Disk Management. Locate your USB drive in the lower pane (it may show as Removable with no drive letter or as Healthy but unallocated).
- If the drive has no drive letter, right-click the partition and choose Change Drive Letter and Paths..., then Add and assign a letter (e.g., E:).
- If the drive shows as Unallocated, right-click it and choose New Simple Volume to create a new partition. Warning: This will erase all data on the drive. Only do this if you have backed up the data or are prepared to lose it.
- If the drive shows a file system like RAW or you suspect corruption, right-click the partition and choose Properties > Tools > Check under Error checking. Click Scan drive to let Windows attempt to fix file system errors without formatting.
- If the drive still isn't working, open Command Prompt as administrator (search for cmd, right-click, Run as administrator) and run:
chkdsk X: /f(replace X with your drive letter). This checks and fixes logical file system errors. If you get Cannot open volume for direct access, trychkdsk X: /f /rto locate bad sectors and recover readable data. - As a last resort before considering hardware failure, try updating the USB controller drivers manually: in Device Manager, under Universal Serial Bus controllers, right-click each item, choose Update driver > Search automatically for drivers. Repeat for any Disk drives entries related to USB storage.
Common Mistakes
- Assuming the drive is broken without testing it on another computer or USB port first.
- Formatting the drive immediately when it shows as RAW or unallocated, causing permanent data loss if files were still recoverable.
- Using third-party "USB repair" tools that may install malware or overwrite the drive unnecessarily.
- Ignoring power settings: some USB ports are selectively suspended to save power, causing intermittent disconnections.
- Not safely ejecting the drive before unplugging, which can corrupt the file system over time.
Tips
- If the drive works intermittently, try a different USB cable if it's an external drive with a detachable cable — faulty cables are a common cause of connection issues.
- For drives that disconnect during file transfers, disable USB selective suspend: go to Control Panel > Hardware and Sound > Power Options, click Change plan settings > Change advanced power settings, expand USB settings > USB selective suspend setting, and set it to Disabled.
- Label your USB drives and avoid using them on public or untrusted computers to reduce the risk of malware-induced corruption.
- If the drive is detected but shows incorrect capacity (e.g., a 64GB drive showing as 32MB), it may have a fake controller — common with cheap counterfeit drives — and is likely not reliably fixable.
Troubleshooting
If the drive still isn't recognized after all steps:
- Listen for unusual sounds: clicking or grinding from an external HDD indicates mechanical failure — stop using it to avoid further damage and consider professional data recovery.
- Check if the drive appears in Device Manager under Disk drives with a yellow warning icon. Right-click it, choose Properties, and note the error code (e.g., Code 43 means Windows has stopped the device due to reported problems). Search Microsoft's support site for that specific code.
- Try a Linux live USB (like Ubuntu) to boot and see if the drive is detectable there — if it works in Linux but not Windows, the issue is almost certainly Windows-specific (driver, registry, or file system).
- If the drive shows up in Disk Management as Healthy but No Media, the flash memory or controller may be dead — this is typical of end-of-life USB flash drives.
- As a final test, try assigning a drive letter via Command Prompt:
diskpart, thenlist volume, identify your USB volume by size,select volume X,assign letter=Y(replace X and Y). If diskpart cannot see the volume, the drive is likely not functioning at the hardware level.
Frequently Asked Questions
Will fixing the USB drive delete my data?
Not if you only update drivers, check disk errors, or assign a drive letter. Formatting or repartitioning will erase data — always back up first if possible.
Why does my USB drive work on one computer but not another?
Differences in USB port power output, driver versions, Windows updates, or selective suspend settings can cause inconsistent behavior across systems.
Is it safe to keep using a USB drive that keeps disconnecting?
No — frequent disconnections increase the risk of file system corruption. Fix the underlying issue or replace the drive if it's unreliable.
Can a virus cause a USB drive to stop being recognized?
Yes, malware can corrupt the file system or hide partitions. Scan the drive with antivirus software when accessible, and avoid using it on untrusted machines.
What does it mean if Disk Management shows the drive as "RAW"?
It means Windows cannot read the file system — often due to corruption, improper ejection, or bad sectors. Chkdsk or data recovery tools may help before formatting.
How long should a USB flash drive last?
Under normal use, 5–10 years is typical, but frequent writes, heat, or physical stress can shorten lifespan. Treat them as temporary storage, not long-term archives.