Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Tracking client IP addresses in Terminal Server

Status
Not open for further replies.

yizhar

MIS
Joined
Sep 1, 2001
Messages
2,282
Location
IL
HI.

I would like to log the client IP addresses of clients connecting to a Windows 2000 SP2 Terminal Server.
The clients are using TSCLIENT on Win9x computers.
The server is stand alone, not member of any domain,
using local user accounts.

I'm looking for something similar to IIS logs, but any record of IP addresses will be good, and if it combines the user name then even better.

Anyone knows how to do it?

Thanx


Yizhar Hurwitz
 
Have you tried auditing user logins using event viewer? I am not sure if this provides the same functionality for Terminal Services, but it is worth a shot. If that doesn't work, there are third party utilities that all you to track connections by IP addresses.
 
Hi,

There isn't an automatic solution to this that I know of!

Citrix Server Administration or Citrix Management Console (depends on your Citrix version) will show you but you'll have to do it!

Cheers,
Ogi
 
HI.

I'm using this batch file, running from the "All Users\Startup" folder.
It gives me the info that I need (user name, computer name, actual IP address) for a TS with very few users:

@ECHO OFF
ECHO. >>TSLOGGER.LOG
DATE /T >>TSLOGGER.LOG
TIME /T >>TSLOGGER.LOG
SET CLIENTNAME >>TSLOGGER.LOG
SET SESSIONNAME >>TSLOGGER.LOG
SET USERNAME >>TSLOGGER.LOG
NETSTAT -n >>TSLOGGER.LOG
ECHO. >>TSLOGGER.LOG
ECHO ============== >>TSLOGGER.LOG

REM I've created this file to log user access to a W2K Terminal Server,
REM So I can track login time, computer name,
REM and client IP addresses in some manner.
REM If you're using this, or know of a better way to track client connections,
REM (other then Event Viewer auditing that is not enough)
REM Please let me know.
REM , yizhar@mail.com

Bye
Yizhar Hurwitz
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top