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.

How to Enable a Serial Port in VMware Virtual Machines

Editorial Team Editorial Team
Updated: Dec 12, 2024

VMware is a leading virtualization solutions provider that helps organizations optimize their workflow efficiency and IT infrastructure.


However, VMware users and administrators face a persistent issue with this platform - difficulty in connecting physical serial devices to virtual machines.


Contents:


  1. Serial Port Access Issues in VMware Virtual Machines
  2. Connecting Serial Ports to VMware with Serial to Ethernet Connector
  3. Serial Port VMware Passthrough: Exploring VMware Remote Connection Solutions
  4. Final Thoughts

Serial Port Access Issues in VMware Virtual Machines

Many industrial equipment and legacy systems still work on serial communication. So, it’s important to ensure they operate efficiently in a virtual environment. Here are some of the issues users face with VMware serial port passthrough:


  • Challenges in remote access: If you want to remotely access serial-connected hardware, it’s challenging. Physical access is not feasible in modern cloud environments. So, users face difficulties in accessing and managing serial devices remotely, which impacts operational efficiency.

  • Compatibility issues: Connecting serial devices to VMs is difficult since many of them need specific configurations or drives to work. But VMs might not be compatible with those settings.

  • Degraded performance: Integrating physical serial ports into VMs may introduce latency. This may cause frequent interruptions and delays while transferring data between the two devices.

  • Limited support: Virtual environments offer limited support for legacy devices, such as serial devices. Not all of them are compatible with VMs. So, if you enable VMware serial device integration, you may experience inoperability issues or poor performance.

This article aims to address the above challenges while connecting serial devices to VMware virtual machines.


So, if you’re finding ways to connect your physical serial devices, such as specialized industrial tools or legacy systems, to VMware VMs, follow this step-by-step guide till the end. You’ll learn different methods to enable serial port passthrough in various VMware products, such as VMware vSphere, VMware Horizon 7, and VMware Workstation Pro. In addition, we’ll discuss how the Serial to Ethernet Connector is one of the best VMware serial port alternative solutions offering top-notch remote access functionality, higher scalability, and better performance.


When you complete reading this article, you’ll know how to navigate through the challenges of serial port passthrough VMware. The solutions discussed will simplify your virtual environment and boost its performance, eliminating latency and compatibility issues.


Connecting Serial Ports to VMware with Serial to Ethernet Connector

VMware offers useful native serial port passthrough solutions but they have certain challenges in terms of remote access, compatibility, and performance.


On the other hand, Serial to Ethernet Connector offers more versatility. It allows you to redirect serial ports in a network and enable the remote serial port access VMware function with greater flexibility without attaching to the host physically.


logo
Serial to Ethernet Connector
4.9 Rank based on 372+ users reviews
Try for Free Free Trial available for 14 days
usb to remote desktop

Step-by-Step Process to Connect Serial Ports

Requirements:


  • Software installation: Download and install Serial to Ethernet Connector on your host computer (hosting the physical serial device) and remote VM or server requiring access.

  • Network connectivity: Set up a network connection between the VM and the host.
Now, let’s understand how to connect serial ports over Ethernet in VMware:
1.
Launch the software: Launch the Serial to Ethernet Connector on both the host and the virtual machine.
Launch the software
2.
Set up the connection: Use the software’s interface to share the physical serial port through the network on the host machine. On the VM/server, connect to the serial port over TCP/IP using the software.
Set up the connection
3.
Access the serial device: Once you’ve successfully connected the machines, your VM can access the remote serial device even though it’s not physically connected to the machine.
Access the serial device
Try Serial over Ethernet now
14-day free trial

How to Access a Serial Port in VMware: A Detailed Video Guide

If you want to know the detailed process to connect your serial port to VMware, watch out YouTube video. It offers a step-by-step process to configure the devices and use Serial to Ethernet Connector in VMware environments.



Choose Serial to Ethernet Connector when you’re looking for a scalable solution to access serial devices over a network from various remote locations. This tool addresses challenges, such as poor performance, compatibility issues, configuration problems, etc. that are common with native virtualization solutions.


Serial to Ethernet Connector is also suitable for organizations, especially in cloud-based infrastructures and distributed workforces that require advanced network capabilities, more flexibility, and effortless remote management.

Serial Port VMware Passthrough: Exploring VMware Remote Connection Solutions

Now, let’s find out how to enable serial port passthrough via various VMware solutions - VMware vSphere, VMware Horizon, and VMware Workstation Pro. These products allow remote desktops and VMs to easily connect with physical serial devices.


The method to handle serial communication differs for each product, addressing problems such as remote access, configuration, and device compatibility. Here are the steps for each VMware solution:

VMware vSphere Serial Port Passthrough

VMware vSphere offers serial port passthrough and is best suitable for enterprises to meet their virtualization needs. Virtual machines running on ESXi hosts can easily interact with physical serial devices using this solution. VMware ESXi serial port passthrough is handy in maintaining legacy systems or hardware.

How to Configure Serial Port in VMware vSphere


Prerequisites


  • Before you configure a VMware serial port over a network, power off the virtual machine.
  • Ensure a physical serial port is available on the ESXi host.
  • Configure firewall rules properly when establishing a connection over a network.

