# Agent Uninstallation Methods The Endpoint Central Agent can be uninstalled in many ways. However it is important to note here that agent uninstallation is only recommended in cases where you want to remove old agents (agents that are no longer in contact with the server) and not in scenarios where there is a communication issue or an upgradation failure. ## Table of contents 1. [Agent Uninstallation from Console](#agent-uninstallation-from-console) 2. [Manual Agent Uninstallation](#manual-agent-uninstallation) 3. [Agent Uninstallation using the GPO Tool](#agent-uninstallation-using-the-gpo-tool) 4. [Agent Uninstallation using the IP Tool](#agent-uninstallation-using-the-ip-tool) 5. [Agent Uninstallation using the AgentCleanupTool](#agent-uninstallation-using-the-agentcleanuptool) 6. [Agent Unistallation via Intune](#agent-unistallation-via-intune) 7. [Mac Agent Uninstallation](https://www.manageengine.com/products/desktop-central/help/configuring_desktop_central/managing_mac_os_computers.html#how-to-deprovision-mac-agents-or-mac-devices) 8. [Linux Agent Uninstallation](https://www.manageengine.com/products/desktop-central/onboarding/how-to/how_to_install_linuxagent.html#how-to-uninstall-linux-agent) ## Agent Uninstallation from Console You can uninstall agents from machines using the Endpoint Central Server by navigating to the **Agent** tab > **Scope of Management** > **Computers** > **Uninstall Agent**. By clicking on Uninstall agent, you will only be able to uninstall agents from machines where the status of the agent is live. ![uninstall agent from console](https://www.manageengine.com/products/desktop-central/images/agent-uninstall-1.png) **Note:** Uninstalling an agent from the console using the **Uninstall Agent** option is different from removing the computers using the **Remove Computers** option. The agent will be uninstalled on-demand when you click **Uninstall Agent**. If you are removing a computer, the agent uninstallation will only be reflected in the next refresh policy. ## Manual Agent Uninstallation You can restrict agent uninstallation and agent service from the Endpoint Central Server console by following the steps mentioned below: To configure OTP for agent uninstallation, log in to the Endpoint Central Server console and navigate to **Agent** --> **Agent Settings** --> **Agent Protection Settings**. ![manual agent uninstallation](https://www.manageengine.com/products/desktop-central/images/agent-uninstall-2.png) After enabling the settings, you will see that the restrictions will be enabled in the control panel. (The restrictions will be applied during the 90 minutes refresh cycle) ![control panel restrictions](https://www.manageengine.com/products/desktop-central/help/images/agent-uninstall-3.png) When you are trying to uninstall the agent from the control panel, you will be required to enter the TOTP. To view the TOTP from the console, log in to the Endpoint Central web console and navigate to **Agent** --> **Computers** --> **View OTP**. ![view otp](https://www.manageengine.com/products/desktop-central/images/agent-uninstall-4-1.png) Note: If the restriction is not enabled in the Endpoint Central Server, you can directly uninstall the agent from the control panel. ## Agent Uninstallation using the GPO Tool To know more about uninstalling an agent using the GPO tool, click [here](https://www.manageengine.com/products/desktop-central/agent-installation-using-gpo-lightweight-tool.html). ## Agent Uninstallation using the IP Tool You can uninstall an Endpoint Central agent using the IP tool. To know more, click [here](https://www.manageengine.com/products/desktop-central/help/configuring_desktop_central/deploying-agent-using-ip-ranges.html). ## Agent Uninstallation using the AgentCleanupTool To know how to uninstall an agent using the AgentCleanupTool, click [here](https://www.manageengine.com/products/desktop-central/desktop_agent_uninstallation.html). ## Agent Unistallation via Intune To know how to uninstall an agent via Intune, click [here](https://www.manageengine.com/products/desktop-central/onboarding/how-to/agent-uninstallation-via-intune.html). For specific OS based agent installation steps, kindly refer below documentation. ## Related Articles If you have uninstalled agent, and need to re-install it, navigate to Agent > Computers > Download Agent. For specific OS related steps, kindly refer below documentation. 1. [Windows Agent Installation](https://www.manageengine.com/products/desktop-central/agent-installation.html) 2. [Mac Agent Installation](https://www.manageengine.com/products/desktop-central/help/configuring_desktop_central/managing_mac_os_computers.html) 3. [Linux Agent Installation](https://www.manageengine.com/products/desktop-central/onboarding/how-to/how_to_install_linuxagent.html)