Page 1 of 1 1
Topic Options
#40323 - 2003-05-16 06:32 PM @wksta capture via Terminal Server
ElGuapo Offline
Starting to like KiXtart

Registered: 2002-06-19
Posts: 100
[Moderator (Sealeopard): Moved thread from 'Scripts' to 'Starters' forum due to lack of script in body]

Is there a way to capture @wksta so that the name of the client is captured instead of the terminal server name?

For example, ClientA logins into TerminalServer1, I would like @wksta to return "ClientA" instead of "TerminalServer1."

I want to set the terminal server default printer based on where they are logging in from. If they login from ClientA, I want to set the terminal server default printer to PrinterA. Is there a better way to do that than KiX?

[ 16. May 2003, 18:35: Message edited by: sealeopard ]

Top
#40324 - 2003-05-16 06:37 PM Re: @wksta capture via Terminal Server
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
These questions have already been answered in the FAQ Forum. Please see KiXtart FAQ & How to's

[ 16. May 2003, 18:37: Message edited by: sealeopard ]
_________________________
There are two types of vessels, submarines and targets.

Top
#40325 - 2003-05-16 06:46 PM Re: @wksta capture via Terminal Server
Kdyer Offline
KiX Supporter
*****

Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
Shouldn't it be %CLIENTNAME% ? @WKSTA is the local workstation.

To expand on this - type SET | more from the CMD Line to see what other enviro variables are available from TS Session.

Kent

[ 16. May 2003, 18:46: Message edited by: kdyer ]
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's

Top
#40326 - 2003-05-20 04:59 PM Re: @wksta capture via Terminal Server
ElGuapo Offline
Starting to like KiXtart

Registered: 2002-06-19
Posts: 100
Clientname did the trick. Thank you.

No offense, but I could not find any references to this topic in the FAQ Forum.

Top
#40327 - 2003-05-20 05:10 PM Re: @wksta capture via Terminal Server
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
FAQ Forum: Citrix and/or Terminal Server Client Collection
_________________________
There are two types of vessels, submarines and targets.

Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 2220 anonymous users online.
Newest Members
Viginette, ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder
17888 Registered Users

Generated in 0.064 seconds in which 0.036 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org