Fix USB-COMport WIN11

Zoltán Góg 0 Reputation points
2026-06-26T13:14:05.5266667+00:00

Hi all

We have a specify production and we need to use FIX COMports

The main problem is when we do a restart in the computer the ports gets different number

but we need to fix it to do not change

Anybody knows something about how to stop the changes?

Windows 11

Zebra CDC driver is not compatible

Windows for business | Windows 365 Enterprise
0 comments No comments

1 answer

Sort by: Most helpful
  1. Jason Nguyen Tran 21,375 Reputation points Independent Advisor
    2026-06-26T15:24:09.8933333+00:00

    Hi,

    By default, Windows dynamically assigns COM port numbers to USB-to-Serial adapters, which is why you’re seeing the numbers shift. To fix this, you’ll want to manually assign a static COM port number to each device.

    The recommended approach is to open Device Manager, locate the USB Serial Device under “Ports (COM & LPT),” go to Properties > Port Settings > Advanced, and then set a fixed COM port number. Once assigned, Windows will remember that mapping for the device, even after a reboot. If you’re deploying this across multiple machines, you can also script the configuration using PowerShell with Set-ItemProperty or use Group Policy Preferences to enforce consistent port assignments.

    Best practice is to document which physical devices are mapped to which COM ports, so your production software always knows what to expect. Also, avoid assigning very high COM numbers, as some legacy applications may not recognize them properly.

    If you find this answer helpful, kindly hit “accept answer”.

    Jason

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.