Re: LDAP Query



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
--


.



Relevant Pages

  • Re: Lab Domain Layout - SOS
    ... So the Servers and Workstation GPOs DO have logon scripts assigned at ... But because the labadmin user is assigned ... >>Seperate logon scripts are defined for both the Server OU, and Workstation ...
    (microsoft.public.windows.server.active_directory)
  • Re: Lab Domain Layout - SOS
    ... So the Servers and Workstation GPOs DO have logon scripts assigned at ... But because the labadmin user is assigned ... >>Seperate logon scripts are defined for both the Server OU, and Workstation ...
    (microsoft.public.win2000.group_policy)
  • Re: Logon Failure User Account Restriction
    ... Active Directory and several XP Pro workstations attached to it. ... workstation that acts as a file server. ... enter 'administrator' and 'mypassword' to gain access. ... entirely, reinstalled XP, and only put on networking drivers. ...
    (microsoft.public.windowsxp.basics)
  • Active Directory / Policies questions
    ... Have some questions concerning Active Directory and Policies. ... install software on some computers when using a domain user account. ... When joining a workstation to the domain, ...
    (microsoft.public.win2000.active_directory)
  • Re: Prevent from Creating Computer Objects
    ... A.a computer object is created in that OU and workstation is jointed to ... Joe Richards Microsoft MVP Windows Server Directory Services ... Author of O'Reilly Active Directory Third Edition ... computer name,causing a computer account to be created in Computer container. ...
    (microsoft.public.win2000.active_directory)

Loading