Link to home
Start Free TrialLog in
Avatar of sevenpeaks
sevenpeaks

asked on

Serial port redirection through Windows Remote Desktop, Anyone know how it to make it work?

We recently decided that we needed to set up a VPN between two sites and run our POS software over the VPN.  Even though both ends have a fast connection, the POS software still runs to slow to be useful. So what I want to try is using remote desktop from the remote location and remote into one of our servers, and then map the com ports so that it will still use the receipt printer at the remote location through remote desktops.   My questions is how do I do that.  Here is what I have tried allready.  I have went to the Group policy and enabled that capability. I also check the box that says serial port when i set up the connection in Remote Desktop.  I have also tried using the follow command when I am remoted into the server; "net use com1: \\tsclient\com1:" but still no luck.  Does anyone know how to set that up, Please help?
Avatar of giltjr
giltjr
Flag of United States of America image

try it without the colons:

     net use com1 \\tsclient\com1

This does assume that you have setup com1 to be share from the client.
Avatar of sevenpeaks
sevenpeaks

ASKER

Ok, here is the solution.  You need to use a combination of the "net use" command the "change port" command.  
First run the "change port /q" for a list of all currently configured com ports & LTP ports.  Then for example if you want to map com1 on  the remote computer to com2 on local computer you need to remove com1 on the remote computer first.  Do this by entering "change port /d com1". Then run the "change port /q" command to confirm that com1 does not show.  
Then you can run the command "net use com1: \\tsclient\com2:" which will use the local computer's com2 drive as com1 on the remote computer.  After you have run that command you can use the "change port /q" command to confirm that com1 shows up as tslicent's com2 port.  

NOTE: Also, if you set this up on one computer and then you log off and try to set this up on another computer, you will get errors abour the com port being remembered even though it does not show up under "change port /q", you can solve this problem by typing in net use /delete com1.  
Since I can't accept my own answer as a Solution, and I am not sure how to end this sessoin without awarding points, I will just let this session sit.
Thanks
You can put a 0 point question in community service and ask to have this question closed with points refunded.
ASKER CERTIFIED SOLUTION
Avatar of Computer101
Computer101
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial