--- title: "Uninstall IT Agent Discovery" slug: "uninstall-it-agent-discovery" description: "Uninstall Lansweeper IT Agent Discovery from Windows, Linux, and macOS. Follow the per-platform steps to remove the agent cleanly from your devices." tags: ["Lansweeper Platform", "Discovery and scanning", "IT Agent"] updated: 2026-07-08T13:18:23Z published: 2026-06-19T18:06:02Z canonical: "docs.lansweeper.com/uninstall-it-agent-discovery" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.lansweeper.com/llms.txt > Use this file to discover all available pages before exploring further. # Uninstall IT Agent Discovery 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. 1. In your Lansweeper Site, go to **Discovery > Systems**. 2. Select the IT Agent Discovery system by clicking its name. 3. 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`