| Previous | Next |
| ERROR_INVALID_HW_PROFILE | ERROR_QUOTA_LIST_INCONSISTENT |
ERROR_INVALID_PLUGPLAY_DEVICE_PATH
A caller supplied a path that does not identify a valid Plug and Play device node
Plug and Play devices are represented by devnodes with device instance identifiers and registry-backed configuration. A PnP registry path is not an arbitrary file-system path or device-interface symbolic link. This error indicates that the path passed to the configuration operation did not match the form or location expected for a PnP device node.
Check how the path was obtained. Prefer SetupAPI or Configuration Manager enumeration results over constructing registry strings from display names, hardware IDs, or interface paths. Device instance IDs and device interface paths serve different purposes and are not interchangeable. If the failure follows device removal or re-enumeration, refresh the device information set instead of reusing a stale path. SetupAPI.dev.log can help correlate the current devnode and installation activity.
What to inspect
- Record the exact path and the API that rejected it.
- Re-enumerate the device through SetupAPI rather than rebuilding the path manually.
- Compare the current device instance ID with the value cached by the caller.
References
- Microsoft: IRP_MN_QUERY_ID
- Microsoft: SetupAPI device installation log entries
- Microsoft: introduction to Plug and Play
Looking for a different code? Search another status or error code.