Link to home
Start Free TrialLog in
Avatar of tetrauk
tetraukFlag for United Kingdom of Great Britain and Northern Ireland

asked on

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,
Avatar of gavsmith
gavsmith
Flag of United Kingdom of Great Britain and Northern Ireland image

use the command:

SET CLIENTNAME
Avatar of tetrauk

ASKER

Thanks.

Could you give me this in an example?

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

Cheers,
ASKER CERTIFIED SOLUTION
Avatar of gavsmith
gavsmith
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Avatar of Tony J
Tony J
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of tetrauk

ASKER

The SET CLIENTNAME works!

Thanks a lot!