Last Password Change

  • Thread starter Thread starter Tony Yuhas [MSFT]
  • Start date Start date
T

Tony Yuhas [MSFT]

Hi Ivan,

This information is stored in the pwdLastSet attribute.
This value is the number of seconds since 1/1/1601.

Hope this helps,
Tony Yuhas
Microsoft
Active Directory Tools

This posting is provided AS IS and confers no rights.
 
Thanks a lot, Tony.
By the way is there any program to convert this value to a
date format value ??? If not I will have to develop it (in
fact i am thinking to use some database's function to get
it.
Thanks regards,
 
Or you can modify this vb script.

Set objUser = GetObject _
("LDAP://CN=NAME,ou=?,ou=?,DC=coxhealth,DC=com")
dtmValue = objUser.PasswordLastChanged
Wscript.Echo "USERS NAME Password was last set: " & dtmValue
 
Back
Top