need to track last 7 days of user whether he logged in to our domain OR when he logged in and what times and date.

do i need to check AD server logs in event viewer or can i run any windows powershell command shell
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.

yo_beeDirector of Information TechnologyCommented:
You do need to look at the event logs on your DC.

You are looking for event Id 4624 with a logon type 2.

This can be a bit overwhelming.
Lee W, MVPTechnology and Business Process AdvisorCommented:
And you have to check EACH DC.  The logs only record when that specific DC has authenticated the user.  If you have 12 DCs over 9 sites, you have to check EACH because even though the site SHOULD authenticate them, unless you've done something to explicitly alter the behavior, ANY DC in ANY site could have authenticated him.

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
Better use tool like ad reporter (free tool from or bulk ad user from wisesoft and export all users lastlogon timestamp to excel / CSV and then search by user for required users
Naveen SharmaCommented:
How to Detect Last Logon Date and Time for all Active Directory Users:
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

From novice to tech pro — start learning today.