Monday, June 22, 2009

How to open comport COM10 and above in WINDOWS XP

Details

I cannot power on my virtual machine if it is configured with serial port COM10 or greater. What is wrong?

Solution

Virtual machines can be manually configured to use a host operating systems COM10 serial port or greater by performing the following steps:
  1. For the moment, ports above COM10 are not named COM10. They are named \\.\COM10 and so on. Except that some drivers use names like USB port 1 for all ports. Don't forget to double \ chars when inside quotes. E.g. "\\\\.\\COM10"

  2. Manually edit the virtual machine's configuration file (.vmx on Windows hosts, .cfg on Linux hosts). Change the following line from:
    serial0.fileName = "COM10"

    to
    serial0.fileName = "\\.\COM10"

  3. Power on the virtual machine to verify the COM10 serial port is operational.

No comments: