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.
- Confirm Code 45 in Device Manager.
- Reconnect and power the physical device.
- Try a direct port instead of a hub/dock when practical.
- Scan for hardware changes after reconnecting if Windows does not rediscover it.
1
Reconnect and rescan
Low riskWhy: The documented state is that Windows does not currently see the hardware connection.
- Disconnect and reconnect the device securely.
- Open Device Manager.
- Use Action > Scan for hardware changes or pnputil /scan-devices when appropriate.
- Recheck Device status.
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