Link to home
Create AccountLog in
Avatar of First Last
First LastFlag for United States of America

asked on

Mapping COM ports in Citrix 4.5 for every user

Hi All

I had posted earlier looking for a way to enable com port redirection in Citrix 4.5.  Post is here:

https://www.experts-exchange.com/questions/28114542/Redirecting-COM-ports-in-Citrix-Presentation-Server-4-5.html

The technique described didn't work for me and in fact caused long delays for Citrix users logging in (2 minute pause on Running Login Scripts).  Its possible I did something wrong but I did take care to follow the directions exactly.

I'm wondering if this is the best way to do it and if it might be worth another try or if there is another way that would work better for me.  Basically I need to redirect the local client's COM1 port to the Citrix session for a signature pad to work.  I can do it manually just fine but scripting it for each user who accesses the application would be ideal.
ASKER CERTIFIED SOLUTION
Avatar of Daniel Borger
Daniel Borger
Flag of United States of America image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
SOLUTION
Avatar of Coralon
Coralon
Flag of United States of America image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
SOLUTION
Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Avatar of First Last

ASKER

Sorry for the delay guys, just got back in.  I experimented a bunch and found that the batch file was the easiest way to get this working.  What I had wanted to do was the technique described in the first article I linked by changing the usrlogon.cmd file (which I wasn't able to get working) but in hindsight this was probably not the best idea since I only need this to work in one application.  Here is the .bat I came up with:

REM Dan Brown - 5-17-2013
@echo off
net use com1: \\client\com1:
sleep 5
start "C:\Program Files (x86)\Internet Explorer\iexplore.exe" https://website.com
exit

I had to install the Server 2003 toolkit in order to get the Sleep command to work.  This does the trick, I run another script at logoff to remove the mapping.

Thanks for all the help guys, I'll split the points evenly.