Need to obtain list of AD users matching them with their computers.

We are being asked to deploy software to a list of users.  However, our deployment software can only push  to computers, not users.  Is it possible to generate an AD query that would match users with the computers that they have logged on to?  We have a Windows 2003 domain currently.  Please accept my apology if this question has already been answered.  Thank you!
rroati-provAsked:
Who is Participating?
 
pony10usConnect With a Mentor Commented:
We have built a logon script that creates a text file of computer and user and send that to our syslog server.

A one liner would be something like:

echo Log In %Date% %TIME% %C"OMPUTERNAME% %USERNAME% >> \\servername\Logs\User\logon_history.log
0
 
pony10usCommented:
AD does not connect users with computers.  Unless you set the logon to option on a users account they are able to log on to any computer.
0
 
rroati-provAuthor Commented:
Thanks, pony10us.  You are correct, we allow our users to logon to any computer.  However, is it possible to determine through AD the last computer they logged onto?
0
 
rroati-provAuthor Commented:
Hi Satyendara, Thanks for pointing me to the Lepide Last Logon Reporter Tool, it looks like a good tool to find when users last logged on, but from what I see, it does not provide the computer name.
Pony10us, your idea appears to be the best thing we can do.  I am going to accept your response as the solution.  Thank you!

Thanks,
Richard
0
 
pony10usCommented:
Glad I could help.  I also looked at Lepide and didn't see where it provided the computer name.  Otherwise it looks like a very nice tool.
0
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.

All Courses

From novice to tech pro — start learning today.