Extend Expired Passwords In Active Directory (AD)
Maybe your like

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:
- On a machine with access to Active Directory launch Powershell as Administrator.
- 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"} - 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:
- Open Active Directory Users and Computers
- Browse to the User (do not open through search you will not see the Attribute editor tab)
- Locate the PwdLastSet attribute on the attribute tab.

- Double click pwdlastset to open this attribute and set to 0. Click ok and Apply.

- Next open back up the pwdlastset attribute and set it to -1. Click ok and Apply.

Share This Information
FacebookXLinkedInWhatsAppTumblrPinterestEmailAbout the Author: Timothy Fragakis
Related Posts
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 Gallery Install Azure Virtual Machine Agent
June 30th, 2022 | 0 Comments
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 Gallery Cannot Stop or Start Azure VM
October 15th, 2021 | 0 Comments
Disable Microsoft Teams Call Quality Survey Gallery Disable Microsoft Teams Call Quality Survey
July 1st, 2021 | 0 CommentsNewsletter
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

RECENT TWEETS
Tweets by @CloudCompanyApp Page load link Go to TopTag » Active Directory Pwdlastset Reset
-
Active Directory: How To Reset Password Expiration Date
-
Resetting The Clock On Active Directory Password Expiration
-
Reset An AD Users Password Expiry Date - PeteNetLive
-
How To Reset Active Directory User Password Expiration Date
-
Considerations When Implementing A New Password Expiration ...
-
How To Reset An Active Directory User Password With PowerShell ...
-
How To Reset Account Password Expiration Date
-
How To Set Active Directory To Force Password Reset On PW ...
-
Can I Reset The Clock On An Expired Password In AD? - Server Fault
-
Integrate Password Reset With Your Active Directory Service
-
When Was "pwdlastset" Flag Was Updated To Zero? - Stack Overflow
-
Set The Password Never Expires Attribute - ManageEngine
-
How To Configure Permissions For Windows Password Reset Tool