OK, so I have used the below example for detecting Citrix; it will look for the file chgusr.exe and goto end. Now, some of my Window 2000 boxes with terminal server have this file and the script will never start. I just want to detect citrix and not windows 2000 terminal server, is anyone know of another method via the BATCH file? Thanks in advance.

:checkcitrix
IF EXIST %WINDIR%\SYSTEM32\CHGUSR.EXE GOTO end