Elastic-agent status Error: failed to communicate with Elastic Agent daemon

tidenhub
Thu, 23 Jun 2022 14:14:55 +0000
Beats

I have installed Elastic Agent 8.2.2 at my Windows 10 host.
I can see the service running in the Management tools.

But the command to get the status throws an error. PS is running in admin mode.

PS C:\Program Files\Elastic\Agent> .\elastic-agent status
Error: failed to communicate with Elastic Agent daemon: rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing open \\\\.\\pipe\\elastic-agent-system: Access is denied."

What can I try to get it working? Thanks.

4 posts - 4 participants