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

Sumit Mishra 1 Reputation point
2021-09-28T10:51:08.62+00:00

Hi,

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 Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,119 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,155 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Reza-Ameri 16,831 Reputation points
    2021-09-28T17:31:09.997+00:00

    Thank you for sharing this behavior.
    As you may know Windows 11 is still under testing and development and I believe this might be a bug.
    I advise you to open start and search for feedback and open Feedback Hub app and report this issue.
    Make sure explain what was the behavior in the Windows 10 and how it has been changed in Windows 11.

    0 comments No comments

  2. Limitless Technology 39,351 Reputation points
    2021-09-28T17:59:43.007+00:00

    Hello Sumit M,

    Thank you for your question.

    As the problem occurs within windows 11 and it has not yet been released in its final version, I recommend that you post your question on the windows 11 forum, so you will have the correct answer on how to solve this.

    To do this, just access the link below and select the top option called "Ask a question" and then describe the entire problem, with photos and texts:

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


    If the answer is helpful, please vote positively and accept as an answer.

    0 comments No comments