This article explains how to uninstall Lansweeper IT Agent Discovery on Windows, Linux, and macOS.
While you can uninstall the agent locally from each device, the preferred method is to uninstall it directly from your Lansweeper Site. Doing so removes the IT Agent Discovery system from your site and also triggers a local uninstall on all associated devices.
Uninstall from your Lansweeper Site
Use this method whenever possible. It ensures the IT Agent Discovery system is removed from your site and the local IT Agent application is uninstalled from all associated machines.
In your Lansweeper Site, go to Discovery > Systems.
Select the IT Agent Discovery system by clicking its name.
Select Delete > Delete system.
The IT Agent Discovery system is removed from your site, and the local IT Agent is automatically uninstalled from all connected devices.
Uninstall locally
Uninstalling locally removes the agent software from the device but does not delete the IT Agent Discovery system from your Lansweeper Site.
Windows
You can use any of the following methods to uninstall IT Agent from your Windows device:
Open the Start menu, then go to Control Panel > Add or remove programs and locate Lansweeper IT Agent Discovery. Select Uninstall.
Open a command prompt and run: "C:\Program Files\Lansweeper IT Agent Discovery\uninstall.exe" --mode unattended
Open a command prompt and run: msiexec /x "C:\Path\To\Lansweeper-IT-agent-discovery-X.X.X-windows-x64-installer.msi"
Linux
To uninstall IT Agent Discovery on Linux, open a terminal and run the command for your environment:
Debian and Ubuntu: sudo dpkg -r lansweeper-it-agent
Red Hat, CentOS, and SUSE: sudo rpm -e lansweeper-it-agent
MacOS
You can use any of the following methods to uninstall IT Agent from your macOS device:
Go to /Library/Application Support/Lansweeper IT Agent Discovery and execute uninstall.app.
Run the following command in Terminal: sudo "/Library/Application Support/Lansweeper IT Agent Discovery/uninstall.app/Contents/MacOS/installbuilder.sh" --mode unattended