Link to home
Start Free TrialLog in
Avatar of Harrris
HarrrisFlag for Cyprus

asked on

Active Directory Users and Computers

From Active directory Users and Computers, can I find for a specific computer the user who is currently logged in that computer? and also, can I find the users that used the computer so far, from the time the computer was added in the domain?
Avatar of Mike Kline
Mike Kline
Flag of United States of America image

You can't do those things from AD users and computers.
For the currently logged in question you can use pslogged on from MIcrosoft http://technet.microsoft.com/en-us/sysinternals/bb897545.aspx
As far as finding every user that has logged on from a particular computer that would take going through security logs (local or search through all the DCs).   that may not be easy though as logs are overwritten (depending on your settings).
 
Thanks
Mike
Avatar of Harrris

ASKER

Actually this is what I want to do:
I have an IP address of a computer and I want to know who is currently using that IP. From AD users and computers you can create a query and find the computer which has that IP address, but you cannot find the user who owns/uses that PC (only if the hostname of the PC is something that refers to the user). I know that in AD, a computer and its user are two different objects but are computer objects and user objects related in any way that helps you to find who is the user of a specific computer?
No unfortunately there is no association between a user and computer object in AD.  In this case I'd go to the local logs on that PC.
 
Thanks
Mike
ASKER CERTIFIED SOLUTION
Avatar of Awinish
Awinish
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of hshao
hshao

Hi,

The free tool Limitlogin.exe from Microsoft can be used to see user's login information and that may be what you want:

http://blogs.msdn.com/spatdsg/archive/2005/03/14/395256.aspx

Download it here:
http://support.microsoft.com/kb/237282

Hope this helps.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial