-
Notifications
You must be signed in to change notification settings - Fork 158
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows agent uninstall #4827
Comments
Hello, If this is managed agent, I would advice to change the policy to remove every integrations and that should make the situation better. |
Hello! Thank you for your response
It's not. I already delete the Agent directory, but Agent service is still on this machine
Not possible. It's already offline |
Solved the problem this way:
Delete Agent and Endpoint branches Then close the services window if it is open (it blocks the removal of the service)
You should get a message that such services do not exist. |
The very first time I try, I received the following error:
I didn’t bother to figure it out and decided to delete folder according to the guide to which I was given a link in the cmd (stop services and delete the entire folder)
So when trying to install the new agent, the following error appears:
So now I still unable to install/reinstall or delete agent
"sc stop ElasticAgent", "sc delete ElasticAgent" commands stops service but do not delete it
I don’t delete service through the registry because a reboot is still will be required, but this is prod env
I also tried the --force commands on install and uninstall, but without success.
How can I remove the service or force the agent to reinstall properly?
The text was updated successfully, but these errors were encountered: