I need to get a specific user logon times

We have a Windows 2012 domain controller; 300+ users.
I need to search our security log files for each time a user in our AD logged in.
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

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.

Mal OsborneAlpha GeekCommented:
You COULD go trolling through the security logs on the DC, but probably easier to either:

1. Get some 3rd party log parsing tool. Heaps of the are out there.

2. Write a script to append a text file when each user logs in. The following example: give you enough to go on:  
echo Log In %Date% %TIME% %USERNAME% >> \\servername\Logs\COMPUTERNAME%.log

I would prefer to use the second method. You can have the log with the info you need and formatted as desired that way.

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
Rakesh KapoorCommented:
You need to enable audit logging from the Group Policy. But are you sure you wanna do it, as it would create many logs.
WPC479Author Commented:
Both have been helpful for current and moving forward.
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 Server 2012

From novice to tech pro — start learning today.