
- 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
‎07-15-2019 11:17 PM
If you put the entire command, including parameters, into the "Install File" field then you you probably get the incorrect function error.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-01-2019 02:27 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-20-2018 02:24 PM
Used NDP472-KB4054530-x86-x64-AllOS-ENU.exe and rebooted the machines before deploying LSAgent.
Maybe it will help some since the silent agent install does not check/install .NET before installation.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-24-2018 10:12 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-22-2018 04:27 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-12-2018 07:49 PM
10/12/2018 12:47:28 PB-MXL7253FKY LsAgent for Windows Roger S. Mihalko 1 2 System Account Result: Deployment ended: Incorrect function. Stop(Failure). Credential: (x). ShareCredential: (x).
Command: "\\it-lansweeper\DefaultPackageShare$\Installers\LsAgent-windows.exe" --mode unattended --server it-lansweeper --agentkey xxxxxxxxxxxxxxxxxxxxxxxxxxxxx 6.0.230.4

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-11-2018 07:57 PM
Result: Deployment ended: Incorrect function. Stop(Failure). Credential: (xxx). ShareCredential: (xxx).
Command: "\\it-lansweeper\DefaultPackageShare$\DefaultPackageShare$\Installers\LsAgent-windows.exe"--mode unattended --server it-lansweeper --agentkey xxxxxxxxx-xxxx-xxxx-xxxx-xxxxxxc9a29
I keep getting the incorrect function error also.
when I run the base command it pops up the agent screen so I know it can find the file. --Mode and beyond dont work at all.
any ideas?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-12-2018 07:25 PM
Roger Mihalko wrote:
"{PackageShare}\DefaultPackageShare$\Installers\LsAgent-windows.exe"--mode unattended --server it-lansweeper --agentkey xxxxxxxxx-xxxx-xxxx-xxxx-xxxxxxc9a29
Result: Deployment ended: Incorrect function. Stop(Failure). Credential: (xxx). ShareCredential: (xxx).
Command: "\\it-lansweeper\DefaultPackageShare$\DefaultPackageShare$\Installers\LsAgent-windows.exe"--mode unattended --server it-lansweeper --agentkey xxxxxxxxx-xxxx-xxxx-xxxx-xxxxxxc9a29
I keep getting the incorrect function error also.
when I run the base command it pops up the agent screen so I know it can find the file. --Mode and beyond dont work at all.
any ideas?
Try removing the "-" from your key. That was preventing us from using it. Didn't even notice the "-" for a while.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-05-2018 09:24 PM
Waiting to see now ifscheduled pc's deployed overnight.
