Solved

Terminal Server - Echo Client Name

Posted on 2012-04-13
5
1,064 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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

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…
Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
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…
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…

803 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