Page 1 of 1 1
Topic Options
#139201 - 2005-05-05 08:00 PM Tracking user login and logoff time
Quoc Offline
Lurker

Registered: 2005-05-05
Posts: 2
I was doing a search on google about tracking user login/logoff time and found a forum about someone using Kixtart to track user. I have been reading through this forum to get a understanding of how I could set it up at work. We are still using NT4 with W2K station.

I could understand about the script running at login but how would the script run when the user logoff the domain? Can someone show me how to set this up and what script should I use?

Thank You
Tony

Top
#139202 - 2005-05-05 09:10 PM Re: Tracking user login and logoff time
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Use CConnect
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#139203 - 2005-05-06 01:42 AM Re: Tracking user login and logoff time
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11631
Loc: CA
Here is a link for it.

MORE INFORMATION

Quote:

Install the Windows 2000 Resource Kit tool named CConnect.exe on each client computer. This tool, in conjunction with an .adm file supplied by the tool, can perform the following functions:
 
• Limit concurrent connections per user.
• Log off remote computers when concurrent connections are reached.
• List all computers that a user is logged on to.
• List logon servers for each user.
• Show how many users are logged on to a domain controller (DC).
• Force a logoff when concurrent connections are reached.
• Enable debugging of the CConnect tool.
• Write events to the event log of a specified server concerning the status of the CConnect tool.
• Save all lists to a file for further examination.
• Track the last user of the computer and only limit that user from logging on to the computer if the computer was shut down improperly.




Top
#139204 - 2005-05-06 04:55 PM Re: Tracking user login and logoff time
Quoc Offline
Lurker

Registered: 2005-05-05
Posts: 2
All I want to do is some how store the time a user login and then a time the user logoff to a file. Will CConnect do this for me?
Top
#139205 - 2005-05-06 07:32 PM Re: Tracking user login and logoff time
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11631
Loc: CA
It will store all that data and more in a SQL database. Otherwise you would need to query all the Domain Controller event logs.
Top
#139206 - 2005-05-08 02:15 PM Re: Tracking user login and logoff time
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
First you'll need to enable logon/logoff auditing. Then you use the ReadEventlog() UDF to pull all logon/logoff event from the eventlogs into a database in regular intervals.
_________________________
There are two types of vessels, submarines and targets.

Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
1 registered (Allen) and 363 anonymous users online.
Newest Members
Sir_Barrington, batdk82, StuTheCoder, M_Moore, BeeEm
17886 Registered Users

Generated in 0.833 seconds in which 0.654 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org