Glenn, I just took a look at this:

http://www.kixtart.org/forums/ubbthreads.php?ubb=showflat&Number=195460

which is what, I believe, Allan referenced in his post as it was the post at the link above that caused him to create the UDF "stuff" for everyone's use.

The real problem is that I'd say this stuff is above me. I don't understand it. Here's a snippet from your post in the link above:
 Code:
; Determine login type - direct, Terminal Server, or Citrix
; Con=Direct Console, RDP=Terminal Server, or ICA=Citrix
$ConnType = Left(%SESSIONNAME%, 3)
; Get list of connection types allowed to run login scripts
$Tag = ReadProfileString($INIFILE, 'COMMON', 'ConnType')
; If Connection Type Allow list is defined, current ConnType must be in list
If $Tag					; defined
  If Not InStr($Tag, $ConnType)		; if not in list
    DbgMsg('Invalid connection type - exiting.')
    Exit 0				; exit script
  EndIf
EndIf

I just can't grasp what this is doing, not entirely anyway. I don't know what in this needs to be changed for my own environment, assuming something needs to be changed/added.

Sorry for the confusion and lack of knowledge in this area. Any help you can offer would be great.


Edited by Mart (2015-09-01 09:21 AM)
Edit Reason: Please use code tags when posting code.