2026-05-03 9:23 PM
Hello,
I am working on an STM32 USB CDC (Virtual COM Port) device using the STM32 USB Device Library (CubeMX-generated project).
My goal is to have the device appear on Windows as a custom COM port name such as:
MO3 Device (COMx)
However, I want to achieve this without using a custom INF file, since distributing and installing drivers on every PC is not practical for my use case.
From my current understanding:
I have a few specific questions:
If complete control is not possible without INF, I would like to understand the exact limitations imposed by usbser.sys and Windows PnP behavior.
Any insights, practical workarounds, or reference implementations would be greatly appreciated.
Thank you.
2026-05-03 11:39 PM
Hi @luisfynn1
Device naming is controlled by the host OS, driver binding, and its registry properties, not by the USB device alone. It can be changed. The behavior may vary across Windows versions, updates, and driver cache state.
From the device side, you can configure naming in product string descriptor as shown in this example.
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.