cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
ErikT
Lansweeper Tech Support
Lansweeper Tech Support

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.


Was this post helpful? Leave a Kudo!
Did you have a similar issue and a different solution? Share your work in the comments below and help your fellow IT Hero's!
More questions? Browse our  Quick Tech Solutions  or  Community Forum.


If you can't find what you're looking for, create a post in our Community Forum.



New to Lansweeper?

Try Lansweeper For Free

Experience Lansweeper with your own data.
Sign up now for a 14-day free trial.

Try Now