The Lansweeper installer offers two paths. An easy install puts every component on one machine. An advanced install lets you choose which component goes where, and which database and web server to use.
Learn this in the Academy
For a guided walkthrough of the easy and advanced installs, take the free Deploy Lansweeper Classic learning path in the Lansweeper Customer Academy.
Before you install
- Check the Lansweeper installation requirements for the supported operating systems, database servers, and other prerequisites.
- Review the compatible SQL database servers for hosting the Lansweeper database to pick the right database server for your needs.
Perform an easy install
An easy install puts all Lansweeper components (scanning service, database, and web console) on the same machine. The database is installed under SQL LocalDB, which Microsoft limits to 10 GB of data, and the web console under IIS Express.
-
Download the latest Lansweeper installer and run it on the Windows computer you want to install Lansweeper on.
-
Review the terms of use and select Accept to continue.
-
Select the Easy install option.
-
Choose a custom HTTP and HTTPS port for the web console. If you don't choose custom ports, the installer uses the first available ports.
-
Choose a custom folder to install under, then select Install to start the installation.
- The Lansweeper service is installed under Windows Services.
- The Lansweeper database is installed under SQL LocalDB. The database is called
lansweeperdband should not be renamed. - The Lansweeper web console is installed under IIS Express, which is installed and configured automatically, on your preferred ports.
-
When the installer confirms the installation succeeded, select Finish to close it.
Perform an advanced install
An advanced install lets you choose which component (scanning service, database, web console) goes on which machine. The database can be installed under SQL LocalDB or SQL Server, and the web console under IIS or IIS Express.
If you spread components across several machines, you must reset the database password and copy the Encryption.txt key afterwards. Both are covered in step 4. Skip them and you'll see database login failures.
-
If you want to host the database under SQL Server, install your SQL Server instance before running the Lansweeper installer. You'll point the Lansweeper installer to that existing instance.
-
Download the latest Lansweeper installer and run it on the Windows computer you want to install Lansweeper on.
-
Review the terms of use and select Accept to continue.
-
Select the Advanced install option, then select the components you want to install on this machine.
If you're spreading database, service, and web console over several machines, keep in mind that:
- The database must be installed first, then the service, then the web console.
- You need to reset the database password after installing all components, because the installer writes a random password to the service and website configuration files. See change the Lansweeper database password.
- You need to copy
Program Files (x86)\Lansweeper\Key\Encryption.txtfrom the server hosting the web console to every server hosting the Lansweeper service, replacing the file generated there. This key encrypts and decrypts credentials submitted in Lansweeper and must be identical on all Lansweeper servers. Each server generates its own file by default.
-
Select the database server you want to use. If you're spreading components over several machines, you need SQL Server. For a detailed comparison, see compatible SQL database servers for hosting the Lansweeper database.
-
If you selected SQL Server, enter the name of the SQL Server instance to install the Lansweeper database under. Use the same instance name you use when logging into other SQL tools like SQL Server Management Studio.
-
If you selected SQL Server, select the authentication method from the Authentication dropdown: Windows authentication or SQL Server authentication.
With Windows authentication, the database installation runs under the currently logged on Windows user. With SQL authentication, you enter your SQL username and password.
The user performing the database installation must be a member of your SQL Server's sysadmin server role. Once installation completes, the Lansweeper service and web console connect to the database with a newly created SQL user called
lansweeperuser, which only has access to the Lansweeper database. -
If you're installing the web console, select the web server to install it under. Recommended installs the console under IIS Express. Advanced installs it under IIS, and is only available if IIS is already enabled on your computer.
-
Choose a custom HTTP and, if the installer offers it, HTTPS port for the web console. If you don't choose custom ports, the installer uses the first available ports.
-
If your web server's registry keys indicate that insecure SSL renegotiation is allowed, you're prompted to disable it.
Disabling insecure renegotiation is optional but recommended. It configures the system to refuse renegotiation requests from clients, which reduces the attack surface of your server. The registry key is at
Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL.This setting applies system-wide and affects all SSL/TLS connections on the system, not just Lansweeper.
-
Choose a custom folder to install under, then select Install to start the installation.
- The Lansweeper service is installed under Windows Services.
- The Lansweeper database is installed under the database server of your choice. It's called
lansweeperdband should not be renamed. - The Lansweeper web console is installed under the web server of your choice, on your preferred ports.
-
When the installer confirms the installation succeeded, select Finish to close it.
-
If you didn't install all three components, run the installer on each remaining machine. Work through the opening and license agreement screens, select Advanced install again, then:
- Select the components (service, web console, or both) for that machine.
- Select the SQL Server checkbox.
- Point the installer to your existing SQL Server instance and Lansweeper database when prompted.
First Run Wizard
Once you've installed Lansweeper Classic, the web console opens in your default browser. The first time you access it, a First Run Wizard lets you add an initial scanning setup and configure some basic options.
The First Run Wizard is only for the initial configuration of an installation. You see it once. You can change settings and add network segments for scanning after you complete it.
Select a management type
How you activate your installation depends on your license type. Check which license type you have if you're not sure.
- Physical license: select Choose on-premise management, then apply your license key. See Apply your Lansweeper license.
- Digital license: choose cloud management and link your scanning server to your Lansweeper Platform site. Your subscription applies automatically, with no key to enter. See Link Lansweeper Classic with Lansweeper Platform.
Configure web console login
Set up basic access for the web console. There are two options:
- A built-in administrator account with full access to the console, whose username and password you configure.
- An existing Windows user given full access to the web console.
You can add more users and customize your access configuration after you complete the wizard.
Every time you access the web console after the First Run Wizard, you log in first, either with the built-in admin account or the Windows user you chose.
Configure scanning
Select the IP ranges you want to scan. The wizard presents the IP ranges of your local subnets by default, and you can enter other ranges in the available input boxes.
Scanning assets with Asset Radar and Extended Display Scanning is enabled by default, and you can disable both if needed.
Lansweeper automatically scans the domain or workgroup your Lansweeper server is in.
Start scanning
Lansweeper starts scanning your network. Select Finish to go to the web console, which displays scanned data. You can explore the console safely while scans run in the background.
We recommend you submit scanning credentials once the wizard is done. Lansweeper scans basic asset info without credentials, but credentials greatly increase the detail it can retrieve. You can also add more network segments for scanning at this point.