Glenn, would you mind explaining how your 2 lines of code work? What they actually do? I'm having a hard time understanding it. Should it work if I just put this in my tiaudit.kix script:

; Con=Direct Console, RDP=Terminal Server, or ICA=Citrix
$ConnType = Left(%SESSIONNAME%, 3)

run "\\helpdesk\TrackIt8\audit.exe /Q"

I don't understand how the Con code ends up being the determining factor in deciding whether or not the run command below it is executed. That's where I'm lost. Sorry for the confusion. I'm not a coder... 8)