ICA Finder

When in Citrix it could be handy to know what ICA called you when you are going through the login sequence – when usrlgon.cmd gets called – you dont really know that even still.  So this code does it for you.  Written in MS VS C++ and tested in PS 4 – it works a s a DOS type command –

icafinder <STRING> where the string is the name of an ICA.  If the ICAfinder detects a string its exit code will be 1 and if not 0 meaning you can include it in an command file – eg

D:\Admin\icafinder.exe Current
If ERRORLEVEL  1 Goto Found
If ERRORLEVEL  0 Goto NORMALUSER

Where Current is a portion of say an ICA File – #NLS Explorer Current

I based the app on the Citrix Example and you can download here.

www.dhrobertson.com/icafinder

Use Microsoft Visual C++ 2005 and use the command line… nmake -f makefile.txt – should work… might need a bit of tweaking

Advertisements

Citrix and Acrobat and Anonymous Users

Cracking one this…. 

I was trying to get a small app working on Citrix.  Something that allows an ICA session to be launched from a URL.  The URL links back to  a Documentum system.  I decided to set this up as an anonymous user.  No password.  Easy.  But no. Acrobat Reader 8.0 and presumably other previous versions launches some kind of speed launcher – reader_sl.exe.  This stays in memory which is not good for Citrix.  Caused Acrobat to hang.  Anyway – I used AutoRuns from SysInternals – identified the boot sequence and disabled it – spent a couple of days and a few reboots to sort that one out….. anyway it works.

 Anon…