Terminal Server - Echo Client Name

Hi,

I have users connecting to a terminal server from client XP machines.

I would like to create a batchfile which will echo the name of the client they are connecting from - this means they can open this batchfile which will tell them the client computer name they are connecting from.

This is necessary because they login to the terminal server under the same user many times, and so we need to identify which session they are when they call up.

This batchfile would be on the desktop of the terminal server, NOT the client itself.

Cheers,
LVL 1
tetraukAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
gavsmithConnect With a Mentor Commented:
EE won't let me upload a .bat file... so download this txt file and rename to .bat

Show-Client-Name.txt
0
 
gavsmithCommented:
use the command:

SET CLIENTNAME
0
 
tetraukAuthor Commented:
Thanks.

Could you give me this in an example?

I want it to echo the client name and then pause.

Cheers,
0
 
Tony JConnect With a Mentor Lead Technical ArchitectCommented:
0
 
tetraukAuthor Commented:
The SET CLIENTNAME works!

Thanks a lot!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.