Free & Open Source — GPLv2 Null-Modem Emulator

com0com: Virtual Serial Port Driver
for Windows 11/10

com0com is the free, open-source null-modem emulator for Windows: a kernel-mode driver that creates virtual COM port pairs so two applications can exchange data as if linked by a serial cable. The community signed package installs directly on many Windows 11 and 10 PCs — but on some Secure Boot / HVCI machines it still fails with Code 52, so the download page explains exactly what to expect before you install.

✓ GPL Open Source
✓ Original SourceForge Packages
✓ SHA-256 Checksums Published
// Virtual Port Connection
> Creating virtual pair…
CNCA0 <———-> CNCB0
> Status: Connected
> Driver: com0com.sys (kernel mode)
Baud Rate Emulation: Enabled

Start Here — Pick Your Problem

Most visitors arrive with one of six problems. Pick yours and go straight to the page that solves it — no need to read the whole site in order.

🛠️

Install com0com on Windows 11

New here? Start with the step-by-step install: the signed package first, what Code 52 means if it appears, and the honest fallback options.

Open the guide →

⚠️

Fix Code 52

Windows refuses to load the driver? Work the Code 52 decision tree — signed package, certificate conditions, and when Test Mode is (and is not) the answer.

Open the guide →

⬇️

Download the Packages

The original SourceForge packages — signed and unsigned com0com, plus hub4com — with file sizes and SHA-256 checksums published for every file.

Open the guide →

🛰️

Set Up hub4com & GPS Sharing

One GPS or serial device, several programs at once. The hub4com hub explains port splitting, com2tcp networking and RFC 2217 sharing.

Open the guide →

⚖️

Compare Alternatives

If your machine or your workplace says no to com0com, compare the alternatives honestly — Eltima VSPD, VSPE, FabulaTech and the other free routes.

Open the guide →

❓

Read the FAQ

Short answers to the questions everyone asks: Is it free for work? Does it work on Windows 11? What are CNCA0 and CNCB0? Where do the ports go?

Open the guide →

Why Choose com0com for Your Virtual Serial Needs?

com0com is more than just a driver; it is a kernel-mode solution designed for high-performance serial communication and hardware emulation.

🚀

Unlimited Port Pairs

Create an unlimited number of virtual COM port pairs (the official FAQ puts the driver’s internal limit at 1,000,000 pairs). Each pair acts as a transparent bridge, allowing data sent to one port to be instantly received by the other, mimicking a physical null-modem cable.

🛡️

Kernel-Mode Stability

Unlike user-mode wrappers, com0com runs as a kernel-mode virtual serial port driver. Because the ports are created in the kernel, applications see them as real COM hardware — including legacy Windows software that expects physical ports.

⚙️

Advanced Emulation

Supports Baud Rate Emulation, 7/8-bit data, and parity control. You can also simulate line noise or buffer overruns to test the robustness of your serial communication software under extreme conditions.

🌐

Network Extension

Compatible with com2tcp and hub4com. Easily redirect local COM port data to remote TCP/IP servers or share a single serial device among multiple applications simultaneously.

🏷️

Flexible Naming

Fully customizable port naming. Change default names like CNCA0 to standard COM3, COM4, or COM10 to ensure compatibility with third-party software that only recognizes standard port identifiers.

🆓

GPL Open Source

Freely available under the GNU General Public License v2 (GPLv2), the license of the official SourceForge project. No fees and no trial periods. Ideal for developers, students, and engineers looking for a professional-grade tool.

Versatile Solutions for Engineers & Developers

From amateur radio to industrial automation, com0com provides the virtual infrastructure needed to bridge the gap between software and hardware emulation.

📡

Amateur Radio (HAM) & SDR

Connect rig control software to virtual TNCs or hardware emulators. Essential for digital modes and satellite tracking systems.

🤖

Hardware-in-the-Loop Testing

Simulate GPS sensors, PLC controllers, or CNC machines by piping data from an emulator program directly into your production software.

💻

Software Development & Debugging

