Code 45 in Device Manager

Code 45 means the device was connected before but Windows cannot see it now. Reconnect it and the code clears by itself; if it is a device you no longer use, you can ignore it or uninstall the greyed entry. Microsoft's Device Manager error code article says no resolution is necessary for Code 45 because it only reports the disconnected status.

Checked November 3, 2026 against the manufacturer's own pages.

The short version

What to install and where it comes from. Every link goes to the manufacturer or Microsoft, never to a copy.

Exact messageCurrently, this hardware device is not connected to the computer. (Code 45)
Developer nameCM_PROB_PHANTOM
How it looksA faded icon, visible with View, Show hidden devices
Fix neededNone, unless the device is plugged in and still not detected
Microsoft Support: Error codes in Device Manager (Code 45)support.microsoft.comMicrosoft Learn: Code 45 CM_PROB_PHANTOMlearn.microsoft.comIntel: Device Manager error codes for Intel Wi-Fi or Bluetoothintel.com

Official files only, nothing bundled

Step by step

  1. Decide if the device should be there

    Look at the device name. If it is an old phone, printer, USB stick or a dock you no longer use, Code 45 is just a record of it and you can stop here.

  2. Reconnect it

    If you use the device, plug it back in or turn it on. Microsoft says the code resolves automatically once the device is connected again.

  3. Try another port and cable

    If it is plugged in and still shows Code 45, Windows is not detecting it. Use a different port directly on the PC and a known good cable, and give external drives their own power.

  4. Remove entries you no longer need

    In Device Manager, choose View, Show hidden devices. Faded entries are not connected. Right-click one you no longer use, choose Uninstall device and confirm.

  5. Check built-in devices with the PC maker

    If a built-in part such as Wi-Fi or a webcam shows Code 45, check that its switch or BIOS setting is on, then update the BIOS and drivers from the PC maker.

Faster option: update drivers automatically

The steps above fix this one device. If several drivers are old, a driver updater finds and installs them all in one go, and backs up the current ones first.

  1. Driver Updater scan listing outdated drivers1. Scan. Download the free version and run a scan.
  2. Missing driver found with the newest version2. Review. See each old or missing driver with its newer version.
  3. Update complete with every driver updated3. Update. Update one driver free, or all at once with Pro.

Update this driver automatically

Finds and updates this driver and every other outdated driver on your PC.

Auslogics Driver Updater · Free scan · Windows 11, 10, 8, 7 · Backup before every change

Why does Device Manager show Code 45?

Microsoft’s full message reads “Currently, this hardware device is not connected to the computer. To fix this problem, reconnect this hardware device to the computer. (Code 45)”. The device was installed at some point, so Windows kept its driver and settings. It is simply absent right now. Microsoft Learn adds that the code should only appear when Device Manager is set to show devices that are not present, which is what View, Show hidden devices does. In normal view, absent devices stay out of the list.

When Code 45 is a real problem

The code matters only when the device is plugged in or built in and Windows still calls it disconnected. That means the hardware is not answering at all. The usual culprits are physical:

  • A loose or damaged cable, or a port that has failed.
  • A USB hub without its own power, which cannot run a hard drive.
  • A wireless card or webcam turned off by a keyboard key, a privacy switch or a BIOS setting.
  • A dock or adapter that needs its own firmware update from its maker.

Fix the connection first. Reinstalling a driver does not help while Windows cannot see the device at all.

Cleaning up old devices

Microsoft documents a cleanup for its Code 49 case, where too many old device records fill the registry, and the same steps tidy a list full of Code 45 entries. On Windows 10 and Windows 11, open Device Manager, select View, Show hidden devices, then uninstall each faded entry you no longer use. Restart when you finish. Leave anything under System devices or Software devices alone unless you know what it is.

Questions

Is Code 45 an error I need to fix?

Usually not. Microsoft describes it as a status indicator for a disconnected device. It only needs action when the device is physically connected and still not seen.

Why do I see dozens of Code 45 devices?

Windows keeps records of devices that were connected before, such as USB sticks, phones and monitors. Microsoft notes these stay in the registry after the device is gone. Showing hidden devices lists them, each with Code 45.

Is it safe to uninstall greyed-out devices?

For devices you no longer own, yes. If you connect one again later, Windows detects it and installs its driver again. Avoid removing entries you do not recognize under System devices.

My built-in Wi-Fi shows Code 45. Is it broken?

Not necessarily. Intel lists Code 45 for its Wi-Fi and Bluetooth cards, and its steps include making sure the wireless function is on and updating the BIOS.