Lansweeper is an IT Asset Management solution that gathers hardware and software information of computers and other devices on a computer network for management, compliance and audit purposes. This article will serve as an informative guide and give you a clear understanding of how to perform a silent installation of Lansweeper from the command line using the EXE installer.
How to Install Lansweeper Silently
Lansweeper Silent Install (EXE)
- Navigate to: https://www.lansweeper.com/install-lansweeper/
- Download the LansweeperSetup.exe to a folder created at (C:\Downloads)
- Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
- Navigate to the C:\Downloads folder
- Enter the following command: LansweeperSetup.exe /VERYSILENT /ACCEPTEULA /INSTALL
- Press Enter
After a few minutes you should see the Lansweeper Desktop Shortcut appear. You will also find entries in the Start Menu, Installation Directory, and Programs and Features in the Control Panel.
Software Title: | Lansweeper |
Vendor: | Lansweeper.com |
Architecture: | x86_x64 |
Installer Type: | EXE |
Silent Install Switch: | LansweeperSetup.exe /VERYSILENT /ACCEPTEULA /INSTALL |
Silent Uninstall Switch (32-bit System) | "%ProgramFiles%\Lansweeper\unins000.exe" /VERYSILENT /NORESTART |
Silent Uninstall Switch (64-bit System) | "%ProgramFiles(x86)%\Lansweeper\unins000.exe" /VERYSILENT /NORESTART |
Download Link: | https://www.lansweeper.com/install-lansweeper/ |
PowerShell Script: | https://silentinstallhq.com/lansweeper-install-and-uninstall-powershell/ |
Detection Script: | https://silentinstallhq.com/create-a-custom-detection-script-for-lansweeper-powershell/ |
The information above provides a quick overview of the software title, vendor, silent install, and silent uninstall switches. The download links provided take you directly to the vendors website. Continue reading if you are interested in additional details and configurations.
Additional Configurations
Create a Lansweeper Installation Log File
The Lansweeper installer offers the option to generate a log file during installation to assist with troubleshooting should any problems arise. You can use the following command to create a verbose log file with details about the installation.
Lansweeper Silent Install (EXE) with Logging
LansweeperSetup.exe /VERYSILENT /ACCEPTEULA /INSTALL /LOG="%WINDIR%\Temp\Lansweeper-Install.log" |
How to Uninstall Lansweeper Silently
Check out the following posts for a scripted solution:
- Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
- Enter the following commands:
Lansweeper Silent Uninstall (EXE) on 32-bit System
"%ProgramFiles%\Lansweeper\unins000.exe" /VERYSILENT /NORESTART |
Lansweeper Silent Uninstall (EXE) on 64-bit System
"%ProgramFiles(x86)%\Lansweeper\unins000.exe" /VERYSILENT /NORESTART |
Npcap OEM Silent Uninstall (EXE)
"%ProgramFiles%\Npcap\uninstall.exe" /S |
Microsoft SQL Server 2014 Express LocalDB Silent Uninstall (MSI)
MsiExec.exe /x {45670BE8-85BF-409E-B5AD-B591C7F091BE} /qn |
IIS 8.0 Express Silent Uninstall (MSI)
MsiExec.exe /x {7BF61FA9-BDFB-4563-98AD-FCB0DA28CCC7} /qn |
Always make sure to test everything in a development environment prior to implementing anything into production. The information in this article is provided “As Is” without warranty of any kind.