When Windows shows the "USB device not recognized" notice or simply doesn't detect a flash drive, external disk or phone, the cause is usually a faulty port or cable, a driver that didn't install properly, or Windows power management turning off USB ports to save energy. Before anything else, unplug the device, restart the PC (restart, not sleep) and plug it into another port, directly into the computer rather than through a hub or dock. If that works, you know the problem was the port or the hub.
First, rule out the hardware
These checks take a couple of minutes and save you from wasting time on settings:
- Try every port. On a desktop, use the ones on the back of the case, which connect directly to the motherboard. On a laptop, try each of them.
- Swap the cable. Many failures come from worn cables or cables that only charge.
- Connect it to another computer. If that one doesn't recognize it either, the problem is the device, not your PC.
- Give it enough power. Some external drives need their own power adapter or a Y-cable to work. On a laptop, plug in the charger and unplug USB devices you aren't using. For power-hungry devices, a powered hub works better than a passive one.
If the connector is damaged, the port is loose or doesn't work with anything, or the device fails on every computer, it's a physical fault and can't be fixed from Windows.
Check the error code
Windows usually tells you why it doesn't recognize the device. To see it, search for Device Manager in the Start menu and open it. The problem device appears with a yellow triangle, usually under Universal Serial Bus controllers or Other devices, often named "Unknown USB Device".

Right-click it, choose Properties and look at the Device status box. These are the most common codes:
| Code | What it means | What to do |
|---|---|---|
| 43 | Windows stopped the device because it reported a problem | Update or reinstall the driver and try another PC |
| 28 | The drivers aren't installed | Download them from the manufacturer's website |
| 19 | There's a problem with the device configuration | Uninstall it and install it again |
| 31 | Windows can't load the driver | Reinstall the driver or run Windows Update |
Update Windows
Windows Update installs fixes and drivers that often solve these problems. On Windows 11, go to Settings > Windows Update > Check for updates; on Windows 10, to Settings > Update & Security > Windows Update. Install everything pending and restart.
Update or reinstall the USB driver
In Device Manager (you can also open it with Windows + X):
- Expand Universal Serial Bus controllers.
- Right-click the device with the yellow triangle and choose Update driver > Search automatically for drivers.
- If that doesn't fix it, right-click again, choose Uninstall device and restart the PC. On startup, Windows will detect it and reinstall the driver.
If the device is from a specific brand, such as a drive with its own software or a special peripheral, download its driver from the official website. We explain how in our guide to manually updating drivers in Windows.
Stop Windows from turning off USB ports
To save power, Windows can turn off USB hubs, and sometimes doesn't wake them up properly. To prevent it:
- In Device Manager, expand Universal Serial Bus controllers.
- Right-click USB Root Hub and choose Properties.
- On the Power Management tab, untick Allow the computer to turn off this device to save power and click OK.
- Repeat for every USB Root Hub in the list.
Turn off Fast Startup
If USB stops being recognized after shutting down the computer, Windows Fast Startup may be to blame, because it doesn't fully reset the drivers. Go to Control Panel > Hardware and Sound > Power Options > Choose what the power buttons do, click Change settings that are currently unavailable, untick Turn on fast startup and save the changes. Then restart.
If it's an external drive or flash drive
Sometimes Windows does recognize the drive, but you can't see it in File Explorer because it has no drive letter. Press Windows + X and open Disk Management. If the drive appears without a letter, right-click its partition and assign one. If it shows as Unallocated, it has no usable partition: creating a new one will make it usable, but anything on it would be lost, so if it holds important data, don't do it before trying to recover them.
To avoid damaging flash drives and disks, always eject them before unplugging: USB icon in the system tray, Eject, and wait for Windows to confirm it's safe to remove. If you just want to copy files, here's how to transfer photos to a USB drive on Windows and Mac.
If it's a phone
If the computer charges the phone but doesn't see it:
- Android: unlock the phone, tap the USB notification and change Charging only to File transfer.
- iPhone: unlock it and, when asked, tap Trust this computer.
Last resort: reinstall all USB controllers
If nothing above works, in Device Manager uninstall every entry under Universal Serial Bus controllers, one by one from top to bottom, and restart: Windows will reinstall them all on startup. Bear in mind that a USB keyboard or mouse may stop working in the meantime, so do it with the laptop's touchpad or keyboard, or restart with the power button if you lose them.






