Set a machine level environment variable and check for that... We set the variable TERMINAL_SERVER = TRUE And then just check for the true value... Hope this helps. -Dave Melczer dmelczer@xxxxxxxx -----Original Message----- From: Pilon, Benoit [mailto:PilonB@xxxxxxxxxxxx] Sent: Tuesday, March 16, 2004 10:09 AM To: thin@xxxxxxxxxxxxx Subject: [THIN] Check for Citrix at logon I have to run a domain script at logon on each workstation but I don't want this script to run when they logon to a Citrix server. Is there a way to check if it is a Citrix server when they logon? I don't want to check for a file or folder since the location might be different on each Citrix server. Benoit Pilon Network Operations NavCanada (613) 563-5508 =20 ******************************************************** This weeks sponsor Emergent Online. Emergent OnLine is the leading server-based computing consulting integration firm in the nation. Emergent OnLine delivers expert consulting services you can depend on. http://www.go-eol.com ********************************************************** Useful Thin Client Computing Links are available at: http://thin.net/links.cfm *********************************************************** For Archives, to Unsubscribe, Subscribe or set Digest or Vacation mode use the below link: http://thin.net/citrixlist.cfm ********************************************************************** Please be advised that this transmittal may be a confidential attorney-client communication or may otherwise be privileged or confidential. If you are not the intended recipient, please do not read, copy or re-transmit this communication. If you have received this communication in error, please notify us by e-mail (postmaster@xxxxxxxx) or by telephone (call us collect at 212-403-4357) and delete this message and any attachments. Thank you in advance for your cooperation and assistance. www.wlrk.com ********************************************************************** ******************************************************** This weeks sponsor Emergent Online. Emergent OnLine is the leading server-based computing consulting integration firm in the nation. Emergent OnLine delivers expert consulting services you can depend on. http://www.go-eol.com ********************************************************** Useful Thin Client Computing Links are available at: http://thin.net/links.cfm *********************************************************** For Archives, to Unsubscribe, Subscribe or set Digest or Vacation mode use the below link: http://thin.net/citrixlist.cfm