BTW, you can also pull the last domain name logged into from the DefaultDomainName under that same reg key. You might need to do this, judging from your description of what you're trying to do. Otherwise, you may drive yourself nuts trying to match local account logins with non-existant DC records :^) -JB -----Original Message----- From: Roger Seielstad [mailto:roger.seielstad@;inovis.com] Sent: Friday, November 08, 2002 5:09 AM To: '[EMAIL PROTECTED]' Subject: RE: [ActiveDir] LDAP Display Name for User logged into computer
You can't do that, per se. AD doesn't track who logged in where. You'd have to turn on logon auditing and scrape the DC logs to pull that off. Alternately, there *might* be something you can poll per machine via WMI, but I don't think so. ------------------------------------------------------ Roger D. Seielstad - MCSE Sr. Systems Administrator Inovis - Formerly Harbinger and Extricity Atlanta, GA > -----Original Message----- > From: Jones, Rick J.(Desktop Engineering) > [mailto:rick.j.jones@;attws.com] > Sent: Thursday, November 07, 2002 6:40 PM > To: [EMAIL PROTECTED] > Subject: [ActiveDir] LDAP Display Name for User logged into computer > > > What is the LDAP display name on a computer account for the user that > logged into the system from that computer? > > What I am trying to do is pole active directory with a vbscript I have > to find out the UserID of the user that last logged into the domain > from that computer. > > Any thoughts? > > Rick > > List info : http://www.activedir.org/mail_list.htm List FAQ : http://www.activedir.org/list_faq.htm List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/ List info : http://www.activedir.org/mail_list.htm List FAQ : http://www.activedir.org/list_faq.htm List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/ List info : http://www.activedir.org/mail_list.htm List FAQ : http://www.activedir.org/list_faq.htm List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/