We’re currently experiencing a high volume of support requests, which may result in longer response times — thank you for your patience and understanding.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

This documentation is for the new preview UI. It’s still being refined and is subject to change. For documentation for the old UI, see Knowledge Base.

Article link copied to clipboard
Updated
Published
3 min read

Most trials already include one hub and sensor. Use these instructions when you need to add a second or third sensor, if you have additional networks, want to balance performance, or need redundancy.

Prerequisites

Supported operating systems

  • Windows 10 (21H2 or higher, x64)

  • Windows 11 (22000 or higher, x64)

  • Windows Server (Core) 2012 or higher (x64)

Install the sensor and hub

Recommended for most users.

  1. In your preferred site, go to Discovery > Systems > Download installers/packages.

  2. Select Network Discovery > Download Network Discovery installer.

  3. Open the installation file.

  4. Specify the installation directory.

  5. Select which component you want to install. For first-time installations, you will likely want the IT sensor, OT sensor, and hub. However, if you’ve already installed the hub as part of your trial, you do not require another.

  6. Optionally, enter:

    • Hostname: Specify another hostname for the machine hosting the hub if you’re only installing the IT Sensor.

    • TCP port: Specify an alternative TCP port if you want to override the default port for hub-to-sensor communication.

  7. Once the installation is complete, you will be redirected to your Lansweeper Platform. Select the site you want to link with.

Ideal for repeatable deployments in enterprise environments.

  1. In your preferred site, go to Discovery > Systems > Download installers/packages.

  2. Select Network Discovery > Download Network Discovery silent installation configuration.

  3. In your site, select Systems > Link discovery system > Create new code. Specify an expiration date, then select Apply and copy the generated code.

    NOTE

    The expiration date indicates when the linking code can no longer be used to establish a new connection between a site and your discovery system. Any existing connection between the system and your site will remain active after the expiration date.

  4. On your computer, open the downloaded lansweepernetworkdiscoveryinstallation.cfg file.

  5. In the file, replace cloudtokenvalue with your copied linking code. If the computer requires a proxy server, remove the # for proxyserver=myproxyserver.domain.local and proxyport=8080.

    mode=unattended
    accepteula=1
    path=C:\Program Files\Lansweeper Network Discovery
    components=hub,itsensor,otsensor
    hubinstance=localhost
    hubport=59525
    installnpcapdriver=1
    dcomautoconfig=1
    #cloudtoken=cloudtokenvalue
    #proxyserver=myproxyserver.domain.local 
    #proxyport=8080
    #hubcode=MyHubCode generated in the hub > Settings > Data transfer > Hub code (only required for distributed deployment of sensors across multiple systems, connecting to a remote hub)
  6. In an elevated command prompt, enter the following command, replacing X.X.X in Lansweeper-network-discovery-X.X.X with the version number of your installer:

    Installer version

    The version numbers for your installer can be found in your downloaded file name.

    Lansweeper-network-discovery-X.X.X-windows-x64-installer.exe --optionfile lansweepernetworkdiscoveryinstallation.cfg

Ideal for scripted installs without editing a .cfg.

  1. In your preferred site, go to Discovery > Systems > Download installers/packages.

  2. Select Network Discovery > Download Network Discovery silent installation configuration.

  3. In your site, select Systems > Link discovery system > Create new code. Specify an expiration date, then select Apply and copy the generated code.

    NOTE

    The expiration date indicates when the linking code can no longer be used to establish a new connection between a site and your discovery system. Any existing connection between the system and your site will remain active after the expiration date.

  4. In an elevated command prompt, enter the following command with the following edits:

    • Replace cloudtokenvalue with your copied linking code.

    • If the computer requires a proxy server, remove the # for proxyserver=myproxyserver.domain.local and proxyport=8080.

    • Replace X.X.X in Lansweeper-network-discovery-X.X.X with the version number of your installer.

    Version installer

    The version numbers for your installer can be found in your downloaded file name.

Lansweeper-network-discovery-X.X.X-windows-x64-installer.exe --mode unattended --accepteula 1 --path "C:\Program Files\Lansweeper Network Discovery Discovery" --cloudtoken cloudtokenvalue

Next steps

Now that your hub and sensors are installed, you can create a discovery credential to access more asset details, and create a discovery action to specify specifically what to scan and when.