Solved

Terminal Server - Echo Client Name

Posted on 2012-04-13
5
1,086 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 26

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

Free eBook: Backup on AWS

Everything you need to know about backup and disaster recovery with AWS, for FREE!

Question has a verified solution.

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

Suggested Solutions

Ever notice how you can't use a new drive in Windows without having Windows assigning a Disk Signature?  Ever have a signature collision problem (especially with Virtual Machines?)  This article is intended to help you understand what's going on and…
It’s been over a month into 2017, and there is already a sophisticated Gmail phishing email making it rounds. New techniques and tactics, have given hackers a way to authentically impersonate your contacts.How it Works The attack works by targeti…
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

737 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