Setup Fleet on Windows. I cannot get it to work at all

Hello, I cant seem to get Elastic Fleet Server to run on Windows. I tried the official and this solution aswell. We have set up security with a certificate but every possible way does not seem to work.

I used this command in Powershell

.\elastic-agent.exe install -v `

--fleet-server-es=https://127.0.0.1:9200 --fleet-server-service-token=AAEAAWVsYXN0aWMvZmxlZXQtc2Vyxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
--fleet-server-policy=19d0a4e0-e70c-11eb-bc7a-xxxxxxxxx `
--fleet-server-es-ca="C:\install\new\elasticsearch-7.17.1-windows-x86_64\elasticsearch-7.17.1\elasticsearch-ca.pem"

The only error message I get is

Error: failed to communicate with elastic-agent daemon; is elastic-agent running?

Any help would be highly appriciated.

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