"Logon failure: unknown user name or bad password" error when using IndeedCM.CertEnroll.MsCA.exe utility

Created by Mikhail Baturinskiy, Modified on Mon, 12 May at 1:41 PM by L1 Support

Problem:
The following error occurs even though the username and password are specified correctly for the service account:

Logon failure: unknown user name or bad password

or

The user name or password is incorrect

Sometimes no error message appears but no activity is found after execution of the command.


Solution:
Make sure that credentials for the service account are specified correctly. You might also login to any workstation within the domain to verify whether the account is blocked. If this is not the case and credentials are specified correctly, then, most probably, the password contains characters that require special handling within the command line. Such characters are quotation marks ("), for example.

The figure below shows the result of IndeedCM.CertEnroll.MsCA.exe execution with password of service account containing double quotation marks that cause the error.
In this case, the content of the password must be enclosed in quotation marks, and instead of one double quotation mark, use two consecutive words: instead of "pass"word1" enter "pass""word1".
The password specified in this form is processed correctly.


If you need to specify a password containing double quotes in the Axidian CertiFlow configuration file (.config), the symbol must be replaced with a group of characters " and the content part should be quoted.
For example: instead of "pass"word" specify "pass"word"

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article