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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to create log file of Terminal Services connections?

Status
Not open for further replies.

Yeastman

IS-IT--Management
Nov 18, 2002
6
US
Have a Win2k Server running Terminal Services - users logging in via a NAT'ed public IP address.

NAT'ed or 'Natted?' hrrmmm...

(Anyhow...) I would like for the system to log all terminal server action, in a way similar to the logging of FTP use on a win2k server.

Anyone have suggestions?
 
"Log Terminal Server action" - do you mean log everything that is done on the TS? If you just want to know who connects when and to which TS, how about in the users login script? If the environment variable SESSIONNAME has a value then the user has connected to a terminal server. You can then log the user, servername ..etc to a text file. Or, if you are monitoring the event log, send it there instead.
 
OK, I can write a script to write to a text file when de user logs in, but what event can I use to run a script when de remote desktop connection is disconnected? (Not necesarily when the user logs out).

Tank You
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top