You can find the last password change for a user in Active Directory Server 2016/2019 by following these steps:

  1. Open the Active Directory Users and Computers (ADUC) management console on the Domain Controller.
  2. Navigate to the user object for which you want to check the password change date.
  3. Right-click on the user object and select “Properties”.
  4. In the “Properties” window, click on the “Attribute Editor” tab.
  5. Scroll down to find the “PwdLastSet” attribute and check its value. This attribute stores the number of 100-nanosecond intervals since January 1, 1601 (UTC) when the user’s password was last changed.
  6. Convert the value of the “PwdLastSet” attribute into a human-readable date and time. You can use an online conversion tool or PowerShell command to do this. For example, you can use the following PowerShell command:Get-ADUser -Identity “UserName” -Properties PwdLastSet | Select-Object @{Name=”PwdLastSet”;Expression={[datetime]::FromFileTime($_.PwdLastSet)}}

This will display the last password change date and time for the user in a readable format.

Note: If the “PwdLastSet” attribute is set to “0”, it means that the user must change their password at the next logon.

In Windows, you can use the net user command to check the last password set date for a user account. Here’s the command you can use:

Here net user “Username” /domain is the complete command to check the password last set for info.02 user

By amit_g

Welcome to my IT Infra Blog! My name is Amit Kumar, and I am an IT infrastructure expert with over 11 years of experience in the field. Throughout my career, I have worked with a wide variety of systems and technologies, from network infrastructure and cloud computing to hardware and software development. On this blog, I aim to share my knowledge, insights, and opinions on all things related to IT infrastructure. From industry trends and best practices to tips and tricks for managing complex systems, my goal is to provide valuable information that will help IT professionals and enthusiasts alike. Whether you are a seasoned IT veteran or just getting started in the field, I hope you will find my blog to be a valuable resource. In addition to sharing my own thoughts and ideas, I also welcome feedback, comments, and questions from my readers. I believe that a collaborative approach is the best way to advance the field of IT infrastructure and I look forward to hearing from you. Thank you for visiting my blog, and I hope you will continue to follow along as I explore the fascinating world of IT infrastructure. Sincerely, Amit Kumar

Leave a Reply

Your email address will not be published. Required fields are marked *