# Windows elastic agent does not run

**URL:** <https://discuss.elastic.co/t/windows-elastic-agent-does-not-run/274606>\
**Category:** Beats\
**Tags:** fleet, windows\
**Created:** [June 1, 2021, 9:30am UTC](https://discuss.elastic.co/t/windows-elastic-agent-does-not-run/274606 "2021-06-01T09:30:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Enrique\_Pedroza](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/enrique_pedroza/32/87483_2.png) [@Enrique\_Pedroza](https://discuss.elastic.co/u/Enrique_Pedroza)\
**Post date:** [June 1, 2021, 9:30am UTC](https://discuss.elastic.co/t/windows-elastic-agent-does-not-run/274606/1 "2021-06-01T09:30:58Z")

</div>

I have installed elastic fleet agent in windows machine. It works fine but to run it as a service at boot it gives error and do not launch. If i manually run it woks, the problem is the windows service.

At the moment of running it the error is the following:

![imagen](https://us1.discourse-cdn.com/elastic/original/3X/2/9/29216877dcd417f85585fa3b741a7a2aca8b06f3.png)

and in the logs it says this :  
2021-06-01T11:29:20.508+0200 ERROR cmd/watch.go:61 failed to load markeropen C:\Program Files\Elastic\Agent\data.update-marker: The system could not find the specific file

How can i make it work as a service, in linux the agent works perfectly

---

<div class="post-metadata">

**Author:** ![Michal\_Pristas](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/michal_pristas/32/46639_2.png) [@Michal\_Pristas](https://discuss.elastic.co/u/Michal_Pristas)\
**Post date:** [June 7, 2021, 8:59am UTC](https://discuss.elastic.co/t/windows-elastic-agent-does-not-run/274606/2 "2021-06-07T08:59:00Z")

</div>

could you provide more information about your system and version of agent used. we see it running on our env so I need to figure out what's different.  
version and build of windows would also help, also can you check binary is there?

---

<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:** [July 5, 2021, 8:59am UTC](https://discuss.elastic.co/t/windows-elastic-agent-does-not-run/274606/3 "2021-07-05T08:59:17Z")

</div>

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