USB serial port adapters have been notoriously problematic, getting remapped to other COM ports
sometimes simply by rebooting. Because the device instances during USB enumeration could change,
USB serial port adapters have been considered too unreliable to use in the field. However, Microsoft
has provided a means to address this specific issue in Windows.
2 Registry Solution
Run regedt32 and browse to the following registry key:
Add a REG_DWORD registry entry IgnoreHWSerNum appended with the Vendor and Device ID of the
USB serial port adapter.
Set the registry value to 0x0001 to force the USB driver stack to ignore the serial number of the device.
Instead, device instances are tied to the connected USB port.
For example, I have two USB serial port adapters with VID/DID 0x0403/0x6001 and one with VID/DID
First, create the following REG_DWORD registry entries:
Modify both registry values to 0x0001.
Reboot the system.
As long as the USB serial adapters do not move to a different USB port, the assigned COM port number
wills no longer change.