A newer version is available. For the latest information, see the
current release documentation.
Uninstall an endpoint
editUninstall an endpoint
editUse these commands to uninstall an endpoint ONLY if uninstalling an Elastic Agent is unsuccessful.
Windows
cd %TEMP% copy "c:\Program Files\Elastic\Endpoint\elastic-endpoint.exe" elastic-endpoint.exe .\elastic-endpoint.exe uninstall del .\elastic-endpoint.exe
macOS
cd /tmp cp /Library/Elastic/Endpoint/elastic-endpoint elastic-endpoint sudo ./elastic-endpoint uninstall rm elastic-endpoint
Linux
cd /tmp cp /opt/Elastic/Endpoint/elastic-endpoint elastic-endpoint sudo ./elastic-endpoint uninstall rm elastic-endpoint