# Cannot install elastic agent on window server

**URL:** <https://discuss.elastic.co/t/cannot-install-elastic-agent-on-window-server/382364>\
**Category:** Elastic Agent\
**Created:** [October 2, 2025, 12:38am UTC](https://discuss.elastic.co/t/cannot-install-elastic-agent-on-window-server/382364 "2025-10-02T00:38:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hoai\_Thanh\_Do](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/hoai_thanh_do/32/145230_2.png) [@Hoai\_Thanh\_Do](https://discuss.elastic.co/u/Hoai_Thanh_Do)\
**Post date:** [October 2, 2025, 12:38am UTC](https://discuss.elastic.co/t/cannot-install-elastic-agent-on-window-server/382364/1 "2025-10-02T00:38:09Z")

</div>

Hi All,

I'm new to Elastic and recently attempted to install Elastic Agent on my Azure VMs. Unfortunately, the installation failed. One strange thing I noticed is that although the result indicates failure, the Elastic Agent service appears on the system—but its status is "stopped." Additionally, I couldn't locate any folder related to the agent.

My goal is to completely remove all components associated with Elastic Agent so I can perform a clean reinstallation.

Could you please suggest the best approach or share any tools or scripts from the community that can help with a thorough cleanup?

Thanks in advance!
