Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Redirecting COM port from client to TS session?

0 views
Skip to first unread message

Vincent Delporte

unread,
Nov 9, 2006, 8:44:58 AM11/9/06
to
Hello

Our application reads data from smart cards using a reader connect to
the COM port on the user's PC, so we have a problem when our
application is used remotely through Terminal Services.

Is there a way to have TS/RDP read data from the COM port on the
user's client PC, and send data to our application running on the TS
server?

Thank you.

TP

unread,
Nov 9, 2006, 10:27:28 AM11/9/06
to
Have you enabled COM port redirection on both the client
and server?

CLIENT

On the Local Resources tab, check "Serial Ports"

SERVER

Start-->Run-->tscc.msc
Right-click Rdp-Tcp and choose Properties
On the Client Settings tab, *uncheck* "COM port mapping"

To check and see if the ports are redirected in your session:

Open a command prompt and type the following:

change port /query

The output will look something like this:

AUX = \DosDevices\COM1
COM1 = \Device\RdpDrPort\;COM1:19\tsclient\COM1
COM2 = \Device\RdpDrPort\;COM2:19\tsclient\COM2
COM3 = \Device\RdpDrPort\;COM3:19\tsclient\COM3
LPT1 = \Device\RdpDrPort\;LPT1:19\tsclient\LPT1
PRN = \DosDevices\LPT1

From the above, you can see that COM1-3 and LPT1 are
redirected to my local ports. The 19 is the session id, so
that will change depending on the current session id.

If they are not redirected, the output will look something
like this:

AUX = \DosDevices\COM1
COM1 = \Device\Serial0
COM2 = \Device\Serial1

Thanks.

-TP

Lars Schaaf

unread,
Nov 9, 2006, 10:27:44 AM11/9/06
to
Vincent Delporte schrieb:
you can either use Windows 2003 Server or Connect to a WinXPPro PC,then
you can active the user's com port

lars

0 new messages