You can check the environment variable %sessionname%
_________________________________________________________
Vera Noest
MCSE, CCEA, Microsoft MVP - Terminal Server
TS troubleshooting:
http://ts.veranoest.net
___ please respond in newsgroup, NOT by private email ___
"Michal Ch" <(E-Mail Removed)> wrote on 24 nov 2005 in
microsoft.public.win2000.termserv.clients:
> Hi all
> On my TS server users will logon via RCP and ICA.
> Login script I must set different settings for RDP users and ICA
> users eg if user Tom login via RDP I must set settings A in
> registry but if iser Tom login via Citirx I must set - B in
> registry Do you know via vbs chceck type of connection?
>
> Have a nice day,
> Michal