elastic / elastic/elastic-stack-installers

[Windows] elastic-agent installed via MSI installer does not completely uninstall

Open
#334 6 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
C#
Stars
9
Forks
15
PR merge metrics
No merged PRs in 30d

Description

Running `elastic-agent uninstall` on a Windows system after installing the agent with an MSI package does not fully remove all references from the system.

- Version:8.18+
- Operating System: Windows
- Discuss Forum URL: N/A
- Steps to Reproduce:
1. Install elastic-agent using an MSI install on Windows, see [official docs](https://www.elastic.co/docs/reference/fleet/install-agent-msi).
Note how the installer creates a `C:\Program Files\Elastic\Beats` directory
3. run `elastic-agent uninstall`
4. The `Beats` directory still exists on the system.
Additionally, Elastic Agent will still be listed in the system's Installed Programs list.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.