Deployment Wizard error Delivery Failed - Bad Credentials
search cancel

Deployment Wizard error Delivery Failed - Bad Credentials

book

Article ID: 381601

calendar_today

Updated On:

Products

CA Client Automation - IT Client Manager CA Client Automation

Issue/Introduction

Installation of Windows Client Automation Agent using Deployment Wizard is in error with "Delivery Failed" "Bad credentials(Win)."

 

In TRC_CF_DMDEPLOY*.log we could see this error :

DMDeploy  |DmDeploy        |cdmdeployer.cpp     |005037|INFO   | Trying SHARE transport to send primer package C:\Program Files (x86)\CA\DSM\\Packages\Private\CAUnicenterDSM\dmprimer\Windows_x86 to <computer_name>
DMDeploy  |DmDeploy        |cdmdeployer.cpp     |005059|DETAIL | Attempting to open share \\ipaddress\admin$
DMDeploy  |DmDeploy        |cdmdeployer.cpp     |005082|DETAIL | Found user/pass info for ipaddress
DMDeploy  |DmDeploy        |cdmdeployer.cpp     |005125|DETAIL |  szFullTargetUsername = ipaddress\dsd 
DMDeploy  |DmDeploy        |cdmdeployer.cpp     |005127|DETAIL | Calling WNetAddConnection2W
DMDeploy  |DmDeploy        |cdmdeployer.cpp     |005130|WARNING| Max connection attempts: 2
DMDeploy  |DmDeploy        |cdmdeployer.cpp     |005143|WARNING| Call no. 1 to WNetAddConnection2W failed, return code was: 1326
DMDeploy  |DmDeploy        |cdmdeployer.cpp     |005143|WARNING| Call no. 2 to WNetAddConnection2W failed, return code was: 1326
DMDeploy  |DmDeploy        |cdmdeployer.cpp     |005143|WARNING| Call no. 3 to WNetAddConnection2W failed, return code was: 1326
DMDeploy  |DmDeploy        |cdmdeployer.cpp     |007961|DETAIL | The requested access was denied.
DMDeploy  |DmDeploy        |cdmdeployer.cpp     |005684|DETAIL | The referenced account is currently locked out and may not be used to log on.
DMDeploy  |DmDeploy        |cdmdeployer.cpp     |005707|DETAIL | Calling WNetCancelConnection2
DMDeploy  |DmDeploy        |cdmdeployer.cpp     |004698|DETAIL | Failed to push primer to a remote Windows share. rc=<1326>

Environment

Client Automation - All versions.

Cause

Error 1326 means "The user name or password is incorrect".
There is a problem with the username/password used to map the share \\ipaddress\admin$

Resolution

  • The username format should be in the form :

    username
    or
    <computername>\username
    or for Domain User
    <domain_name>\username

    Format like username@domain_name is not valid.

  • Check that password is correct

  • Check that user is not locked or with expired password.