USB · Windows 11
Fix USB ports that work for some devices but not others
A port that accepts one device and ignores another feels arbitrary, but USB faults follow patterns: the fault follows the device, follows the port, follows the cable, or follows sleep and power settings. A five-minute test with one trusted device separates those four patterns cleanly, and each one has a different fix — guessing without the test just swaps parts at random.
What you need
- One device you trust. A basic wired mouse or a flash drive you know works. A simple, known-good device is the test instrument for the whole guide — it separates a bad port from a bad device faster than any setting.
- The device that fails, with its own cable. Bring the cable it came with, not a random spare. Cable faults imitate port faults, and the test below only works if you change one thing at a time.
- A few minutes to test methodically. The whole diagnosis is a small grid: two devices, two or three ports. Rushing it and swapping everything at once leaves you knowing no more than when you started.
Split the fault: per port or per device
- Run the grid before changing any setting. Test the failing device in a second port, and test the trusted device in the failing port. Four outcomes are possible, and each one sends you to a different section: the device fails in every port (the device or its cable is the fault), the device works in another port (the first port or its driver is the fault), every device fails in one port (that port is the fault), or failures seem random (power management or a driver, covered in the advanced section).
- Connect directly, with nothing in between. For every test, plug straight into the PC — no hub, dock, or extension cable. Hubs have their own power limits and their own faults, and a device that fails through a hub but works directly has already told you where the problem is. Add the hub back only after the direct connection works.
- Watch what Windows does at the moment of connection. Note whether Windows makes the connection sound, shows the device in File Explorer or its app, or shows nothing at all. A device that appears and then vanishes behaves differently from one that never appears, and a device that charges but never appears as data is a separate case handled below.
The simple fixes, in order
- Restart, then test the grid again. A USB controller can get stuck in a state where one port or one device stops responding until the PC restarts. Restart from the Start menu — not sleep, not hibernation — and repeat the two-device test before changing anything else. If everything works after the restart and the fault returns within days, note that pattern; it points at the power management step in the advanced section.
- Try the device's own cable, and inspect it. Swap in the cable the device came with. A cable that is worn, kinked, or built only for charging can pass power while carrying no data at all — the device lights up or charges, and Windows never sees it. That charging-only pattern is a cable property, not a port fault, and no Windows setting changes it. If the device works on its own cable, the spare cable was the whole problem.
- Look at the port itself. With the PC off or the device unplugged, look into the suspect port with a light. A bent contact, a broken plastic tongue, or packed lint and dust will defeat a port while its neighbors work fine — which is exactly the per-port pattern from the grid. Clear loose dust gently with short bursts of compressed air. A port with visibly bent or missing contacts is a hardware fault: stop using it, because forcing a plug into it can short it and take neighboring ports down with it.
- Give a hungry device a direct, full-size port. External drives and some audio and capture devices draw more power than a front-panel or hub port reliably gives. If the failing device is one of those, test it in a port on the back of a desktop or directly on the laptop, and if it has its own power supply, connect that too. A device that works at the back and fails at the front has a power or wiring difference between the ports, not a driver problem.
The advanced route: Device Manager and power management
- Read the device's status in Device Manager. Open Device Manager, expand Universal Serial Bus controllers, and also look under the device's own category. A device shown with a warning mark has a status code: open its Properties and read the code under Device status. Microsoft's Error codes in Device Manager in Windows lists what each code means and the resolution it suggests, which is a better guide than guessing from the device name alone.
- Turn off power saving on the USB root hubs. Still in Device Manager, open each USB Root Hub entry under Universal Serial Bus controllers, go to the Power Management tab, and clear Allow the computer to turn off this device to save power. Windows powering a hub down can leave specific ports or devices dead until a restart, while others keep working — a pattern that looks random until this setting is off. Restart after changing it, then use the ports normally for a day or two before judging it.
- Reinstall the device driver, then the controller. If one device fails on every port, right-click it in Device Manager, choose Uninstall device, unplug it, restart, and plug it back in so Windows installs a fresh driver. Microsoft covers the manual update route in Update drivers manually in Windows, and the device maker's own driver is the right source for anything specialized like audio interfaces or capture hardware. Only if several unrelated devices misbehave on the same controller should you uninstall the USB controller entries themselves the same way — Windows reinstalls them on restart, and a keyboard and mouse on that controller will stop working until it does.
- Check for the device under a different name. Some devices appear in Device Manager as a generic entry, under a maker's category, or as an unknown device rather than under the name on the box. With the device plugged in, choose View > Devices by connection or simply unplug and replug it while watching which entry appears and disappears. That entry — whatever it is called — is the one whose status code and driver matter.
End state
- Every working port recognizes both the trusted device and the previously failing device, connected directly.
- Any port that still fails does so for an identified reason — visible damage, or a status code you have read — not an unexplained one.
- The devices stay recognized after a restart and after the PC sleeps and wakes.
When it goes wrong
- No USB device works anywhere, including the keyboard and mouse. That is a different and larger fault than this guide's pattern. The USB device not recognized guide covers the case where Windows rejects devices outright.
- A device works until the PC sleeps, then never wakes. A device that specifically fails to come back after sleep is a selective-suspend pattern, distinct from the per-port and per-device splits in this guide. Work the root hub power management step above first; if the fault is strictly tied to waking, treat sleep as the trigger rather than the port.
- The device works on another PC but never on this one. The device and cable are cleared, so the fault is this PC's driver or controller for that device class. Reinstall that device's maker driver, and check the maker's notes for a firmware update for the device itself.
- One port is physically damaged. Leave it empty and use the others. On a desktop, a damaged front-panel port can sometimes be disconnected from the motherboard header by a repairer; on a laptop, a dead port is a repair-shop decision weighed against living with one fewer port.
Related fixes
-
Fix a PC that loads some websites but not others
When some websites load and others time out on the same PC, the connection itself is working — the name lookup, a stale cache, or one adapter setting is failing for certain sites only. Test with a different DNS server first, clear the resolver cache and reset the IP stack next, and check whether the pattern follows the browser or the connection.
-
Fix a printer that prints from some apps but not from others
A printer that works from one app and fails from another is rarely broken — the apps are reaching it by different routes: a different printer entry, a different driver, or a queue that one app bypasses. Print a test page, pin every app to the same working queue, then fix the route that fails.
-
Fix a PC whose USB ports all stop working after a driver update
When every USB port dies right after a driver update, the update itself is the prime suspect — all the ports share one controller driver. Get control back with a workaround input first, roll that controller driver back next, and pause updates until a fixed driver appears.
-
Fix a USB device that Windows does not recognize
Prove whether the fault is the device, the cable, the port or Windows, then clear the driver and power settings that keep a good device hidden.
Sources
- Microsoft Support, Error codes in Device Manager in Windows — how to find a device's status code and what each code suggests.
- Microsoft Support, Update drivers manually in Windows — updating and reinstalling a device driver through Device Manager.