Cable Forum

Cable Forum (https://www.cableforum.uk/board/index.php)
-   General IT Discussion (https://www.cableforum.uk/board/forumdisplay.php?f=19)
-   -   W2K Sever logon Record/report (https://www.cableforum.uk/board/showthread.php?t=13174)

nighthawk 03-06-2004 12:12

W2K Sever logon Record/report
 
Hi,

I run a W2k Server Domain in work & i need to be able to record when certain computers logon. I am looking for something that would generate a report similar to below. This is based in a servcie factory therefore i can have upto 25 machines using the same logon but each has a different computer name.

03/06/2004 08:00 Fenway2-nff Fenway2-001
03/06/2004 08:02 Fenway2-fin Fenway2-003
03/06/2004 08:02 Fenway2-nff Fenway2-025
03/06/2004 10:00 Fenway2-nff Fenway2-001

1st Columb: Date & Time
2nd Columb: Logon Name
3rd COlumb: Computer Name

Does this exist?

thanks,

Steve

Jon M 03-06-2004 13:05

Re: W2K Sever logon Record/report
 
By default Event Viewer only logs failed logon attempts under the "security" log. To enable all logon/logoff details you need to enable a security audit as described here: http://support.microsoft.com/?kbid=300549

You can then use the resulting log in whatever report you wish to generate.

Paul 03-06-2004 13:39

Re: W2K Sever logon Record/report
 
You could just write a logon script in Kix to do it - I use this at work - all user logons are added to a series of text files detailing all sorts of information like computername, username, date, time, current AV version, windows version (inc service pack), memory & processor details, IP address etc.

Jon M 03-06-2004 13:48

Re: W2K Sever logon Record/report
 
Quote:

Originally Posted by Pem
<snip>

Kix Scripts are great, I've used them for a few years myself :tu:
In this case though, it may be a bit technical don't you think?

Tricky 03-06-2004 17:20

Re: W2K Sever logon Record/report
 
Quote:

Originally Posted by s1lv3r
Kix Scripts are great, I've used them for a few years myself :tu:
In this case though, it may be a bit technical don't you think?

Kix32 Ideal for task - www.kixstart.org

Something along the lines of:
IF @USERID = "ACCOUNT"
LOGEVENT(0,999,"Logon OK - "+@DATE+" "+@TIME+" - "+@WKSTA
ENDIF

Basically, if "ACCOUNT" logs on then Log an event in the event log - 0 = Success Audit, 999 = Message ID, etc.

Find the manual @ http://www.kixstart.org/bin/KIX2001.doc

nighthawk 03-06-2004 18:46

Re: W2K Sever logon Record/report
 
you have all lost me now.. the only scripting i currently use is .bat files for the logon scripts. i have one per logon to map their network drive & copy across updates.

what are kix scripts & where do you use them.. do you just cal them in the active directory under the lgon script function?

Tricky 03-06-2004 19:37

Re: W2K Sever logon Record/report
 
Quote:

Originally Posted by nighthawk
you have all lost me now.. the only scripting i currently use is .bat files for the logon scripts. i have one per logon to map their network drive & copy across updates.

what are kix scripts & where do you use them.. do you just cal them in the active directory under the lgon script function?

Check out the link in my original post - This is where you'll be able to download it along with a manual
You can run it from within a batch (.bat) file using the syntax kix32 <scriptfile>
You have one script per user? - Perhaps you should review this at somepoint, perhaps using Kix to do the per user stuff for you allowing you to have a common script for all users.

VBScript is another alternative, but if you're limits are currently batch files you'll be OK with KIX

Good luck :erm:


All times are GMT. The time now is 16:36.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
All Posts and Content are © Cable Forum