How to map a local COM port inside TS Session? Now, i´m unable to use a USB-Serial cable to access a serial console device

fborup 1 Reputation point
2021-02-05T20:41:28.707+00:00

How to map a local COM port inside TS Session? Now, i´m unable to use a USB-Serial cable to access a serial console device

I´m trying to access a device via Serial Cable inside an RDP session
The remote device is working propely, becuase we have a OLD/XP with physycal serial port and the login is available, so the serial cable is OK
It´s a regular serial cable, like used in Cisco or other devices, Serial--RJ45 to console port

But we can´t use the XP/Serial in the long term, so the ideia is to use a second cable, in a modern Notebook, so, the main ideia is:

Insted of:
XPNote+Serial port -- Serial Cable - RJ45 Console Port

it will be use a second cable:
NewW10Note + USB port - USB-Serial Cable - Serial Cable - RJ45 Console Port

But it´s not working under RDP/TS session

COMx ports are available and there is a GPO allowing COM redirect
Client MSTSC file has : redirectcomports:i:1

The current view is:
BRRJ1-8856Y02 C:\Users\fborup>change port /query
AUX = \DosDevices\COM1
COM1 = \Device\RdpDrPort\;COM1:2\tsclient\COM1
COM3 = \Device\Serial0
COM5 = \Device\Serial2

My device is on serial COM5 (as seen above, Serial2)

How can I make sure that COM5 will redirect to the serial2, under the TS/RDP session?

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,796 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Karlie Weng 14,951 Reputation points Microsoft Vendor
    2021-02-08T06:20:42.767+00:00

    Hello @fborup

    Serial port redirection is not support in remote desktop session. Maybe you can find a third-party software to redirect COM port to Remote Windows Session.

    65205-image.png

    Redirection support

    Best Regards
    Karlie

    ----------

    If the Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.