Knowing whos logged into a Windows 2000 workstation over the last week

Hi friends,

How do I find out a log of all users that have logged on to a workstation since it was last rebooted. I would like to know what username, password, time and date, and IP address if remote.

Is this possible?

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Pete LongTechnical ConsultantCommented:
you cant  - unless auditing was switched on prior to the reboot (its disabled by default)

Pete LongTechnical ConsultantCommented:
if auditing was enabled logon events would also have to be turned on for success at least - for the events to be logged to the event log


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Muhammad Ahmad ImranDatabase DeveloperCommented:
Not Confirmed but may be of some assitance

Download a software : SAM ( Steal Activity Monitor).

Hope this help
Cloud Class® Course: Ruby Fundamentals

This course will introduce you to Ruby, as well as teach you about classes, methods, variables, data structures, loops, enumerable methods, and finishing touches.

LeeGoldingAuthor Commented:
Hi Pete,

Sounds like a plain. Could you explain how to set this up to get the information I require please?

Points to 250 for the extra info :-)


Nirmal SharmaSolution ArchitectCommented:
As far i know its not possible. I have asked the same question and didn't get reply yet :-(
LeeGoldingAuthor Commented:
So much for windows security eh lol!

Is there a third party software application that does it if Windows can't do it natively?

Nirmal SharmaSolution ArchitectCommented:
No sorry.
Danny ChildIT ManagerCommented:
If you have roaming profiles installed, the timestamp on the C:\Documents and Settings\<username> folder will tell you when it was last updated.  However, all this tells you is the last logon, so if they logged on prior to that, it's overwritten.  

Note that also some users could delete their copy of the profile if they were being uber-paranoid (and were permissioned to do that).  
Danny ChildIT ManagerCommented:
Audit log on/off:

note that you'll have to check each DC that you have, as users are randomly authenticated to one for each logon.  

as an alternative, use your logon script to pass some variables to a text file somewhere
hth, Danny
I love it when people say you can't do something related to IT, they are usually wrong!

This can be accomplished but it is going to take a couple of steps to setup.

1.) First you need to turn on Auditing of succesful logons locally on each Pc.(Can be done via script or Group Policy)
2.) Setup a Shutdown script via Group Policy that first backs up the Security Logs and then clears the Security event log before shutdown.

If you set this up as a Shutdown script it will do it before each time the machine shuts down.

The only thing you aren't going to get from this is the users password.

Backs up and clears the Security event log.
strComputer = "."
Set objWMIService = GetObject("winmgmts:" _
    & "{impersonationLevel=impersonate,(Backup)}!\\" & _
        strComputer & "\root\cimv2")

Set colLogFiles = objWMIService.ExecQuery _
    ("Select * from Win32_NTEventLogFile where LogFileName='Security'")

For Each objLogfile in colLogFiles
    errBackupLog = objLogFile.BackupEventLog("c:\scripts\Security.evt")
    If errBackupLog <> 0 Then        
        Wscript.Echo "The Security event log could not be backed up."
    End If

Pete LongTechnical ConsultantCommented:
>>I love it when people say you can't do something related to IT, they are usually wrong!

Show me how to retrospectively audit logon events that have happened before audinting was turned on???????????????

IE since the last reboot??

all your script does is back up the event log?? theres nothin in it till auditing is turned ON?
as per my comment above in anser to the actual question THAT WAS ASKED!

you can only see who was logged on since last reboot if auditing was allready turned on and configured!!

You can write as mant scripts as you like you need a flux capacitor and a dalorean to go back in time

>> theres nothin in it till auditing is turned ON?
That is 100% true - unless auditing is turned on initially you won't see it in the security log.
Then you can use something like this
Pete LongTechnical ConsultantCommented:
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows 2000

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.