What does Windows error code 1167 (ERROR_DEVICE_NOT_CONNECTED) mean?

 
Previous Next
ERROR_DEVICE_DOOR_OPEN ERROR_NOT_FOUND

ERROR_DEVICE_NOT_CONNECTED

The device endpoint is no longer connected to its expected hardware path

PnP device presence is ultimately reported by the parent bus. When a child departs, the bus relation set changes and Windows drives the device stack through surprise-removal or remove processing as appropriate. This status indicates that the operation reached a device that is not connected, rather than merely busy or temporarily vetoing removal.

Check the physical or virtual bus first: USB port state, PCIe hot-plug state, virtual device backend, or another enumerator-specific presence signal. Then correlate the disconnect with device-removal events and interface notifications. Applications should close the old handle and wait for a new device arrival before reopening. Drivers should fail hardware-dependent I/O after surprise removal and preserve only the state needed to finish teardown until IRP_MN_REMOVE_DEVICE arrives.

What to inspect

  • Confirm the parent bus no longer reports the child in its relation set.
  • Correlate the disconnect with surprise-removal and interface notifications.
  • Close stale handles and reopen only after a fresh device arrival.

References


Looking for a different code? Search another status or error code.