Home > Active Directory, How To, Tips, Windows 2008, Windows 7 > How to get the last password change for a user in Active Directory

How to get the last password change for a user in Active Directory

If you need to know when was the last password change made ​​by a user member of an Active Directory domain, you can simply use the following PowerShell instructions:

  • on a Windows 7 client or Windows 2008, Windows 2008R2 server which are member of the Active Directory domain that belong the user you want to analyze, open PowerShell Console and at the prompt write:

Import-Module ActiveDirectory
Get-ADUser ‘UserName’ -properties PasswordLastSet | Format-List

  • for example:

Import-Module ActiveDirectory
Get-ADUser ‘tani.alessandro’ -properties PasswordLastSet | Format-List

In the field PasswordLastSet you can find date of last password change.

  1. roan
    26/04/2013 at 10:48

    Thanks.. gr8.
    bcoz some tech side no any support

  2. 28/05/2014 at 19:57

    Thanks for sharing ʏouг thougҺts аbout wordpress template.
    Ʀegards

  3. 01/06/2014 at 00:10

    whoah tɦis weblog is great і love studyiing уour articles.
    Kеep up the good wߋrk! You understand, а
    llot of people are lߋoking around for tҺis info, you cann help tem greatly.

  4. Schlund
    12/06/2014 at 14:28

    Thanks. Nice. Working well. Do you know if there’s a way to determine the domain controller where the password was changed? We have several DC’s in each domain.

  5. 08/10/2014 at 14:55

    I have read sօ many articles or reviews aƄout tɦе blogger lovets Һowever
    tɦiѕ post is truly a nice pieche of writing, keeρ itt up.

  6. Suresh K
    07/05/2015 at 02:46

    Thanks, worked perfectly. User calls complaining a laptop will no longer accept his password. Command shows his password is 90 days old (needs to be changed per policy) HA

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: