# I have problem installing elastic agent

**URL:** <https://discuss.elastic.co/t/i-have-problem-installing-elastic-agent/334375>\
**Category:** Elastic Agent\
**Created:** [May 25, 2023, 10:55pm UTC](https://discuss.elastic.co/t/i-have-problem-installing-elastic-agent/334375 "2023-05-25T22:55:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![daniellopez](https://avatars.discourse-cdn.com/v4/letter/d/94ad74/32.png) [@daniellopez](https://discuss.elastic.co/u/daniellopez)\
**Post date:** [May 25, 2023, 10:55pm UTC](https://discuss.elastic.co/t/i-have-problem-installing-elastic-agent/334375/1 "2023-05-25T22:55:37Z")

</div>

Actually I am having a problem to install elastic agent.  
When I run the command that kibana gives me I get the following error

2023-05-25T10:46:57.852-0500 INFO cmd/enroll\_cmd.go:701 Fleet Server - Error - could not start the HTTP server for the API: cannot generate security descriptor for the named pipe: failed to lookup Administrators group: The trust relationship between this workstation and the primary domain failed.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/6/4/6445e09af28ebf38f790d303db5132987ad2d804.jpeg)

Somebody knows why does it show me this message?

Note: I exect this command as administrator

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [June 22, 2023, 10:56pm UTC](https://discuss.elastic.co/t/i-have-problem-installing-elastic-agent/334375/2 "2023-06-22T22:56:10Z")

</div>

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