ERROR_PWD_TOO_LONG 0x80070291
Error code 657 · HRESULT 0x80070291
The password provided is too long to meet the policy of your user account. Please choose a shorter password.
What it means
ERROR_PWD_TOO_LONG is a Windows error code (system error 657, returned as HRESULT 0x80070291) reported by Windows. Its official message is: “The password provided is too long to meet the policy of your user account. Please choose a shorter password.”
How to fix ERROR_PWD_TOO_LONG
- Run the affected program as administrator (right-click → Run as administrator)
- Check permissions on the target resource: Properties → Security → your account
- Check Event Viewer → Windows Logs → Security for the matching audit entry
Related errors
Source: Microsoft WinError.h
Last updated: