Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1128
  • Last Modified:

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,
0
tetrauk
Asked:
tetrauk
  • 2
  • 2
2 Solutions
 
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
 
gavsmithCommented:
EE won't let me upload a .bat file... so download this txt file and rename to .bat

Show-Client-Name.txt
0
 
Tony JLead Technical ArchitectCommented:
0
 
tetraukAuthor Commented:
The SET CLIENTNAME works!

Thanks a lot!
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now