About this article: This article is reviewed against the cited sources. This is source research, not lab validation. Check the stated versions and your own requirements before making changes.
Cannot complete login due to an incorrect user name or password is a credentials rejection. Broadcom's pages tie this exact text to two situations: a vSphere Client or vCenter that fails to log in to an ESXi host, and a service log between two vSphere Replication sites after a vCenter certificate change. Broadcom's pages do not give this exact message for a vSphere Client sign-in to vCenter through Single Sign-On (SSO); that was not found. The SSO failures below show different text, so the text on screen is the first thing to read.
What the error means
KB 308932 lists the text, with Login failed, Login failed due to a bad username or password, Timed out waiting for server response and Failed To Connect to host, as errors seen when a vSphere Client or vCenter cannot connect to an ESXi host. It says an incorrect user name or password is often the reason. The message does not say which part was wrong: the name, the password or the account's permissions.
KB 379628 shows the same text in dr.log as the cause line Cannot complete login due to an incorrect user name or password. after a vCenter certificate change, while the credentials are valid. The cause it gives is a stale node entry and a thumbprint mismatch between sites.
Nearby SSO failures show other text:
- A locked SSO account. KB 326186 gives
User account is locked. Please contact your administrator.and the TechDocs page says: "You exceeded the maximum number of failed login attempts." - An expired password. The SSO password policy page says: "By default, built-in user account passwords expire after 90 days." Broadcom's pages do not give the sign-in text for an expired password.
- An expired certificate has its own sign-in failure, covered in "vCenter Sign-In Fails After a Certificate Expires: Find the Store Responsible".
Likely causes
| Cause | What you see | How to confirm |
|---|---|---|
| Wrong user name or password for an ESXi host login | The message, with Login failed or Timed out waiting for server response |
The ordered checks in KB 308932: names, DNS, port 902, management agents, permissions |
| The account lacks permissions on the host | Login fails with valid credentials | The permissions step in KB 308932 |
| Service or integration login after a certificate change | The text in a service log such as dr.log, with valid credentials |
A thumbprint mismatch or stale node entry between sites (KB 379628) |
| Active Directory user typed without the domain (an SSO case, different text not documented) | An SSO sign-in failure for AD users only | The TechDocs page says that for all domains other than the default, users must include the domain name |
| vCenter cannot resolve or reach the domain controllers (an SSO case) | AD users fail, vsphere.local users work |
dig for the SRV, forward and reverse records of each domain controller; clocks differ |
| Account locked (an SSO case, different text) | A message that the account is locked | KB 326186 and the TechDocs locked-account page |
Prove the cause before changing anything
These checks only read. Make one careful sign-in attempt at a time, because failed attempts can count towards an SSO lockout.
1. Read the message exactly. Cannot complete login due to an incorrect user name or password is a credentials rejection. A message that the account is locked is a lockout and is a different path.
2. Note where it appears. On a vSphere Client or vCenter connection to an ESXi host, follow the host steps below. In a service log such as dr.log, follow the certificate case. For an SSO sign-in to vCenter, Broadcom's pages give other text for lockout; use the SSO checks.
3. For an ESXi host, test the path. KB 308932 says to verify 902 TCP from vCenter to the host and, from the host to vCenter on 902 UDP:
nc -zu 192.0.2.20 902
Replace the address with the vCenter address.
4. For AD users at an SSO sign-in, test name resolution from vCenter. The TechDocs page uses these checks on the vCenter appliance shell. Replace the domain and address with yours:
dig SRV _ldap._tcp.corp.example.com
dig dc01.corp.example.com
dig -x 192.0.2.10
A good result is an answer section for each: SRV records naming the domain controllers, an A record for dc01, and a PTR record for 192.0.2.10 that matches the controller's name. The same page says to synchronise the clocks of vCenter and the domain controllers.
5. For SSO accounts, use another SSO administrator. Sign in as another member of the SSO Administrators group. Do not rely on administrator@vsphere.local for the test: KB 326186 says that account is locked after three failed login attempts, while the 7.0 documentation says it is not locked out. Broadcom's pages do not show where an account's locked state is displayed, so judge by the message and by a successful sign-in afterwards.
Fix
ESXi host login from the client or from vCenter
KB 308932 gives an ordered list and says not to skip a step: confirm the host name or address and the forward and reverse DNS records, check network connectivity, check that the ESXi management service is running, test port 902 in both directions, confirm the user name and password, and then confirm that the account's permissions allow the login. Each step in the KB links to its own procedure, and the KB says to try reconnecting the host to vCenter after each corrective action.
Service login after a certificate change
KB 379628 reports the message in dr.log between two vSphere Replication sites after a vCenter certificate change, with valid credentials. The cause it gives is a stale node entry and a thumbprint mismatch, and it says to contact Broadcom Support.
Domain format for an AD user at an SSO sign-in
Sign in with the domain: the TechDocs page says, "For all other domains, users must include the domain name (user@domain or DOMAIN\user)." Retype the password once. Do not repeat attempts, since failed attempts can count towards a lockout.
Locked SSO account
First record the account name and its domain, in your change record. Broadcom's pages do not show where the locked state is displayed.
Risk: the next step unlocks an account, so that whoever holds its password can sign in again at once. If the lockout came from someone guessing passwords, unlocking restores their access.
Follow KB 326186. Sign in as another SSO administrator and go to Administration, then Single Sign-On, then Users and Groups. On the Users tab, select the affected account, click More, then click Unlock.
To undo it: KB 326186 gives no Lock action. If the account was unlocked in error, ask its owner to confirm the recent failed sign-ins and leave the lockout policy as it is.
Policies and the last resort
The lockout policy has three values: the maximum number of failed attempts, the interval in which they must occur and the unlock time. The TechDocs page says of the unlock time: "If you enter 0, the administrator must unlock the account explicitly." Changing these values loosens the protection of every account, so they are not scripted here.
If no other SSO administrator is available, KB 326186 describes a reset of the administrator account from the vCenter appliance shell with the vdcadmintool utility, option 3, which prints a temporary password. That reset cannot be undone. Follow the KB in full and do not run it from this guide.
Confirm the fix
- The same account signs in with the same method that failed, with its domain where it is an AD account.
- A service that failed with the message in its log authenticates again.
- For an unlocked account, a successful sign-in is the test, because Broadcom's pages show no locked indicator to check.
What to watch afterwards
- List which service and integration logins use local accounts in the SSO domain, because the password policy page says the policy applies only to users in that domain.
- Look for repeated failed sign-ins from one source. That pattern is what the lockout policy responds to.
- Re-test AD sign-in after any change to the domain controllers, DNS or time sources.
Example (illustrative): On vcsa01, a user signs in to the vSphere Client as jsmith and the sign-in fails. jsmith is an account in the Active Directory domain corp.example.com, which is not the default identity source. A second SSO administrator signs in without trouble, and dig -x 192.0.2.10 returns the expected PTR record for dc01. Signing in as jsmith@corp.example.com works. The example shows the domain format fix for an SSO sign-in. It is not a case Broadcom's pages tie to this exact message.
Read next
Related articles you may want next.
- VMwarevCenter Sign-In Fails After a Certificate Expires: Find the Store ResponsiblevCenter sign-in fails or services won't start? Identify whether the STS signing, Machine SSL or solution-user certificate expired, then renew it safely.Read article
- VMwarevCenter appliance root password expired: get back in and stop it expiring againvCenter appliance root password expired or root locked? Reset it from the VAMI or an SSO shell with faillock, then set the expiry policy.Read article
- VMwareAD Users Cannot Sign In to vCenter After a Domain Controller Certificate or Server ChangevCenter AD sign-in fails after a DC certificate renewal? Check the LDAPS identity source certificates, servers and bind account, then re-trust the CA chain.Read article
Risks and limits
- These commands have not been run or lab-tested.
- Broadcom's pages do not give
Cannot complete login due to an incorrect user name or passwordfor an SSO sign-in to vCenter. The SSO and Active Directory rows describe failures that show other text, or text Broadcom does not document. - The 7.0 documentation says the lockout policy does not apply to system accounts such as
administrator@vsphere.local, and that this account does not get locked out. KB 326186 says that account is locked after three failed login attempts on vCenter 7.x and 8.x. The pages disagree, so do not assume either. - The vSphere 8.0 copies of the TechDocs pages did not load. The policy steps come from the 7.0 pages.
- Broadcom's pages give no sign-in text for an expired password.
- Unlocking an account and resetting the administrator password are security changes.
Sources
- Diagnosing the vSphere Client when it fails to connect to an ESXi host or vCenter Server — Broadcom knowledge base, KB 308932, updated 09-08-2026, accessed 1 December 2026
- Resetting forgotten or locked vCenter Server SSO administrator password — Broadcom knowledge base, KB 326186, updated 11-25-2026, accessed 1 December 2026
- vSphere Replication fails to establish a connection following a vCenter certificate change — Broadcom knowledge base, KB 379628, updated 09-23-2026, accessed 1 December 2026
- vCenter Server Login Fails Because the User Account Is Locked — Broadcom TechDocs, vSphere 7.0, last updated 4 November 2026, accessed 1 December 2026
- Edit the vCenter Single Sign-On Lockout Policy — Broadcom TechDocs, vSphere 7.0, last updated 4 November 2026, accessed 1 December 2026
- Edit the vCenter Single Sign-On Password Policy — Broadcom TechDocs, vSphere 7.0, last updated 4 November 2026, accessed 1 December 2026
- Unable to Log In Using Active Directory Domain Authentication — Broadcom TechDocs, vSphere 7.0, last updated 4 November 2026, accessed 1 December 2026
This article was originally published on .