Solved

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

Posted on 2015-02-05
6
90 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

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

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

This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
Had a business requirement to store the mobile number in an environmental variable. This is just a quick article on how this was done.
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 tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …

739 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