How to change a password in AD that the old password is not known for

How to change a password in AD that the old password is not known for

Q. I'm trying to reset an AD password but don't know the old password. What can I do?

A. Normally when using Set-ADAccountPassword you need the old password however if you add the -Reset switch then the old password is not required and you can just set the new password (but you will need the appropriate permissions to reset account passwords whereas if you pass the old password it is a regular password change for the user).

Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish