That looks great. Think I will try it. Thanks -----Original Message----- From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx] On Behalf Of Pfeifer, Bruce A MSER:EX Sent: Tue, March 16, 2004 8:28 AM To: 'thin@xxxxxxxxxxxxx' Subject: [THIN] Re: Check for Citrix at logon echo %sessionname% | find /I "ICA-tcp" if %errorlevel%==0 goto (GOTO:EOF) This simple option requires no additional work on the servers (such as setting variables) and can be used to distinguish if a RDP session vs. an ICA session. echo %sessionname% | find /I "RDP-Tcp" if %errorlevel%==0 goto (GOTO:EOF) -----Original Message----- From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx]On Behalf Of Matt Kosht Sent: Tuesday, March 16, 2004 07:12 AM To: thin@xxxxxxxxxxxxx Subject: [THIN] Re: Check for Citrix at logon Check the variable %COMPUTERNAME% and use that in your login script to conditionally branch to a different login script. >>> PilonB@xxxxxxxxxxxx 3/16/2004 10:08:56 AM >>> 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 ******************************************************** 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 ******************************************************** 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 ******************************************************** 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