Here’s how to enable VMware vSphere serial port passthrough step-by-step:


  1. Right-click on the VM and choose “Edit Settings” in the vSphere client.
  2. Click on “Add New Device” and then choose the option “Serial Port” in the tab “Virtual Hardware”.
  3. Select the type of connection:
    • Network: This connection type is used to redirect a serial over a network VMware via TCP/IP.
    • Physical serial port: It directly connects to the serial port of a host machine.
    • Named pipe: It’s used to establish communication between a VM and a host or between two VMs.
    • Output File: On the host machine, this connection type is used to redirect VMware serial communication to a file.
  4. Finalize the settings by clicking on “OK”.

Note:

  • To enable passthrough, VMware vSphere supports serial ports integrated into the ESXi host’s motherboard.
  • VMware vSphere doesn’t support USB-connected serial port passthrough from ESXi hosts to VMs.
  • Serial port passthrough in VMware vSphere doesn’t support VM migration via vMotion.

If your enterprise environment has VMs running on ESXi hosts and the VMs must access physical serial ports, choosing VMware vSphere is more suitable for you. It allows you to access serial ports in VMware directly in the centralized data centers, solving compatibility and latency issues.


This is why a physical serial port passthrough VMware vSphere is an ideal solution for organizations with legacy systems relying on on-premise, stable hardware. It’s also suitable for data centers.

VMware Workstation Serial Port Passthrough

VMware Workstation Pro is a robust desktop virtualization tool that you can use to run various virtual machines on a local computer. To use serial communication tools on VMs or connect legacy devices, you can enable the serial device passthrough VMware Workstation functionality.

How to Enable VMware Workstation Pro Serial Port Setup


Prerequisites


  • Power off the virtual machine.
  • Ensure the host machine has virtual interfaces such as named pipes or a physical serial port available.

Adding and configuring serial ports in VMware Workstation works in the following way:


  1. In VMware Workstation Pro, choose the VM. Go to VM and then to “Settings”.
  2. Click on “Add". From the tab “Hardware”, choose “Serial Port”.
  3. Choose the type of connection you want to establish:
    • Named pipe: Two VMs or a VM and a host can interact using this connection type.
    • Physical serial port: On the host machine, it connects to a physical port.
    • Output file: It’s used to enable serial port redirection VMware to a file.
  4. Apply the changes by clicking on “OK”.

If you’re a developer or individual user who uses legacy systems on VMs that run locally or need serial port passthrough for debugging purposes, VMware Workstation Pro is the best solution for you.


Eliminating compatibility issues and improving latency, VMware Workstation serial COM port passthrough works excellently in smaller environments, such as workstations or development labs, where you need local and direct communication.


VMware Horizon Serial Port Passthrough

VMware Horizon is an advanced, easy-to-use virtual desktop infrastructure (VDI) solution. Using serial devices with VMware Horizon allows you to remotely access applications and desktops. The serial port redirection VMware Horizon function lets you access serial devices that are locally connected to their remote virtual desktops.

How Does VMware Horizon Serial Device Redirection Work?


VMware Horizon serial port redirection is used to map the local computer’s COM ports to the remote desktop’s COM ports. For serial port redirection to work, the COM ports on two machines are used to communicate with remote applications. VMware Horizon serial port passthrough doesn’t even require you to install additional drivers on the remote machine.

How to Perform VMware Horizon Serial Port Passthrough


Requirements


  • Keep VMware Horizon Agent installed on your remote machine.
  • Install VMware Horizon Client on the local computer connected to the serial port.
  • Ensure the serial port is physically attached to the local computer.

Here’s how to configure serial ports in VMware Horizon:


  1. Download and install the VMware Horizon Agent on your remote device and enable serial port redirection.
  2. Create a new session in the VMware Horizon Client. Next, map the local COM ports to your remote machine using the tray icon “Serial Port Tool”.
  3. If you want to control which COM ports are used for redirection, configure group policies.

How to Manage Serial Port Redirection


If you’re an administrator who wants to allow or restrict users to access a specific serial port, do this using group policies. In addition, users can view active COM ports in a session and manage them easily using the Serial Port Tool.



VMware Horizon 7 is designed for remote desktop environments, allowing you to easily access physically connected serial devices on your virtual desktops. VMware Horizon serial device redirection addresses compatibility and remote access challenges associated with directly connected hardware, making it an ideal solution in VDI setups.


Final Thoughts


VMware is a powerful virtualization platform with multiple native solutions - vSphere, Workstation Pro, and Horizon 7 - to enable serial port passthrough. Each of these solutions is suitable for different use cases.


However, if you work in an environment where you need greater scalability, flexibility, and effortless remote access capability, Serial to Ethernet Connector is an excellent alternative.


So, when choosing the best serial port passthrough solution, assess your virtualization needs and consider the challenges of each solution. It will help you make the most of your virtualization solution while allowing you to integrate serial devices across VMware virtual environments with reliability.


Serial to Ethernet Connector
Access remote serial port over IP Network for Windows
14-day Free Trial available
License price starts at $259.95
Available for