Filebeat install error on Windows

I have uninstall previously install filebeat and received following information

Then I tried to install filebeat again and received following error message and I am unable to resolve this issue.

How to resolve this issue

Did you stop the service before removing it? Maybe it wasn't full uninstalled. Is there a filebeat process still running? Is there still a filebeat service registered?

From Delete method of the Win32_Service class (CIMWin32 WMI Providers) - Win32 apps | Microsoft Learn

Services must be stopped before you remove them. If the service is running when you issue the delete command, the service is marked for deletion, but it continues to run until it stops and all open handles are closed.

Can you please open an issue in the beats Github repo to enhance the uninstall script to stop the service before deleting. I think that would have prevented this issue.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.