[Webinar] Learn how to a build a cloud-first strategyRegister Now

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 134
  • Last Modified:

export AD passwords

I am looking for an easy way to export the username  and encrypted passwords from AD?
I have a network of over 3000 users I have inherited and apparently most of the users have never had to change there password before. I want to get a list of who is still using the "default" password so I can force them to change..
I know the passwords are encrypted in AD but I would assume if multiple users have the same password the encrypted password will be identical across all users.. If not then exporting the data will be of no value..
3 Solutions
Joshua GrantomSenior EngineerCommented:
The encrypted password will be different even if it is the same password.

Your best bet would be to update the password policy and make it where they have to change their password every 180 days or whatever you like. Once the GPO applies, they will have to reset there passwords
Tim EdwardsIT Team Lead - Unified Communications & CollaborationCommented:
Can you not work out your security model such as every 90 days passwords need to be changed, the complexity that meets the organizations needs. Once that is all developed take to senior management and say over the course of the next weeks I would like to implement our new security model. Email the all users advising this is what is happening and then select x amount of users at the end of everyday and mark the account to change password at next login?
you cannot get passwords - even in if you get just hashes you cannot tell which are the same.
Try this script to identify users with not changed pass for long time:

then you can run another script to change User properties to Change password on next logon, so user will have to change it, otherwise (s)he won´t login

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now