2 replies
by joseph moore
I have a couple of ideas for you.
First, you could get a copy of Dameware NT Utilities (www.dameware.com). Dameware is a single program that combines many Windows functions. With Dameware, I can check my servers Event Viewer logs, add users to my domain, look at running processes, export out installed hotfixes & Service Packs, manage Terminal Server sessions, look at hard drive usage, and lots of other things!
Dameware works on NT/2K/XP/2K3 machines.
One of its many features is, when you select the Users on a domain controller, you can look at the Logon Information for that user account. You can also have the login info from all domain controllers listed. You just right-click on a user and select Logon Information.
You could use this to tell the last logon time for user accounts.
Now, something else you can do is the following:
now.exe %username% -- %computername% >>\\MYPDC\netlogon\login.txt
I will explain now. I have that line in every logon script my users use; all my users have a logon script assigned. The above line writes to a TXT file I keep that records when it was triggered. Now, since this line is ONLY ran when the logon scripts are run, then I have a list in a single TXT file of when my individual users log in! Here is what the output file looks like:
Wed May 21 20:09:00 2003 -- administrator -- MYPDC
Wed May 21 15:16:11 2003 -- JOE-- SYSTEM1
Wed May 21 15:38:04 2003 -- BOB-- SYSTEM2
Wed May 21 15:45:29 2003 -- TOM-- SYSTEM3
etc.
I usethis TXT file to tell when my users log in. It is faster than the DAmeware process, and easy to do. The only trick to this is that I run NOW.EXE, which is a Resource Kit tool. NOW.EXE displays the date, date and time. YOu would need this EXE file torun the single line in the logon scripts correctly (I keep NOW.EXE in the NETLOGON share on my NT4 PDC).
hope this helps
by uch
I suggest you use this simple Logon script and direct the output to a file of ur choice as in Answer1 above.
echo %username% %date% %time% %computername% >> login.txt
This discussion is closed to new replies.
Trending Networks posts
Sort by Trending