Community FAQ
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Thamzih_123
Engaged Sweeper

I have been trying to get Lansweeper IT agent installed silently on a windows machine. But that's not working. It opens up UI every time I try. Silent installation is required for us as we need to do this for many devices and we are going to push that automatically through silent installation 

This is the command that I used: I tried with /quiet, /qn, /q. Nothing worked. Please someone suggest on right command to install silently. 

msiexec  /i "C:\Lansweeper msi\Lansweeper-IT-agent-discovery-4.5.2-windows-x64-installer.msi" /quiet MODE=UNATTENDED ACCEPTEULA=1 PATH="C:\Program Files\Lansweeper IT Agent Discovery" CLOUDTOKEN=<<tokenvalue>>

1 ACCEPTED SOLUTION
Katgroup
Lansweeper Employee
Lansweeper Employee

I believe your case has already been resolved, but for anyone else reading, we have updated the documentation for unattended install:

msiexec /i "C:\Path\To\Lansweeper-IT-agent-discovery-X.X.X-windows-x64-installer.msi" /quiet ARGUMENTS="--mode unattended --accepteula 1 --path ""C:\Program Files\Lansweeper IT Agent Discovery"" --cloudtoken cloudtokenvalue"

Install IT Agent Discovery - Lansweeper Community

View solution in original post

2 REPLIES 2
Katgroup
Lansweeper Employee
Lansweeper Employee

I believe your case has already been resolved, but for anyone else reading, we have updated the documentation for unattended install:

msiexec /i "C:\Path\To\Lansweeper-IT-agent-discovery-X.X.X-windows-x64-installer.msi" /quiet ARGUMENTS="--mode unattended --accepteula 1 --path ""C:\Program Files\Lansweeper IT Agent Discovery"" --cloudtoken cloudtokenvalue"

Install IT Agent Discovery - Lansweeper Community

DavidPK
Lansweeper Tech Support
Lansweeper Tech Support

Hi,

 

Thank you for reaching out regarding the silent installation of the Lansweeper IT Agent. We understand the importance of a non-interactive installation for deploying to many devices automatically.

Looking at your command and comparing it with our Knowledge Base article, it seems there are a couple of points to clarify that should help you achieve a truly silent installation:

  1. Silent Switch: The Knowledge Base article specifically recommends using the /qn switch for a completely silent installation. This switch ensures that no user interface is displayed at all. You used /quiet, which while often silent, can sometimes still display prompts or progress bars depending on the MSI package.
  2. Configuration File Usage: Our KB article's primary method for silent installation involves downloading and preparing a separate configuration file (lansweeperitagentinstallation.cfg). This file contains the necessary parameters like mode, accepteula, path, and cloudtoken. The installer then references this file when run with the silent switch.

While passing parameters directly on the command line can work for some MSIs, for the Lansweeper IT Agent, following the recommended method of using the .cfg file in conjunction with /qn is the most reliable way to ensure no UI appears.

Please try the following command as per the KB article, ensuring your lansweeperitagentinstallation.cfg file is correctly prepared with your token value:

msiexec /i "C:\Lansweeper msi\Lansweeper-IT-agent-discovery-4.5.2-windows-x64-installer.msi" /qn

 

Make sure the .cfg file is in the same directory as the MSI installer, or specify its full path if it's elsewhere.

 

KB article for your reference: https://community.lansweeper.com/t5/sites/install-it-agent-discovery/ta-p/67029

 

If following the above recommendations doesn't work please submit a support ticket.

 

 Please open a ticket in our support portal.

 

Make sure to add screenshots and the GatherLogs output file so our SME's can start investigating the issue straight away. 

 

Using the GatherLogs tool.

General Discussions

Find answers to technical questions about Lansweeper.

New to Lansweeper?

Try Lansweeper For Free

Experience Lansweeper with your own data.
Sign up now for a 14-day free trial.

Try Now