Terminal Services Session IP Address

  • Thread starter Thread starter Andrew Oliver
  • Start date Start date
A

Andrew Oliver

Hi there

Does anyone know how I find a terminal services session IP
address?
Would like to use vbs scripts to set up user enviroment
based on subnet/ip address
Regards ACO
 
Andrew Oliver said:
Hi there

Does anyone know how I find a terminal services session IP
address?
Would like to use vbs scripts to set up user enviroment
based on subnet/ip address
Regards ACO

I assume you mean the IP of the client computer. If so you need to use the
WTSQuerySessionInformation() API (cannot be done through VB script) to get
client information. I think you'll need to write a VB6 or C++ helper app or
COM object in order to do this.


Arild
 
Back
Top