- In Device Manager, expand Ports (COM & LPT). Your renamed ports should now be listed there with their COM names — this is the clearest sign the Ports-class assignment worked.
- In your application, reopen the port selection list. The COM names should now appear alongside any physical ports. If the application was already running, restart it — many programs only scan ports once, at startup.
- Run the two-window loopback test against the new names: connect one terminal window to each COM name and confirm characters flow in both directions.
What if the COM number you want is “already in use”?
Sometimes Windows insists a COM number is taken even though no visible device uses it. The usual cause is a ghost reservation: Windows remembers COM numbers assigned to devices that were uninstalled or unplugged, and Device Manager hides those phantom entries unless you ask it to show hidden devices. This is a general Windows housekeeping issue rather than a com0com fault. For now, the pragmatic fixes are to pick the next free number — virtual pairs genuinely do not care which numbers they use — or to clean up the phantom assignments. The FAQ collects the short version of the ghost-port story, and a full cleanup walkthrough is on this site’s troubleshooting roadmap.
Common renaming mistakes
- Giving both ends the same name. The two ends of a pair are separate ports and must have different names. If an application connects to “COM8” it reaches exactly one end; the other program must open the other end’s name. Same-name confusion usually shows up as a port that opens fine but never receives anything.
- Renaming only in your head. Changing a label in your notes — or in an application’s settings — does nothing. The rename has to happen in SetupG or setupc, against the port itself. If
liststill shows CNCA0, the rename did not happen, whatever your application is configured to look for. - Expecting running applications to notice. Port lists are almost always built once, when a program starts. A program opened before the rename will not show the new name until you restart it — this alone accounts for most “the rename didn’t work” reports.
- Reusing a physical port’s number “because it’s unplugged right now”. The day the USB adapter goes back in, two devices claim one number and whichever registered second loses. Virtual ports are free — spend a number that is permanently yours.
A naming habit that pays off later
If you run more than one pair — a simulator pair, a logging pair, a spare — name them in a pattern and write it down: for example COM10/COM11 for the device simulator, COM12/COM13 for the application under test. Months later, when a script or a colleague asks “which port does the simulator live on?”, the pattern answers it. It is also worth keeping the CNCA/CNCB names of each end in the same note: SetupG and setupc always know the original names, and troubleshooting a pair is easier when you can refer to an end unambiguously regardless of its current COM number. None of this is required — but the five minutes it takes is repaid the first time a test bench grows beyond a single pair.
One more subtle case: if you renamed a port while an application had the old name open, that application keeps its handle on the old configuration until it is closed. Always close serial applications before renaming, and reopen them afterwards. If a port still refuses to appear after a verified rename and an application restart, work through the installation checks in the Windows 11 install guide — in particular, confirm the driver itself loaded without Code 52, because a driver that never started cannot publish any ports, renamed or not. Everything else about names, pairs and defaults is gathered in the Guides archive.
- Avoid COM1 and COM2. Legacy software frequently assumes these are physical motherboard ports, and some machines genuinely have them reserved.
- Check what is already taken. Open Device Manager, expand Ports (COM & LPT), and note every number in use by physical serial ports, USB-to-serial adapters, and Bluetooth serial links. Pick numbers outside that set.
- Stay in a tidy range. COM5–COM20 is a practical band for virtual pairs: high enough to avoid legacy assumptions, low enough that even old software that only scans single- or double-digit ports will find them. Note that a few very old programs cannot open ports above COM9 at all — if you are feeding a decades-old application, keep its end of the pair at COM9 or below.
- Rename both ends. Renaming only one end leaves the other invisible to the same class of application. Give every end you plan to expose a COM name.
Verify the rename worked
- In Device Manager, expand Ports (COM & LPT). Your renamed ports should now be listed there with their COM names — this is the clearest sign the Ports-class assignment worked.
- In your application, reopen the port selection list. The COM names should now appear alongside any physical ports. If the application was already running, restart it — many programs only scan ports once, at startup.
- Run the two-window loopback test against the new names: connect one terminal window to each COM name and confirm characters flow in both directions.
What if the COM number you want is “already in use”?
Sometimes Windows insists a COM number is taken even though no visible device uses it. The usual cause is a ghost reservation: Windows remembers COM numbers assigned to devices that were uninstalled or unplugged, and Device Manager hides those phantom entries unless you ask it to show hidden devices. This is a general Windows housekeeping issue rather than a com0com fault. For now, the pragmatic fixes are to pick the next free number — virtual pairs genuinely do not care which numbers they use — or to clean up the phantom assignments. The FAQ collects the short version of the ghost-port story, and a full cleanup walkthrough is on this site’s troubleshooting roadmap.
Common renaming mistakes
- Giving both ends the same name. The two ends of a pair are separate ports and must have different names. If an application connects to “COM8” it reaches exactly one end; the other program must open the other end’s name. Same-name confusion usually shows up as a port that opens fine but never receives anything.
- Renaming only in your head. Changing a label in your notes — or in an application’s settings — does nothing. The rename has to happen in SetupG or setupc, against the port itself. If
liststill shows CNCA0, the rename did not happen, whatever your application is configured to look for. - Expecting running applications to notice. Port lists are almost always built once, when a program starts. A program opened before the rename will not show the new name until you restart it — this alone accounts for most “the rename didn’t work” reports.
- Reusing a physical port’s number “because it’s unplugged right now”. The day the USB adapter goes back in, two devices claim one number and whichever registered second loses. Virtual ports are free — spend a number that is permanently yours.
A naming habit that pays off later
If you run more than one pair — a simulator pair, a logging pair, a spare — name them in a pattern and write it down: for example COM10/COM11 for the device simulator, COM12/COM13 for the application under test. Months later, when a script or a colleague asks “which port does the simulator live on?”, the pattern answers it. It is also worth keeping the CNCA/CNCB names of each end in the same note: SetupG and setupc always know the original names, and troubleshooting a pair is easier when you can refer to an end unambiguously regardless of its current COM number. None of this is required — but the five minutes it takes is repaid the first time a test bench grows beyond a single pair.
One more subtle case: if you renamed a port while an application had the old name open, that application keeps its handle on the old configuration until it is closed. Always close serial applications before renaming, and reopen them afterwards. If a port still refuses to appear after a verified rename and an application restart, work through the installation checks in the Windows 11 install guide — in particular, confirm the driver itself loaded without Code 52, because a driver that never started cannot publish any ports, renamed or not. Everything else about names, pairs and defaults is gathered in the Guides archive.
- Open SetupG (administrator rights) and select the port you want to rename in the pair list — for example CNCA0.
- In that port’s settings, set its port name to the COM name you want, using the
PortName=COM#form: enter COM8 as the new name (SetupG applies it as the port’s PortName). - Repeat for the other end of the pair, choosing a different number — if CNCA0 becomes COM8, make CNCB0 COM9.
- Apply the changes, and close any application that had the old names open.
The SetupG guide tours every option in that window, including the emulation settings that live next to the port name.
Method 2: Rename with setupc
The same change from the Setup Command Prompt is one line per port:
command> change CNCA0 PortName=COM8
command> change CNCB0 PortName=COM9
Run list afterwards to confirm the new names took effect. This is also the fastest way to rename several pairs when you are scripting a test bench — the full command reference is in the setupc.exe command guide.
Choosing a COM number that will not cause trouble
- Avoid COM1 and COM2. Legacy software frequently assumes these are physical motherboard ports, and some machines genuinely have them reserved.
- Check what is already taken. Open Device Manager, expand Ports (COM & LPT), and note every number in use by physical serial ports, USB-to-serial adapters, and Bluetooth serial links. Pick numbers outside that set.
- Stay in a tidy range. COM5–COM20 is a practical band for virtual pairs: high enough to avoid legacy assumptions, low enough that even old software that only scans single- or double-digit ports will find them. Note that a few very old programs cannot open ports above COM9 at all — if you are feeding a decades-old application, keep its end of the pair at COM9 or below.
- Rename both ends. Renaming only one end leaves the other invisible to the same class of application. Give every end you plan to expose a COM name.
Verify the rename worked
- In Device Manager, expand Ports (COM & LPT). Your renamed ports should now be listed there with their COM names — this is the clearest sign the Ports-class assignment worked.
- In your application, reopen the port selection list. The COM names should now appear alongside any physical ports. If the application was already running, restart it — many programs only scan ports once, at startup.
- Run the two-window loopback test against the new names: connect one terminal window to each COM name and confirm characters flow in both directions.
What if the COM number you want is “already in use”?
Sometimes Windows insists a COM number is taken even though no visible device uses it. The usual cause is a ghost reservation: Windows remembers COM numbers assigned to devices that were uninstalled or unplugged, and Device Manager hides those phantom entries unless you ask it to show hidden devices. This is a general Windows housekeeping issue rather than a com0com fault. For now, the pragmatic fixes are to pick the next free number — virtual pairs genuinely do not care which numbers they use — or to clean up the phantom assignments. The FAQ collects the short version of the ghost-port story, and a full cleanup walkthrough is on this site’s troubleshooting roadmap.
Common renaming mistakes
- Giving both ends the same name. The two ends of a pair are separate ports and must have different names. If an application connects to “COM8” it reaches exactly one end; the other program must open the other end’s name. Same-name confusion usually shows up as a port that opens fine but never receives anything.
- Renaming only in your head. Changing a label in your notes — or in an application’s settings — does nothing. The rename has to happen in SetupG or setupc, against the port itself. If
liststill shows CNCA0, the rename did not happen, whatever your application is configured to look for. - Expecting running applications to notice. Port lists are almost always built once, when a program starts. A program opened before the rename will not show the new name until you restart it — this alone accounts for most “the rename didn’t work” reports.
- Reusing a physical port’s number “because it’s unplugged right now”. The day the USB adapter goes back in, two devices claim one number and whichever registered second loses. Virtual ports are free — spend a number that is permanently yours.
A naming habit that pays off later
If you run more than one pair — a simulator pair, a logging pair, a spare — name them in a pattern and write it down: for example COM10/COM11 for the device simulator, COM12/COM13 for the application under test. Months later, when a script or a colleague asks “which port does the simulator live on?”, the pattern answers it. It is also worth keeping the CNCA/CNCB names of each end in the same note: SetupG and setupc always know the original names, and troubleshooting a pair is easier when you can refer to an end unambiguously regardless of its current COM number. None of this is required — but the five minutes it takes is repaid the first time a test bench grows beyond a single pair.
One more subtle case: if you renamed a port while an application had the old name open, that application keeps its handle on the old configuration until it is closed. Always close serial applications before renaming, and reopen them afterwards. If a port still refuses to appear after a verified rename and an application restart, work through the installation checks in the Windows 11 install guide — in particular, confirm the driver itself loaded without Code 52, because a driver that never started cannot publish any ports, renamed or not. Everything else about names, pairs and defaults is gathered in the Guides archive.
You installed com0com, the driver loaded, the pair exists — and your application still shows an empty port list, or only offers COM1 and COM2. This is the single most common com0com problem, and it is almost never a driver fault. Your ports are named CNCA0 and CNCB0, and a large share of serial software simply does not look for ports with names like that. This guide renames them to standard COM port names your applications can see.
Why applications cannot see CNCA0 and CNCB0
CNCA0 and CNCB0 are com0com’s internal port names. They are real ports — the driver created them, and tools that open ports by exact name can use them. But most Windows serial software builds its port list by scanning the standard Windows Ports class, the same place Device Manager lists “Ports (COM & LPT)”. Ports appear there when they carry a standard COM name such as COM3 or COM10. By default, a fresh com0com pair does not — so to an application that scans the Ports class, the pair might as well not exist.
The good news: com0com was designed for this. Since version 3.0.0.0, assigning a port a name in the form PortName=COM# puts that port into the Ports class with a real COM name. Renaming is not a hack or a registry edit; it is a documented driver feature, and you can do it in the GUI or from the command line.
Method 1: Rename in SetupG
- Open SetupG (administrator rights) and select the port you want to rename in the pair list — for example CNCA0.
- In that port’s settings, set its port name to the COM name you want, using the
PortName=COM#form: enter COM8 as the new name (SetupG applies it as the port’s PortName). - Repeat for the other end of the pair, choosing a different number — if CNCA0 becomes COM8, make CNCB0 COM9.
- Apply the changes, and close any application that had the old names open.
The SetupG guide tours every option in that window, including the emulation settings that live next to the port name.
Method 2: Rename with setupc
The same change from the Setup Command Prompt is one line per port:
command> change CNCA0 PortName=COM8
command> change CNCB0 PortName=COM9
Run list afterwards to confirm the new names took effect. This is also the fastest way to rename several pairs when you are scripting a test bench — the full command reference is in the setupc.exe command guide.
Choosing a COM number that will not cause trouble
- Avoid COM1 and COM2. Legacy software frequently assumes these are physical motherboard ports, and some machines genuinely have them reserved.
- Check what is already taken. Open Device Manager, expand Ports (COM & LPT), and note every number in use by physical serial ports, USB-to-serial adapters, and Bluetooth serial links. Pick numbers outside that set.
- Stay in a tidy range. COM5–COM20 is a practical band for virtual pairs: high enough to avoid legacy assumptions, low enough that even old software that only scans single- or double-digit ports will find them. Note that a few very old programs cannot open ports above COM9 at all — if you are feeding a decades-old application, keep its end of the pair at COM9 or below.
- Rename both ends. Renaming only one end leaves the other invisible to the same class of application. Give every end you plan to expose a COM name.
Verify the rename worked
- In Device Manager, expand Ports (COM & LPT). Your renamed ports should now be listed there with their COM names — this is the clearest sign the Ports-class assignment worked.
- In your application, reopen the port selection list. The COM names should now appear alongside any physical ports. If the application was already running, restart it — many programs only scan ports once, at startup.
- Run the two-window loopback test against the new names: connect one terminal window to each COM name and confirm characters flow in both directions.
What if the COM number you want is “already in use”?
Sometimes Windows insists a COM number is taken even though no visible device uses it. The usual cause is a ghost reservation: Windows remembers COM numbers assigned to devices that were uninstalled or unplugged, and Device Manager hides those phantom entries unless you ask it to show hidden devices. This is a general Windows housekeeping issue rather than a com0com fault. For now, the pragmatic fixes are to pick the next free number — virtual pairs genuinely do not care which numbers they use — or to clean up the phantom assignments. The FAQ collects the short version of the ghost-port story, and a full cleanup walkthrough is on this site’s troubleshooting roadmap.
Common renaming mistakes
- Giving both ends the same name. The two ends of a pair are separate ports and must have different names. If an application connects to “COM8” it reaches exactly one end; the other program must open the other end’s name. Same-name confusion usually shows up as a port that opens fine but never receives anything.
- Renaming only in your head. Changing a label in your notes — or in an application’s settings — does nothing. The rename has to happen in SetupG or setupc, against the port itself. If
liststill shows CNCA0, the rename did not happen, whatever your application is configured to look for. - Expecting running applications to notice. Port lists are almost always built once, when a program starts. A program opened before the rename will not show the new name until you restart it — this alone accounts for most “the rename didn’t work” reports.
- Reusing a physical port’s number “because it’s unplugged right now”. The day the USB adapter goes back in, two devices claim one number and whichever registered second loses. Virtual ports are free — spend a number that is permanently yours.
A naming habit that pays off later
If you run more than one pair — a simulator pair, a logging pair, a spare — name them in a pattern and write it down: for example COM10/COM11 for the device simulator, COM12/COM13 for the application under test. Months later, when a script or a colleague asks “which port does the simulator live on?”, the pattern answers it. It is also worth keeping the CNCA/CNCB names of each end in the same note: SetupG and setupc always know the original names, and troubleshooting a pair is easier when you can refer to an end unambiguously regardless of its current COM number. None of this is required — but the five minutes it takes is repaid the first time a test bench grows beyond a single pair.
One more subtle case: if you renamed a port while an application had the old name open, that application keeps its handle on the old configuration until it is closed. Always close serial applications before renaming, and reopen them afterwards. If a port still refuses to appear after a verified rename and an application restart, work through the installation checks in the Windows 11 install guide — in particular, confirm the driver itself loaded without Code 52, because a driver that never started cannot publish any ports, renamed or not. Everything else about names, pairs and defaults is gathered in the Guides archive.
