| Previous | Next |
| ERROR_LAST_ADMIN | ERROR_ILL_FORMED_PASSWORD |
ERROR_WRONG_PASSWORD
A password change failed while proving knowledge of the existing password
SAMR distinguishes a password change from an administrative password set. In the change pattern, the client presents material derived from the current password and the server verifies it before persisting the new password. ERROR_WRONG_PASSWORD therefore points to the current-password proof, not to the complexity or history of the proposed new password.
Capture whether the application called NetUserChangePassword or an administrative reset path. Retrying with progressively modified new passwords will not fix a wrong-current-password result and can obscure the real failure. Also check which domain or server received the request; submitting the correct password to the wrong account authority can produce the same symptom from the client perspective.
What to inspect
- Confirm the API is performing a change that requires the old password, not an administrator reset.
- Verify the account authority and user name before asking for credentials again.
- Keep this code separate from ERROR_PASSWORD_RESTRICTION and ERROR_ILL_FORMED_PASSWORD.
References
Looking for a different code? Search another status or error code.