Solved

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

Posted on 2015-02-05
6
86 Views
Last Modified: 2015-03-03
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!
0
Comment
Question by:rroati-prov
  • 3
  • 2
6 Comments
 
LVL 26

Expert Comment

by:pony10us
ID: 40591590
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
 

Author Comment

by:rroati-prov
ID: 40591605
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
 
LVL 26

Accepted Solution

by:
pony10us earned 500 total points
ID: 40591701
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
 

Author Comment

by:rroati-prov
ID: 40598692
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
 
LVL 26

Expert Comment

by:pony10us
ID: 40598775
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

Featured Post

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Join & Write a Comment

Do you have users whose passwords are expiring and they are constantly calling you?  Well I sure did and needed a way to put an end to this.  We have a lot of remote users which would not be notified that their passwords were expiring since they wer…
Resolve DNS query failed errors for Exchange
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now