Fix 0x00000224: Device Already Attached Error on Windows
This error shows when you try to connect a device already linked to another controller. We'll show you how to detach it and get it working again.
You plug in a USB scanner, a printer, or sometimes an external hard drive, and Windows kicks back with the error: 0x00000224 - ERROR_DEVICE_ALREADY_ATTACHED. The full message says something like “An attempt was made to attach to a device that was already attached to another device.”
I see this most often with multi-function printers (like HP OfficeJet or Brother MFC models) that have both a scanner and a printer component, but it also happens with USB hubs that share a single controller. The device was previously connected to one controller (maybe via a hub or directly), and now Windows thinks it's still tied to that old controller. So when you try to use it on a different port or after a reboot, it throws this error.
What causes this error?
Under the hood, each device in Windows has a “device stack” — a chain of drivers and controllers. When you first plug in a device, Windows assigns it to a specific USB host controller. If you physically move the device to another controller (like from a USB 2.0 port to a USB 3.0 port, or from a front panel to a back panel), the driver might still hold a reference to the old controller. The new controller tries to attach the device, but the old controller hasn't fully released it, so you get error 0x00000224.
It’s not a hardware problem in most cases — it’s a driver state issue. The device driver got confused about which controller owns it.
Fix: Detach the device from the old controller
Here's the step-by-step fix. It works on Windows 10 and Windows 11, and I've used it on older versions too.
- Unplug the device from your computer completely. If it's a printer or scanner, turn it off too. Wait 10 seconds.
- Open Device Manager. Right-click the Start button (or press Win + X) and select “Device Manager” from the menu. You should see a list of all hardware on your system.
-
Find the “View” menu at the top of the Device Manager window. Click it and select “Show hidden devices”. This shows you devices that are no longer physically connected but still have leftover driver entries.
After you click that, you'll see a few new categories appear — some might be grayed out (ghosted). That's normal. - Expand the “Universal Serial Bus controllers” category. You'll see a list of USB host controllers, hubs, and root hubs. Look for any entry that matches your device’s name or description. It might show as something like “USB Composite Device” or “Generic USB Hub” — but if you know your device model (say “HP OfficeJet Pro 9010”), you'll see it under “Printers” or “Imaging devices” too.
-
Check both “Universal Serial Bus controllers” and “Printers” or “Imaging devices” categories. If you see your device listed, right-click it and select “Uninstall device”.
A warning will pop up saying “You are about to uninstall this device from your system.” Tick the box “Attempt to remove the driver for this device” if it's available (Windows 10 and 11 usually show this). Then click Uninstall.
After clicking Uninstall, the device entry disappears from the list. If you see multiple instances (like one under each category), uninstall all of them. - Look for any “Unknown devices” under “Other devices” in Device Manager. Sometimes the leftover entries show up there with a yellow exclamation mark. Right-click and uninstall those too.
- Restart your computer. This clears the stale driver state completely. Don't skip this — shutting down and booting up flushes the driver cache.
- Plug the device back in after the restart. Use the same port you want to use going forward. Windows will re-detect the device and assign it fresh to the current controller.
After you plug it in, you should see Windows chime and install the driver. Check Device Manager — your device should appear without errors. If it’s a printer or scanner, test it right away by printing a test page or scanning something.
What if it still fails?
If the error comes back, here's what to check:
- Try a different USB port — ideally a port directly on the motherboard (back of the PC) rather than a front panel or hub. Some USB hubs don't share the same controller, but using a direct port avoids confusion.
- Update the device driver manually from the manufacturer's website. Don't rely on Windows Update for this — go to the company's support page, download the latest driver, and install it.
- Check for a firmware update for the device itself. Printers and scanners sometimes have firmware bugs that cause this. Manufacturer support pages usually list firmware fixes.
- If you're using a USB hub (powered or unpowered), try plugging the device directly into the computer. Hubs can create controller conflicts, especially cheap ones.
- Run the Windows Hardware and Devices troubleshooter — type “troubleshoot” in the Start menu, select “Additional troubleshooters”, then find “Hardware and Devices”. Let it run and follow its suggestions. It's not a guaranteed fix, but it's fast and sometimes catches leftover driver issues.
I've seen this error exactly once on a friend's Brother MFC scanner that kept bouncing between two ports. The uninstall-and-restart trick fixed it on the first try. If you've got a stubborn case, the real fix is always to clear those ghosted driver entries from Device Manager. Don't waste time reinstalling Windows or buying new hardware — this is a simple driver housekeeping problem.
Was this solution helpful?