Test your COM port communication code (C#, Python, C++) by using one end of the pair as a data source and the other for your app.

📠

Legacy Modem Emulation

Connect Windows Fax or old terminal applications to IP-based modems like t38modem via a virtual serial bridge.

Quick Setup & Configuration

Setting up your virtual serial bridge is straightforward. Follow these steps to get your COM ports running in minutes.

1

Install the Signed Driver

Run the signed package first — it installs directly on many Windows 11/10 PCs. If Windows still reports Code 52, follow the step-by-step fixes on the download page.

2

Create a Port Pair

Open SetupG (GUI) and click “Add Pair”. By default, it creates CNCA0 and CNCB0.

3

Rename to Standard COM

Check the “Virtual Port ID” box to rename your ports to COM10, COM11, etc., for maximum software compatibility.

Setup Command Prompt (setupc.exe)
# Create a new virtual pair
command> install – –
> Added CNCA0 & CNCB0
# Change port name to COM15
command> change CNCA0 PortName=COM15
> CNCA0 renamed to COM15
# Enable baud rate emulation
command> change CNCB0 EmuBR=yes
> Emulation updated successfully.

Ready to start your first connection?

Get the original packages from SourceForge, with verified checksums and an honest Windows 11 guide.

Get Started Now

Frequently Asked Questions

Everything you need to know about the com0com virtual serial port driver.

Q: Does com0com work on Windows 11 and Windows 10 (64-bit)?

On many PCs, yes — but not on all. The driver itself dates from 2012 and is test-signed. The signed package on SourceForge uses legacy cross-signing (signed by CyberCircuits) and installs directly on many Windows 11 and 10 PCs. On some machines — especially with Secure Boot and Memory Integrity (HVCI) enabled — Windows still rejects it with Code 52. The download page explains every option, including Test Mode, before you install.

Q: Why are the ports named CNCA0 and CNCB0 by default?

These are the internal names used by the driver. However, you can easily change them to standard names like COM3 or COM10 using the SetupG GUI tool. Simply check the “Virtual Port ID” option or use the change command in the setup prompt.

Q: Is com0com really free to use for commercial projects?

com0com is licensed under the GPLv2 (GNU General Public License, version 2). The GPLv2 itself permits use for any purpose, including commercial use, as long as its conditions are met if you redistribute it. That is a property of the license — the project does not charge fees or sell a separate commercial license.

Q: How do I fix the “Digital Signature” error (Code 52)?

Code 52 means Windows could not verify the driver’s digital signature. Start with the signed package from the download page. If your machine still rejects it, enable Test Mode with bcdedit -set TESTSIGNING ON in an Admin Command Prompt and reboot — the official ReadMe notes that test signing reduces system security, and Secure Boot can block Test Mode entirely. The download page walks through every option in order.

Q: Can I use com0com to share one GPS device with multiple apps?

While com0com creates pairs, you can combine it with hub4com (a companion tool from the same SourceForge project) to split one physical serial signal into multiple virtual ports, allowing several applications to read the same data stream simultaneously.

Still have questions? Visit the Community Forum

Technical Performance & Compatibility

How does com0com stack up against traditional hardware and commercial virtual serial solutions? Explore what the driver actually documents — and where its limits are.

Feature / Performance com0com 3.0.0.0 Physical Null-Modem User-Mode Emulators
Max Data Throughput Not hardware-limited (data passes through memory; the official docs publish no throughput figure) Limited by the physical UART and cable Variable (Moderate)
Latency (RTD) No official figure published Hardware Dependent Varies by product
Baud Rate Emulation Yes (Software Configurable) Fixed by Hardware Basic Only
Secure Boot / HVCI Varies by machine — the signed package uses legacy cross-signing, and some Secure Boot / HVCI systems still return Code 52 Not applicable (physical hardware) Often Blocked
Licensing Cost $0 (GPL Free) Cable Hardware Cost Paid products (varies)
Supported Platforms
  • Officially documented: Windows 2000 or newer, with i386 and x64 packages
  • Community-reported: Windows 10 and Windows 11 — signed-package results vary by machine (see the Code 52 notes on the download page)
Protocol Support
  • RFC 2217 (with hub4com)
  • Full Modem Signal Support (CTS, RTS, DSR, DTR, DCD, RI)
  • Break Signal Handling
  • Custom Pin Wiring Emulation
Advanced Features
  • Noise Simulation (Data Corruption Test)
  • Buffer Overrun Emulation
  • Exclusive Mode (Hidden Ports)
  • Multi-Port Hubbing (via hub4com)

Troubleshooting & Error Fixes

Encountering an issue during installation? Here are the most common com0com errors and how to resolve them quickly.

CODE 52

Digital Signature Error

Windows cannot verify the digital signature for this device. This means Windows rejected the driver signature. It is expected with the unsigned build on 64-bit systems, and can also happen with the signed package on some Secure Boot / HVCI machines.

Solution:

  • Install the signed package from the download page first — it works directly on many Windows 11/10 PCs.
  • If it still fails, enable Test Mode: bcdedit -set TESTSIGNING ON and reboot (the download page covers the security trade-off and how to turn it back off).
BUFFER

Software Freezing/Hanging

Your application hangs when sending data because the receiving buffer is full and overrun is disabled by default.

Solution:

Enable overrun emulation for the receiving port via Setup Command Prompt:
change CNCB0 EmuOverrun=yes

NAMING

Port Not Recognized

Third-party software does not see CNCA0 as a valid COM port. Many legacy apps only scan for “COMx” names.

Solution:

In SetupG, rename the port to a standard COM identifier (e.g., COM12) and ensure the “Virtual Port ID” checkbox is ticked.

Pro Tip: Clean Uninstallation

If you are upgrading from an older version of com0com, it is highly recommended to perform a clean uninstall first. Use the setupc.exe uninstall command or the Windows Control Panel. If a ghost port remains, you can manually remove it from the Device Manager under the “Multi-port serial adapters” or “Ports (COM & LPT)” section by selecting “Show hidden devices”.

Beyond Virtual Pairs: The com0com Ecosystem

Extend your serial communication capabilities across networks and multiple applications using these powerful companion utilities.

HUB
POWER USER TOOL

hub4com

The Communication HUB allows you to handle data and signals from a single serial device by a number of different applications. It acts as a sophisticated serial port splitter and multiplexer.

  • Share one GPS device with multiple apps
  • RFC 2217 compliant terminal server
  • Redirect serial data to multiple TCP/IP clients
TCP
NETWORK BRIDGE

com2tcp

A specialized COM port to TCP redirector. Connect legacy serial software to modern network infrastructure by encapsulating serial data into TCP/IP packets.

  • Remote serial port access over LAN/Internet
  • Integrate legacy devices into IoT cloud systems
  • Supports client and server listening modes
💡

Good to know: If you’re building a Serial-over-Ethernet solution, com0com provides the virtual interface, while hub4com handles the network logic. Together, they form a complete open-source serial-over-Ethernet toolkit. Note that com2tcp’s standalone development stopped at v1.3.0.0 — its functions were absorbed into hub4com, and the com2tcp command now ships as a hub4com wrapper.

Seamless Integration for Developers

com0com ports behave exactly like physical hardware, making them compatible with every major programming language and serial library.

Python Full support via pyserial.
C# / .NET Compatible with SerialPort class.
C++ / Win32 Uses standard CreateFile API.
MATLAB/LabVIEW Native instrument control.
Python Integration Example pyserial
# Connecting to a com0com pair
import serial

# Open the first port of the pair
ser = serial.Serial('COM10', 9600, timeout=1)

# Send data to CNCB0/COM11
ser.write(b'Hello from com0com')

print("Data bridged via kernel driver.")
ser.close()

*Requires com0com virtual ports to be renamed to standard COM identifiers.

Tested & Compatible Software

Putty Tera Term HyperTerminal Arduino IDE Visual Studio Wireshark

Built on Trust and Transparency

As a critical kernel-mode component, we understand that security is your top priority. This site links only the original packages from the official SourceForge project, with their published SHA-256 checksums, so you can verify every file yourself. On SourceForge, com0com is rated 4.4/5 from 64 ratings — see the official project page.

✔
GPL v2.0 Compliance com0com is GPLv2 software by Vyacheslav Frolov. The full source code is in the official SourceForge project, available for anyone to audit.
✔
Verify It Yourself We make no “clean scan” claims we cannot back up. Instead, every package on the download page carries its SHA-256 checksum, so you can confirm the file you received is exactly the file SourceForge serves.
✔
Clean Installation The packages are the original project files, exactly as published on SourceForge — nothing repackaged and nothing added by this site.

How the Signed Package Is Signed

Certificate Details:
Signed by: CyberCircuits
Issued by: COMODO RSA Code Signing CA
Type: Legacy cross-signing
WHQL: No — not a Microsoft Dev Portal signature

Legacy cross-signing predates the current Microsoft driver-signing rules, which is why results vary: many Windows 11/10 PCs accept the package, while some Secure Boot / HVCI machines still refuse it with Code 52.