Skip to content
littleden.blogEvidence-led Windows troubleshooting, without the guesswork
Devices & drivers · scoped error record
Code 45

Device Manager Code 45: hardware is not connected

Code 45 is a connection/presence state; reconnect or power the hardware before changing drivers.

Applies to: Windows 11 Device ManagerReviewed: 2026-09-17

What it means in this context

Microsoft documents Code 45 as Windows reporting that the hardware device is not connected to the computer. For removable hardware, the correct first branch is physical reconnection rather than driver replacement.

Start here
  1. Confirm Code 45 in Device Manager.
  2. Reconnect and power the physical device.
  3. Try a direct port instead of a hub/dock when practical.
  4. Scan for hardware changes after reconnecting if Windows does not rediscover it.
1

Reconnect and rescan

Low risk

Why: The documented state is that Windows does not currently see the hardware connection.

  1. Disconnect and reconnect the device securely.
  2. Open Device Manager.
  3. Use Action > Scan for hardware changes or pnputil /scan-devices when appropriate.
  4. Recheck Device status.
Scope boundary

When not to use this record

If the device remains absent across known-good ports or another computer, the physical device/cable path is more important than Windows driver repair.

If it persists

If Windows detects the device again but reports Code 10, 28, 31 or 43, switch to that new error record.

Evidence

Reviewed source