Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1667238
  • 博文数量: 584
  • 博客积分: 13857
  • 博客等级: 上将
  • 技术积分: 11883
  • 用 户 组: 普通用户
  • 注册时间: 2009-12-16 09:34

分类: WINDOWS

2010-09-14 12:52:39


We recently decided that we needed to set up a VPN between two sites and run our over the VPN.  Even though both ends have a fast connection, the POS still runs to slow to be useful. So what I want to try is using from the remote location and remote into one of our servers, and then map the so that it will still use the receipt 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 when i set up the connection in Remote .  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?






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 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.  
阅读(755) | 评论(0) | 转发(1) |
给主人留下些什么吧!~~