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

Lansweeper allows you to use multiple Windows computers to scan and deploy changes in your network. The machines scanning and deploying in your network, so-called "scanning servers", only have the Lansweeper Server service installed and push data to a central Lansweeper database. Each scanning server can be configured separately.

Having multiple scanning servers is recommended if you have several thousand assets or remote sites connected through TCP/IP or VPN connections. A multi scanning server setup allows for more efficient load balancing, as the scanning load, deployment requests and network traffic are divided among multiple machines.

Set up a multi scanning server Lansweeper installation

  1. Perform an Advanced Install of the Lansweeper software (database, service, web console) by following the steps in this knowledge base article and make sure you select SQL Server as your database server.
    The Microsoft SQL LocalDB and (deprecated) Microsoft SQL Compact database servers don't allow services to remotely connect to the database, so these database servers cannot be used for multi scanning server setups. If you are currently using SQL Compact or SQL LocalDB as your database server, you can migrate your installation to SQL Server.
  2. Make sure your SQL Server instance is correctly configured to accept connections from remote machines. Instructions for correctly configuring your SQL Server instance can be found in this knowledge base article.
  3. Configure your custom database password to replace the random password generated by the Lansweeper installer by following the instructions in this knowledge base article.
  4. Run the Lansweeper installer on a Windows computer you want to configure as a secondary scanning server. Make sure the secondary server doesn't have the same name as another one of your scanning servers. Having multiple servers with the same name is not supported.
    For Lansweeper Classic installations, use the below command. Starting from Lansweeper 10.4, the command is required to install the classic version of Lansweeper.

    LansweeperSetup.exe /classic
    Running an installer of version 10.4 or later with the parameter "/classic" is not necessary for Lansweeper Cloud installations.
  5. Select Next and click I agree to accept the license agreement.
  6. Select the Advanced install option and configure the installer, ticking only SQL Server and New Lansweeper Service
  7. Submit the name of the SQL instance your existing Lansweeper database is installed under.
  8. Select the authentication method you want to connect to SQL Server from the Authentication dropdown. You can choose Windows or SQL authentication. You could use the built-in "lansweeperuser" SQL user and the custom database password you configured earlier to perform the scanning server installation. 
  9. You can choose a custom folder for your installation. Select Install to start the installation process.
    The Lansweeper service will be installed under Windows Services and will connect to the Lansweeper database you've specified.
  10. When you get to the screen that confirms the successful installation of Lansweeper, select Finish to close the installer.
  11. Stop the Lansweeper Server service in Windows Services on your new scanning server.
  12. If you installed Lansweeper 6.0 or a more recent Lansweeper release, copy Encryption.txt found at Program Files (x86)\Lansweeper\Key\Encryption.txt from the machine hosting the web console to the new scanning server, replacing the default file generated on the server. The Encryption.txt file is a key used to encrypt and decrypt credentials submitted in Lansweeper and must be the same on all servers hosting a Lansweeper component. If you spread out components over several machines, each server will have a unique file by default, and you'll need to copy the file to all servers manually so the encryption key is the same on all servers.
  13. Run the ConfigEditor tool, found at Program Files (x86)\Lansweeper\Tools\ConfigEditor.exe, on your new server and click through any warnings about your database password being incorrect:
  14. As the scanning server installation will have added a random password to the service's connection string, change the database password in the Service tab to the one you configured earlier.
  15. Restart the Lansweeper Server service in Windows Services on the new server.
  16. Repeat steps 4 to 15 of this article for any additional scanning servers you want to configure.
  17. Once installed, each server can be configured separately. In the Scanning > Scanning Targets section of the Lansweeper web console, for instance, there is a separate configuration tab for each scanning server, so each server can be configured to scan its specific network segments. Several other menus have server-specific tabs as well.
New to Lansweeper?
Article Dashboard
Version history
Last update:
3 weeks ago
Updated by: