Forum Discussion
AleB_883
Sep 12, 2023Copper Contributor
I need to force an USB port to only work on the same COM port (production line test)
Hello! I posted this question on answer.microsoft.com but they redirected me here since it's not a home user issue: We have to test a (very) large number of devices by connecting them to a PC (Wi...
powaycraig
Jun 14, 2024Copper Contributor
This absolutely doesnt work I am still in search of the solution.
AleB_883
Jun 17, 2024Copper Contributor
I found out the solution, you have to add a registry binary key to make the PC ignore serial numbers of the device. This means that for a device with the same VID and PID (same manufacturer and product) the unique serial numbers will be ignored and the same com port will be used.
Add a BINARY_KEY called like this and set it to 1:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\UsbFlags\IgnoreHWSerNum{Device VID + Device PID}
Example for a FTDI device:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\UsbFlags\IgnoreHWSerNum04036001