Facing an issue regarding USBPRINT port creation and metadata (Device info) creation in registry.

Sumit Mishra 1 Reputation point
2021-09-15T07:28:56.39+00:00

With Plug N Play printer device through USB on WIndows11 OS, We are facing an issue regarding USBPRINT port creation and metadata (Device info) creation in registry.

Generally if any Plug N Play USBPRINT device is plugged to the PC, registry entries(like Device parameters) should be created under following registry path,

"Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\DeviceClasses{28d78fad-5a12-11d1-ae5b-0000f803a8c2}"

for e.g., (Reference from Win10)
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\DeviceClasses{28d78fad-5a12-11d1-ae5b-0000f803a8c2}##?#USB#VID_08A6&PID_8053&MI_00#6&27e1620&1&0000#{28d78fad-5a12-11d1-ae5b-0000f803a8c2}]
"DeviceInstance"="USB\VID_08A6&PID_8053&MI_00\6&27e1620&1&0000"

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\DeviceClasses{28d78fad-5a12-11d1-ae5b-0000f803a8c2}##?#USB#VID_08A6&PID_8053&MI_00#6&27e1620&1&0000#{28d78fad-5a12-11d1-ae5b-0000f803a8c2}#]

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\DeviceClasses{28d78fad-5a12-11d1-ae5b-0000f803a8c2}##?#USB#VID_08A6&PID_8053&MI_00#6&27e1620&1&0000#{28d78fad-5a12-11d1-ae5b-0000f803a8c2}#\Device Parameters]
"Port Number"=dword:00000001
"Port Description"="xxxxxxxxxxxxx"
"Base Name"="USB"
"Serial Number"="xxxxxxxxx "
"Interface Number"=dword:00000000

However, on Windows11 OS "Port Description", "Base Name", "Serial Number", "Interface Number" is not getting created.

We analyzed USB data packets and found the required device parameters data has been sent to the PC, however the registries are not getting created in Windows11 unlike in Windows10.

Since we are using Setup API(SetupDiGetClassDevs,SetupDiEnumDeviceInterfaces,SetupDiGetDeviceInterfaceDetail) to enumerate and get the details related to our device, we are facing issue to find our device(we filter our device using Port description which is not creating in Win11) because of incomplete registries creation under "Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\DeviceClasses{28d78fad-5a12-11d1-ae5b-0000f803a8c2}"

Could you please let us know why the registries not getting created even though our device sending the device parameters properly as requested by generic driver? Are there any design changes or Microsoft will correct this behavior?

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,944 questions
Windows 10 Network
Windows 10 Network
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Network: A group of devices that communicate either wirelessly or via a physical connection.
2,293 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,616 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Reza-Ameri 16,846 Reputation points
    2021-09-15T15:30:52.597+00:00

    From what you explained, it might be bug or this feature not implemented yet (since Windows 11 is still under testing) and in case, I advise you to open start and search for feedback and open Feedback Hub app and report this issue.
    Make sure include screenshot or any details which would help the Windows team to reproduce the problem.

    0 comments No comments

  2. Limitless Technology 39,461 Reputation points
    2021-09-16T09:00:48.76+00:00

    Hello @Sumit Mishra ,

    Thank you for your question.

    From your description it seems to be a specific issue with a function released in windows 11 (which hasn't been officially released yet), so I recommend you to create a thread on the windows insider forum that answers windows 11 questions, i believe there you will get the proper answer.

    To create a topic in the forum mentioned above, you must click on the link below and select the top option called "Ask a question" and then you will describe the entire problem and within 24 hours a responsible engineer will answer you.

    https://answers.microsoft.com/en-us/insider/forum?sort=LastReplyDate&dir=Desc&tab=All&status=all&mod=&modAge=&advFil=&postedAfter=&postedBefore=&threadType=All&isFilterExpanded=false&page=1

    If the answer was helpful, please don't forget to vote positively or accept as an answer, thank you.

    0 comments No comments