Solved

Terminal Server - Echo Client Name

Posted on 2012-04-13
5
1,072 Views
Last Modified: 2012-04-13
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,
0
Comment
Question by:tetrauk
  • 2
  • 2
5 Comments
 
LVL 10

Expert Comment

by:gavsmith
ID: 37841991
use the command:

SET CLIENTNAME
0
 
LVL 1

Author Comment

by:tetrauk
ID: 37842585
Thanks.

Could you give me this in an example?

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

Cheers,
0
 
LVL 10

Accepted Solution

by:
gavsmith earned 400 total points
ID: 37842647
EE won't let me upload a .bat file... so download this txt file and rename to .bat

Show-Client-Name.txt
0
 
LVL 25

Assisted Solution

by:Tony Johncock
Tony Johncock earned 100 total points
ID: 37842762
0
 
LVL 1

Author Closing Comment

by:tetrauk
ID: 37842999
The SET CLIENTNAME works!

Thanks a lot!
0

Featured Post

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Can I legally transfer my OEM version of Windows to another PC?  (AKA - Can I put a new systemboard in my OEM PC?) Few of us are both IT and legal experts but we all have our own views of Microsoft's licensing rules and how they apply.  There are…
A quick step-by-step overview of installing and configuring Carbonite Server Backup.
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question