You run a deployment. Unfortunately, it fails with the error Incorrect Function.
What went wrong?
In most cases, the error Incorrect function indicates that the command being used has some syntax issue or that the file you are referencing cannot be found or accessed. There are other possible reasons, though.
How to solve it?
We recommend manually testing the failed step of a deployment package, if possible, using the same account under which you are deploying.
To test the command:
- Go to Deployment\Security Options and double-check that both the package share and package share credentials are valid and correct.
- Incorrect values have been known to cause incorrect function issues.
- Ensure the installer is in the specified folder on your share.
- This is the Program Files (x86)\Lansweeper\PackageShare\Installers folder on your Lansweeper server.
- If the file is not in the Installers subfolder, move it to this location or change the path in your Deployment\Security Options settings.
- Copy the Result command of the failed deployment package.
- Use the exact path defined under Deployment\Security options.
- Paste the command into a machine's command prompt where the deployment failed.