The corresponding COM Device may be found under:Ĭomputer\HKEY_LOCAL_MACHINE_SYSTEM\CurrentControlSet\Enum\USB\VID_xxx&PID_xxx&MI_00 and VID_xxx&PID_xxx&MI_01Īs you might expect the COM-Port, that is defined under 'FriendlyName' is not always the COM-Port, where you'll find the device in the Windows Device Manager. All Windows desktop/server 32-bit and 64-bit platforms starting from Windows Vista. This software-based USB protocol analyzer allows you to monitor the data transferred between USB applications and devices connected to your computer via USB interfaces. The corresponding USB Device and virutal com port may be identified by the 'ContainerID'.Ĭomputer\HKEY_LOCAL_MACHINE_SYSTEM\CurrentControlSet\Enum\USB\VID_xxx&PID_xxx. Eventually you can get into pretty high COM port numbers and that can be really annoying For example, on my 6-month old Windows 7 install Im already up to. Free USB Analyzer is a non-intrusive software USB sniffer and protocol analyzer for Windows. Under "friendly name" i read out the com port. I wrote some code to scan the pc for all installed virtual com port devices. Thanks to this feature, you do not have to configure the port every time you plug in the device. This way, each time you plug a given USB-232 into that computer, it will retain the selected properties.
#Windows check usb virtual port numer serial number
This works as expected (2 drivers one for the generic usb device and one for the virutal com port). The Windows registry stores this information by the serial number of the USB device and the port number. I have a generic usb device using the windows virual com port driver. I'm a little stuck with some piece of code I wrote and successfully tested on several PCs.