Cookie
Electronic Team, Inc. uses cookies to personalize your experience on our website. By continuing to use this site, you agree to our cookie policy. Click here to learn more.

Access COM port in Hyper-V

Olga Weis Olga Weis

Virtualization is used by many organizations to extend the capabilities of their computing environment. Virtual machines offer the flexibility of running multiple operating systems on a single physical computer for the purposes of testing or using specialized software applications. The virtual guests share the host’s disk space, memory, and CPU, minimizing the required physical resources.

Virtual serial port technology enables you to connect a virtual machine to any peripheral device attached to a local computer’s COM port. Enabling the serial port in the virtual machine is done differently based on the type of virtualization package you are using. In some cases, this is done with a few minor configuration changes from within the VM. Other solutions require the use of third-party communication software.

This article talks about a number of methods that allow COM port to virtual machine access in Hyper-V and other virtualization platforms.

Serial over Ethernet Connector is the easiest way to enable Hyper-V port forwarding. The software creates virtual serial ports that fully emulate the host machine’s physical interfaces.
Sec logo
Serial to Ethernet Connector
Connect serial ports over Ethernet
4.9 Rank based on 243+ users, Reviews(243)
Download 14-day fully-functional trial period
Serial to Ethernet Connector

The connectivity allows a guest virtual machine to access any serial device that is attached to a computer on the same network. You can remotely connect to COM devices located anywhere on your network from within Hyper-V. The virtualized Hyper-V COM port gives the guest OS full control over devices attached to the shared port just as if there was a direct connection to the equipment.

Looking for integration options?
Whether you're looking at redistributing our Serial port redirection engine as a part of your product or considering Serial over Ethernet software for an enterprise-wide deployment, we offer flexible and affordable corporate solutions designed to meet your needs.
Tech usb icon
Support for USB and serial port connections
Tech ports icon
Working with TCP, UDP, RDP, and Citrix protocols
Tech libs icon
Integration as DLL and ActiveX or Core level usage
Popup icon
Looking for integration options?
We offer flexible and affordable corporate solutions designed to meet your needs. Learn more

Hyper-V serial port access - video tutorial


How to enable serial port in Hyper-V

The virtual machine’s serial port must be set up from within the Hyper-V. For this, you need to start from the Hyper-V Manager. Begin by… Hyper-V Manager
1
Right-clicking the virtual machine and selecting "Settings."
2
Choose the COM port from the “Hardware” menu.
3
Click the Named Pipe Radio button.
4
Enter the name for the pipe in the Pipe name textbox.
5
Make a note of the Named pipe path shown by Hyper-V shows.

From the Hyper-V Host Machine


Make use of a serial client to connect to the named pipe by using the Named pipe path. There is also a second method that describes how to pass serial port from RDP to a virtual machine (Hyper-V). It requires access to the virtual machine through the "Remote Desktop Connection" application.

  1. Look for the “Show Options” button on the left corner at the bottom.
  2. Then, look for the “Local Resources” tab.
  3. Look for the box called "Local Devices and Resources".
  4. Then, click "More".
  5. Tick the “Ports” box.
  6. Now, sign in to the virtual machine via the tab placed under "General".

This will give you access to your local machine’s resources inside your virtual machine.

small logo Serial to Ethernet Connector
#1 at Serial Port Software
Serial to Ethernet Connector
Access remote serial port over IP Network for Windows
4.7 rank based on 243 reviews
Get a download link for your desktop
Submit your email address to get a link for quick download on your desktop and get started!
or