@wksta returns the name of the computer the script is executing on (meaning the terminal server) I would get the clientnfo.exe and poll for the clients name and log them off based on that. Ron Oglesby Senior Technical Architect =20 RapidApp Office 312.372.7188 Mobile 312.961.2380 email roglesby@xxxxxxxxxxxx =20 -----Original Message----- From: Mark Guzzo [mailto:marguz@xxxxxxxxxxxxx]=20 Sent: Monday, February 10, 2003 12:34 PM To: thin@xxxxxxxxxxxxx Subject: [THIN] Kix script ? Hello all, I've been asked to lockout a device during non working hours. The device in question is a WYSE 1200LE and I use KIX 4.12 for my logon script. I found this macro "@WKSTA" and it should return the computer name of the device, but does not.=20 Is there a way, using KIX that I'm able to do this? Mark ********************************************************* This Week's Sponsor - RTO Software / TScale TScale increases terminal server capacity.=20 Get 30-40% more users per server to save $$$ and time.=20 Add users now! - not more servers. If you're using Citrix,=20 you must learn about TScale! Free 30-day eval: http://www.rtosoft.com/Enter.asp?ID=3D79 ********************************************************** For Archives, to Unsubscribe, Subscribe or=20 set Digest or Vacation mode use the below link: http://thethin.net/citrixlist.cfm ********************************************************* This Week's Sponsor - RTO Software / TScale TScale increases terminal server capacity. Get 30-40% more users per server to save $$$ and time. Add users now! - not more servers. If you?re using Citrix, you must learn about TScale! Free 30-day eval: http://www.rtosoft.com/Enter.asp?ID=79 ********************************************************** For Archives, to Unsubscribe, Subscribe or set Digest or Vacation mode use the below link: http://thethin.net/citrixlist.cfm