OK, i have a fix for this problem.
All you need is a .dll and a little vbs-code.

wtsmanager.dll

Code:

$WTS = CreateObject("WTSManager.Shell")
$clIP = $WTS.MyIPAddress
$clName = $WTS.MyClientName
MessageBox ("My computer name: $clName @CRLF My IP address: $clIP","Test", 4160)

Serversided it runs only under W2K. If the Client runs NT4.0 Workstation you must have installed the TS-Client from W2K, elsewhere it dont works.
I think, it caused by the RDP5-protocol.

Jacks0r

[ 29 May 2002, 16:17: Message edited by: Jacks0r ]