Solved

Terminal Server - Echo Client Name

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

It is only natural that we all want our PCs to be in good working order, improved system performance, so that is exactly how programs are advertised to entice. They say things like:            •      PC crashes? Get registry cleaner to repair it!    …
Issue: Unstable cursor in Windows XP and Windows runs extremely slow in that any click will bring up the Hour glass (sometimes for several seconds before giving you what you want) . Troubleshooting Process and the FINAL FIX: This issue see…
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). …
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…

759 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now