Solved

I would like to know which users are logging on to which computers in AD 2003.

Posted on 2009-05-19
6
260 Views
Last Modified: 2013-11-25
I'm trying to create an inventory list to link users to the computers they log into.  Is there a query in AD that can accomplish this?  I've seen inactive user and computer queries, but just can't seem to get the info I'm looking for.  

Thanks
0
Comment
Question by:lakeview108
6 Comments
 
LVL 15

Expert Comment

by:zelron22
ID: 24424775
If you have Symantec antivirus, the management console will show you who is logged into a given computer.

Alternatively, you could add a line to a login script that updates a file with %username% and %computername%.  Put the file somewhere users can access, such as a hidden share called \\servername\userpclogs$.
0
 
LVL 57

Expert Comment

by:Mike Kline
ID: 24424833
To follow up zelron's comment you can look at this article
http://support.microsoft.com/kb/556015
How to track users logon/logoff
You can also track events on your DCs (security log).  Third party event management tools can help with that (but they are not cheap)
Thanks
Mike
 
0
 

Author Comment

by:lakeview108
ID: 24424906
mkline71, I have the auditing features turned on, but on the DC I only get ComputerName logon/logoff events and the userID only reiterates the ComputerName.  I've looked at the 3rd party tools, but they are very expensive and to much for the budget right now.  I was really hoping for free.  ;-)
0
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 
LVL 26

Accepted Solution

by:
Pber earned 500 total points
ID: 24425697
Unfortunately Windows doesn't make this easy.
A while ago I came across this solution, it required some permission changes to the description attribute in AD, but none the less, cool solution:
http://www.experts-exchange.com/Programming/Languages/Visual_Basic/VB_Script/Q_23509035.html
further info:
http://share.intelliem.com/cs/blogs/danholme/archive/2008/05/11/populate-computer-description-field-with-information-about-the-logged-on-user.aspx 
0
 

Author Closing Comment

by:lakeview108
ID: 31583145
Pber, that wasn't exactly what I was looking for but that's only because I wasn't looking in the right direction.  Thanks a bunch for that script and the further info, it was very helpful!  
0
 
LVL 26

Expert Comment

by:Pber
ID: 24426353
Glad to help.  Alternately, you can generate log file(s) on a share somewhere in your network that all users write to when they logon to the network.  Then you can just look in that one area.  This is what we do.   You can then process the files and import them into a database and manipulate the data any way you like.  Good for stuff like daily logs, user or computer specific logs.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
Learn how ViaSat reduced average response times for IT incidents from 10 minutes to 30 seconds.
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 …

808 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