Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


Tracking User Logons in a Domain

 
Logged in as: Guest
arrSession:exec spGetSession 2,16,32133
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> Post a VBScript >> Tracking User Logons in a Domain
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1] 2   next >   >>
Login
Message << Older Topic   Newer Topic >>
 Tracking User Logons in a Domain - 3/9/2006 10:54:15 PM   
  turranx


Posts: 42
Score: 0
Joined: 2/7/2006
Status: offline
Krillian wrote and posted a great script in his thread http://www.visualbasicscript.com/m_30261/tm.htm.  But at my Evil Headquarters (tm) we do it a bit different.

This code logs user sessions to a SQL Database and has an ASP based web page to display that data.  Each post of mine in this thread will contain code for a different portion of the system.  I have two ugly red-headed stepchildren in my scripting family.  The first is a robocopy wrapper (perhaps I'll post it later) and the second is this web page.  :)  Be kind.

Logon_Activity_V2_Readme.txt

      

< Message edited by turranx -- 3/9/2006 11:02:44 PM >
 
 
Revisions: 1 | Post #: 1
 
 RE: Tracking User Logons in a Domain - 3/9/2006 10:55:41 PM   
  turranx


Posts: 42
Score: 0
Joined: 2/7/2006
Status: offline
Logon_Activity_V2_Table.sql

      

_____________________________

Microsoft Windows 2000 Scripting Guide - The best book for newbie scripters
http://www.myspace.com/Evil__Overlord

(in reply to turranx)
 
 
Post #: 2
 
 RE: Tracking User Logons in a Domain - 3/9/2006 10:59:18 PM   
  turranx


Posts: 42
Score: 0
Joined: 2/7/2006
Status: offline
Logon_Activity_V2_Stored_Procedures.sql

      

(in reply to turranx)
 
 
Post #: 3
 
 RE: Tracking User Logons in a Domain - 3/9/2006 11:01:01 PM   
  turranx


Posts: 42
Score: 0
Joined: 2/7/2006
Status: offline
Logon_Activity_V2_SQL_Server_Agent_Job.sql

      

< Message edited by turranx -- 3/9/2006 11:33:22 PM >

(in reply to turranx)
 
 
Revisions: 1 | Post #: 4
 
 RE: Tracking User Logons in a Domain - 3/9/2006 11:06:11 PM   
  turranx


Posts: 42
Score: 0
Joined: 2/7/2006
Status: offline
LogonActivityV4.wsf

      

(in reply to turranx)
 
 
Post #: 5
 
 RE: Tracking User Logons in a Domain - 3/9/2006 11:09:19 PM   
  turranx


Posts: 42
Score: 0
Joined: 2/7/2006
Status: offline
Web Page - LogonSessions2005
You will also need "adovbs.inc".  Search your hard drive for it.

config.txt

      

< Message edited by turranx -- 3/9/2006 11:39:05 PM >

(in reply to turranx)
 
 
Revisions: 2 | Post #: 6
 
 RE: Tracking User Logons in a Domain - 3/9/2006 11:10:23 PM   
  turranx


Posts: 42
Score: 0
Joined: 2/7/2006
Status: offline
Web Page - LogonSessions2005

global.asp

      

(in reply to turranx)
 
 
Post #: 7