sodcalculator

10 Tech How-To

Windows 10 Error Code 45 in Device Manager

Guide 10-52017 · Updated · Step by step

Windows 10 error code 45 in Device Manager means the hardware device is not connected to the computer, even though it is physically plugged in. The full message reads: “Currently, this hardware device is not connected to the computer. (Code 45)” — and the fix is usually a simple matter of re-seating the device or restarting the PC. This article explains exactly why Code 45 appears, how to resolve it step by step, and what to do when the standard fixes don’t work.

What Causes Error Code 45?

Error Code 45 is one of the less serious Device Manager errors because it does not indicate a driver conflict or hardware failure. Windows generates this code when it expects a device to be present but cannot detect it. This most commonly happens with:

  • USB devices (flash drives, external hard drives, printers, webcams)
  • Internal expansion cards (Wi-Fi cards, sound cards, graphics cards)
  • Bluetooth adapters and other plug-in peripherals

The error can appear after a driver update, a Windows update, a power surge, or simply because the device was unplugged while the system was running. In some cases, the device is actually functioning but Windows lost track of it due to a glitch in the Plug and Play service.

How to Fix Error Code 45

Because Code 45 is about a missing connection rather than a broken driver, the fixes are mostly physical and software resets. Try these in order:

  1. Physically reconnect the device. Unplug it, wait 10 seconds, and plug it back in. For internal cards, power down the PC, remove the card, re-seat it firmly in its slot, and power back on.
  2. Restart Windows. A full shutdown and restart clears the Plug and Play cache and often clears Code 45.
  3. Use a different port. For USB devices, try another USB port, preferably a rear port on the motherboard rather than a front-panel hub.
  4. Run the Hardware and Devices troubleshooter. Go to Settings > Update & Security > Troubleshoot > Additional troubleshooters > Hardware and Devices. This built-in tool scans for issues and applies fixes automatically.
  5. Uninstall the device from Device Manager. Right-click the device with the yellow triangle, choose Uninstall device, then click Action > Scan for hardware changes. Windows will re-detect it and reinstall the driver.
  6. Check the device on another computer. If the device still shows Code 45 on another PC, the hardware itself may be faulty.

Why Does Code 45 Appear After a Windows Update?

Windows updates can change how the operating system interacts with hardware. A feature update or a driver update may reset the device’s connection state, leaving it in a “not connected” limbo. This is especially common with Bluetooth devices and external GPUs that use a special connector. The fix is usually to uninstall the device from Device Manager and let Windows re-enumerate it. If the problem persists after an update, check Windows Update for a newer driver or roll back the driver to the previous version.

Code 45 vs. Other Device Manager Errors

Device Manager errors are numbered from 1 to 55, and each has a distinct meaning. Code 45 is unique because it is the only one that says the device is not connected. Other codes you might confuse it with:

  • Code 43: Windows has stopped the device because it reported a problem. This is a hardware or driver failure.
  • Code 28: The drivers for this device are not installed.
  • Code 10: The device cannot start. This can be a driver issue or a resource conflict.

If you see Code 45, you should not spend time reinstalling drivers first — the problem is almost always a connection issue. Only after reconnecting and restarting should you consider driver updates.

What If the Device Is Actually Working?

Sometimes a device shows Code 45 but still functions normally. This happens with devices that are built into the motherboard, like a card reader or an audio controller. Windows may have disabled the device in Device Manager without uninstalling it. To fix this, right-click the device, select Enable device, and the error should disappear. If the device is already enabled, try disabling it and then enabling it again — this forces Windows to re-initialize the hardware.

When to Replace the Hardware

If you have tried all the steps above and the device still shows Code 45 on multiple computers, the hardware is likely dead. For example, a USB flash drive that shows Code 45 on every port and every PC is probably failing. For internal components, check if the card is seated properly and that the power connector is attached. If the device is under warranty, contact the manufacturer for a replacement. Do not attempt to open or repair the device yourself unless you have experience, as this can cause further damage.

Frequently Asked Questions

Can I ignore Error Code 45?

If the device is not important to you, you can ignore it. The error does not harm your system or slow it down. However, if the device is something you need, like a network adapter or a storage drive, you should fix it because the device will not be usable while the error persists.

Will uninstalling the device delete my files?

No. Uninstalling a device from Device Manager only removes the software representation of the hardware. It does not delete any files stored on the device. For a USB drive, your files remain intact. You can safely uninstall and reinstall the device without data loss.

Why does my Bluetooth device show Code 45?

Bluetooth devices frequently show Code 45 because they are not always connected. Windows may mark the adapter as disconnected after a sleep cycle or a driver update. Reconnect the Bluetooth adapter, or if it is built-in, disable and re-enable it in Device Manager. Also try removing the paired device in Settings > Devices > Bluetooth and pairing it again.

Does Error Code 45 mean my device is broken?

Not necessarily. Code 45 is a connection error, not a hardware failure. In most cases, the device works fine once it is properly connected or after a restart. Only if the error persists across multiple computers and ports should you suspect the hardware is dead.

How do I check if my device is still under warranty?

Check the manufacturer’s website or the original purchase receipt. Most hardware has a 1-2 year warranty. If the device is under warranty and you have confirmed it is faulty, contact the manufacturer for a replacement. Do not attempt to repair it yourself, as that may void the warranty.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →