| Previous | Next |
| ERROR_SERVICE_ALREADY_RUNNING | ERROR_SERVICE_DISABLED |
ERROR_INVALID_SERVICE_ACCOUNT
ERROR_INVALID_SERVICE_ACCOUNT (1057, 0x00000421) means that the account configured for a Windows service is invalid, cannot be found, or is incompatible with the selected service configuration.
Where it is reported
CreateService and ChangeServiceConfig can return this code when the value supplied as the service logon account does not exist. A shared-process service can also be rejected when its account differs from the account already used by services sharing the same executable.
What to verify
- Use the service's configured account name, not its display name. Built-in accounts and managed or virtual accounts have specific accepted forms.
- For a normal user account, verify that the account still exists and that the service configuration has the intended password.
- For a shared process, make sure all services hosted by that process use a compatible account configuration.
This code describes a configuration problem. A later startup failure caused by missing rights is normally reported as ERROR_SERVICE_LOGON_FAILED.
Looking for a different code? Search another status or error code.
