Determine which AD domain controller has authenticated which domain users

Are there any methods or utilities within Server 2016 that will list which Active Directory users have been authenticated by which Active Directory domain controller?

I have several domain controllers within my organization and would like to quickly determine and monitor which users have been authenticated by which domain controller by gathering this information on the server without having to go to each client computer and running the set logonserver command line command.
IT GuyNetwork EngineerAsked:
Who is Participating?

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

x
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.

Lee W, MVPTechnology and Business Process AdvisorCommented:
Domain controllers themselves only track the last time they individually authenticated a user.  If you want a "last login" type of report, you'll need the login script I suggested before and you appear to have ignored:

You could create a csv text file by adding to their login script a command like this:

echo %username%,%computername%,%logonserver%,%date%,%time% >> \\server\share\DailyLogins%date:~-4%%date:~4,2%%date:~7,2%.txt

Open in new window

(Note the above assumes standard US based date/time formats; %date% variables that produce an output other than DAY MM/DD/YYYY format will result in a different, possibly nonsense, possibly not working file name).

Then you could just open the file and review who logged in where when and was authenticated by which DC.
Naveen SharmaCommented:
May this Powershell help:

Get-EventLog System -Source Microsoft-Windows-WinLogon -After (Get-Date).AddDays(-2) -ComputerName computername

This will retrieve logon and logoff information on that computer.

You can check the security log on each domain controller, which could have authenticated that user.

Enable audit policy for users login/logoff. Please see: How to Audit Successful Logon/Logoff in Active Directory: http://www.lepide.com/blog/audit-successful-logon-logoff-and-failed-logons-in-activedirectory/

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
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 2016

From novice to tech pro — start learning today.