When you use the "Scanning Credentials" Run Mode for a deployment, it will use the credential used to scan the asset you are deploying on.
I'm not sure how you've replaced your credential. The safest way to do this would be to delete the old credential and map the new credential + rescan the assets.
In most cases, the "System Account" should have sufficient permissions to do an installation.
I would recommend doing a connection test to check for connection errors. You can perform a connection test to the same problem client machine with testconnection.exe, which can be found in Program Files (x86)\Lansweeper\Actions on your Lansweeper server. Perform the test from your Lansweeper server to the client machine, submit the same credential used by Lansweeper to scan the client. All checks should be green.
Lastly you can test your deployment package steps. For testing the commands:
- Copy the Result command of the failed deployment package.
- Use the exact path defined under Deployment\Security options.
- Paste the command into the command prompt of a machine where the deployment failed.
- This should help you identify the cause of the issue. Only when the command works in Command Prompt will it work in Lansweeper as well.
- If the command worked then we recommend that you check that the command has been added correctly to your package and the parameter are also correctly added to the parameter field.
If a step works in the Command Prompt, it should work in the deployment package.