Re: LDAP Query
- From: "Richard Mueller [MVP]" <rlmueller-nospam@xxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 7 Feb 2008 06:59:17 -0600
Ansy wrote:
I want to make a LDAP Query in Windows 2000 based Active Directory to get a
list of people who logs to a certain workstation an dthe total number. How
do
i do this?
--
Ansy
Active Directory does not keep track of which users log into which
workstations. Active Directory does not even know who currently is logged
into which workstation.
I believe there is no way to determine (after the fact) how many times a
user has logged into a workstation. You might be able to tell which users
have logged into a particular computer using WMI to retrieve information on
the profiles saved on the machine.
You could use logon scripts to log the user and computer name to a shared
log file. This would allow you to tell which users logged into any
workstation, and the number of times. I have an example VBScript logon
script linked here:
http://www.rlmueller.net/Logon5.htm
--
Richard Mueller
Microsoft MVP Scripting and ADSI
Hilltop Lab - http://www.rlmueller.net
--
.
- Follow-Ups:
- Re: LDAP Query
- From: Anzelem
- Re: LDAP Query
- Prev by Date: Re: Trusted domains
- Next by Date: Re: LDAP Query
- Previous by thread: Re: Exchange 2003 installation
- Next by thread: Re: LDAP Query
- Index(es):
Relevant Pages
|
Loading