ERROR_PWD_TOO_LONG 0x80070291

Error code 657 · HRESULT 0x80070291

WINDOWS

The password provided is too long to meet the policy of your user account. Please choose a shorter password.

Windows troubleshooting diagram: Device Manager warning and a system file scan
Windows errors: check drivers, system files and Event Viewer, in that order.

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

  1. Run the affected program as administrator (right-click → Run as administrator)
  2. Check permissions on the target resource: Properties → Security → your account
  3. Check Event Viewer → Windows Logs → Security for the matching audit entry

Related errors

Source: Microsoft WinError.h

Last updated: