« Previous Next »

Thread: Find Password Last Set

Last post 09-23-2009 7:43 PM by joelangley. 3 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (4 items)

Sort Posts:

  • 06-29-2005, 7:19 PM

    Find Password Last Set

    To get the date/time the password was last set, use the following sample.
    logparser -i:ADS "SELECT cn, to_timestamp(add(mul(to_real(pwdlastset),.0000001),TO_REAL(TO_TIMESTAMP('1601, 01 01 00:00','yyyy, MM dd hh:mm')))) AS date_pwd_last_set FROM 'LDAP://example.com/cn=Users,dc=example,dc=com'" -objClass:user
  • 12-13-2006, 1:47 AM In reply to

    Thanks very much for this, I can make use of this, I'll also use it to find old computer accounts -objClass:Computer

    Thanks again
  • 09-22-2009, 2:59 PM In reply to

    • ctameron
    • Not Ranked
    • Joined on 09-22-2009, 6:59 PM
    • Posts 1

    Do i do this at the cmd prompt or aduc query.  command is giving me what is logparser?

     

     

  • 09-23-2009, 7:43 PM In reply to

     Is logparser in your environment path variable? If not, you will need to navigate to the folder where logparser.exe is first.

    Check out my blog for other cool tips and tricks:

    http://joelangley.blogspot.com/
Page 1 of 1 (4 items)
Microsoft Communities