Solved

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

Posted on 2015-02-05
6
91 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Office 365 Training for IT Pros

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A company’s centralized system that manages user data, security, and distributed resources is often a focus of criminal attention. Active Directory (AD) is no exception. In truth, it’s even more likely to be targeted due to the number of companies …
A hard and fast method for reducing Active Directory Administrators members.
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 to another domain controller. Log onto the new domain controller with a user account t…
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

691 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