
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-13-2018
01:46 PM
- last edited on
‎07-04-2023
04:39 PM
by
ErikT
This deployment package can be used to silently deploy the new LsAgent to assets in your network.
To ensure you can use this package, you must meet the following requirements:
- Deployment requirements
- LsAgent requirements
- A asset limited license (Standard, Professional or Ultimate). Contact our sales team for a trail key if you have a legacy license.
To deploy the package, do the following:
- Download the Windows installer from https://www.lansweeper.com/download/lsagent/
- Put the installer in the following directory: Program Files (x86)\Lansweeper\PackageShare\Installers
- Modify package step 1 and add the FQDN, NetBIOS or IP of your scanning server for a direct server connection. Add the your unique LsAgent key which can be found in Scanning\Cloud Relay Configuration for using the relay.
LsAgent will first try a direct server connection. Should it fail, it will use the relay to get the information to Lansweeper. Optionally, you can modify the package to use either direct server connection only or relay server only by removing the parameter of the connection type you do not want to use.
Here is an overview of all parameters available for the LsAgent installer:

- Labels:
-
Share(d) Packages

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-04-2018 05:10 PM
For your issue, I would recommend testing the install command locally on a machine as a test:
- 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 your issue persists, its best to contact our support team.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-28-2018 03:59 PM
The error message is copied out of the deployment page of LS.
the XXx's are only part of that field as to hide them.
I tried with out the agent key to see if that works, and same message. See I this screen capture helps

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-27-2018 03:45 PM
Result: Deployment ended: Incorrect function. Stop(Failure). Credential: (XXXXXXXXXXXXXXXX). ShareCredential: (xxxxxxxx). Command: "\\XXXXXXXXXX\DefaultPackageShare$\Installers\LsAgent-windows.exe" --mode unattended --server xx.xx.xx.47 --agentkey xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxf9864\
Any idea where to look to fix this issue, I modified the items in package.
Thanks
Bruce

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-28-2018 02:41 PM
fpd2dc wrote:
Deployment ended: Incorrect function. Stop(Failure). Credential: (XXXXXXXXXXXXXXXX). ShareCredential: (xxxxxxxx). Command: "\\XXXXXXXXXX\DefaultPackageShare$\Installers\LsAgent-windows.exe" --mode unattended --server xx.xx.xx.47 --agentkey xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxf9864\
I would double-check that you agent key was entered correctly (the \ seems wierd, unless that is only part of the error message)
Aside from that, double check your exe file is in the folder which is mentioned and with the exact same file name.
