Discussion Locked

logging when users log on

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Is there a way on my NT server to log to a text file when certain users log onto the local network?

thanks

5 replies

by joseph moore

I run the following line in every user logon script:

NOW.EXE %USERNAME% LOGGED ONTO %COMPUTERNAME% >>\\PDC\NETLOGON\logfile.txt

That line will append 1 line to a text file called LOGFILE.TXT that is in the Netlogon shared folder (where the logon scripts are kept on the PDC) that looks like:

07/17/2002 Tuesday 09:00:00AM JOE LOGGED ONTO MYSYSTEM

Every user writes to this file.

NOW.EXE comes from the Resource Kit.

hope this helps

by jlarsen

I could not find "now.exe" on my resource kit and i even downloaded the latest version of NT 4.0 resource kit and it wasn't on there.
is there another (manual) way of having that logon script log the user and time??
thanks!

by joseph moore

You can just do a search on the Internet for "now.exe" and you will find it.
I have the win2kpro Resource Kit, and NOW is with it.

by jlarsen

i'm not using "now.exe" but i am using a form of that script you meantioned...thanks!

This discussion is closed to new replies.