[THIN] Re: query ip address and user id of client session

  • From: "Nishimura, Scott" <Scott.Nishimura@xxxxxxx>
  • To: <thin@xxxxxxxxxxxxx>
  • Date: Mon, 29 Jul 2002 09:53:46 -0700

Scott,

   I wasn't able to figure out a clean way to get the clientname/
IP address.  I did it via a Kix script:

$x=3DREDIRECTOUTPUT("C:\WINNT\Application Compatibility =
Scripts\Logon\users_and_devices\current_hostname.txt", 1)

$hostname =3D READVALUE("HKEY_CURRENT_USER\Volatile Environment", =
"Clientname")
$hostname ?

This is part of a login script; if you want to enumerate them all,
you'd have to alter it from HKCU to HKU and loop.  You can then
get the user info with %USERNAME%.


Scott

-----Original Message-----
From: Jeroen.vanderKooij@xxxxxxxxxxxxxxx
[mailto:Jeroen.vanderKooij@xxxxxxxxxxxxxxx]
Sent: Monday, July 29, 2002 6:41 AM
To: thin@xxxxxxxxxxxxx
Subject: [THIN] Re: query ip address and user id of client session



Hi!

Netstat -a will give you a list of connected machines with port numbers.
That way you will be able to view connected machines at the port number =
you
use for your ica connections.

Accounts is a different story, I didn't find that so fast.

Regards,
Jeroen

-----Original Message-----
From: Hopkins, Scott [mailto:Scott.Hopkins@xxxxxxxxxxx]=20
Sent: maandag 29 juli 2002 10:03
To: 'thin@xxxxxxxxxxxxx'
Subject: [THIN] query ip address and user id of client session



hi all,

is there a way from the command line to find out all the ip addresses =
and
user id's of  client sessions in XP on win2k.

thanks Scott



=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
This weeks Sponsor:
triCerat, Inc
ScrewDrivers fxp: Self Configuring Printer Driver with Bandwidth Control
Learn more at: http://www.tricerat.com/?page=3Dproducts&product=3Dsdfxp

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
For Archives, to Unsubscribe, Subscribe or=20
set Digest or Vacation mode use the below link.

http://thethin.net/citrixlist.cfm



=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
This weeks Sponsor:
triCerat, Inc
ScrewDrivers fxp: Self Configuring Printer Driver with Bandwidth Control
Learn more at:
http://www.tricerat.com/?page=3Dproducts&product=3Dsdfxp

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
For Archives, to Unsubscribe, Subscribe or=20
set Digest or Vacation mode use the below link.

http://thethin.net/citrixlist.cfm



===================================
This weeks Sponsor:
triCerat, Inc
ScrewDrivers fxp: Self Configuring Printer Driver with Bandwidth Control
Learn more at:
http://www.tricerat.com/?page=products&product=sdfxp

===================================
For Archives, to Unsubscribe, Subscribe or 
set Digest or Vacation mode use the below link.

http://thethin.net/citrixlist.cfm

Other related posts: