The deployment errors can be a bit confusing for users new to the the deployment module. The credentials mentioned in the error are simply the credentials which were used. It usually has nothing to do with the error itself.
The most important part of the error message will always be the beginning.
Incorrect function means that the command was executed but returned an error. This can have many different causes (File not found, access denied, command is incorrect, etc...). We recommend testing the failed step/command of a deployment package manually in the command prompt of the client machine, if possible using the same account under which you are deploying.
For testing the commands:
- Copy the Result command of the failed deployment package step
- Paste the command into the command prompt of the machine where the deployment failed.
This should help you identify the cause of the issue.