Extend Expired Passwords In Active Directory (AD)

Skip to content Extend Expired Passwords in Active Directory (AD) Extend Expired Passwords in Active Directory (AD) TweetPinShare

Users are now returning to work from furlough caused by the COVID-19 pandemic.  Many passwords have expired by having not been changed and can cause a large number of Help Desk calls that can be avoided.  Here are the steps to reset the clock on your password policy for user accounts.  It will for example if you had a 90 day password reset policy set the password last set date to the current date/time.

Extend Expired Password Using Powershell:

  1. On a machine with access to Active Directory launch Powershell as Administrator.
  2. Run the following command to reset the pwdlastset attribute to 0. Set-ADUser -Identity username -Replace @{pwdlastset="0"}
    1 Set-ADUser-Identityusername-Replace@{pwdlastset="0"}
  3. Next run the command to reset the pwdlastset attribute to -1. Set-ADUser -Identity username -Replace @{pwdlastset="-1"}
    1 Set-ADUser-Identityusername-Replace@{pwdlastset="-1"}

IMPORTANT: You need to run both commands do not just set to -1 or it will not work correctly.

Extend Expired Password Using the Active Directory Users and Computers:

  1. Open Active Directory Users and Computers
  2. Browse to the User (do not open through search you will not see the Attribute editor tab)
  3. Locate the PwdLastSet attribute on the attribute tab.
  4. Double click pwdlastset to open this attribute and set to 0.  Click ok and Apply.
  5. Next open back up the pwdlastset attribute and set it to -1.  Click ok and Apply.
Timothy Fragakis2020-12-04T15:56:15+00:00

Share This Information

FacebookXLinkedInWhatsAppTumblrPinterestEmail

About the Author: Timothy Fragakis

20+ years of IT Consulting and Administration experience. Passionate about new technologies, sharing info, and collaborating with like minded people.

Related Posts

Display Name and Telephone Number do not update in Microsoft Teams Display Name and Telephone Number do not update in Microsoft Teams Gallery

Display Name and Telephone Number do not update in Microsoft Teams

August 4th, 2022 | 0 Comments Install Azure Virtual Machine Agent Install Azure Virtual Machine Agent Gallery

Install Azure Virtual Machine Agent

June 30th, 2022 | 0 Comments Microsoft Teams Usage Report Names Not Showing Microsoft Teams Usage Report Names Not Showing Gallery

Microsoft Teams Usage Report Names Not Showing

October 19th, 2021 | 0 Comments Cannot Stop or Start Azure VM Cannot Stop or Start Azure VM Gallery

Cannot Stop or Start Azure VM

October 15th, 2021 | 0 Comments Disable Microsoft Teams Call Quality Survey Disable Microsoft Teams Call Quality Survey Gallery

Disable Microsoft Teams Call Quality Survey

July 1st, 2021 | 0 Comments

Newsletter

Email address:

Leave this field empty if you're human: Search for:

Recent Posts

  • Display Name and Telephone Number do not update in Microsoft Teams
  • Install Azure Virtual Machine Agent
  • Microsoft Teams Usage Report Names Not Showing

Categories

  • Azure
  • Configuration
  • Cybersecuirty
  • News
  • Office 365
  • Powershell
  • Skype
  • SQL
  • System Center
  • Teams
  • Troubleshooting
  • Windows Server
Close Sliding Bar Area

RECENT TWEETS

Tweets by @CloudCompanyApp Page load link Go to Top

Tag » Active Directory Pwdlastset Reset