In general, I recommend testing the failed step of a deployment package manually, if possible using the same account under which you are deploying.
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. If it doesn't it is usually caused because the file can't be accessed or found.