# Install Elastic Agent as Windows Service - Install in Powershell stops, no reaction

**URL:** <https://discuss.elastic.co/t/install-elastic-agent-as-windows-service-install-in-powershell-stops-no-reaction/381008>\
**Category:** Elastic Agent\
**Created:** [August 13, 2025, 2:04pm UTC](https://discuss.elastic.co/t/install-elastic-agent-as-windows-service-install-in-powershell-stops-no-reaction/381008 "2025-08-13T14:04:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Elasticisti](https://avatars.discourse-cdn.com/v4/letter/e/51bf81/32.png) [@Elasticisti](https://discuss.elastic.co/u/Elasticisti)\
**Post date:** [August 13, 2025, 2:04pm UTC](https://discuss.elastic.co/t/install-elastic-agent-as-windows-service-install-in-powershell-stops-no-reaction/381008/1 "2025-08-13T14:04:43Z")

</div>

Hello,

If I install elastic agent on a Windows VM via Powershell, nothing happens.

I have downloaded the zip previously and unzipped it before I tried to install it.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/b/9/b90abcd5122f835453d9ed4a5aa19dbb847a217c.png)

The cursor blinks, however nothing happen. I think, it is waiting in background to get a “y” or an “n”, the question is not indicated therefore I cannot, press a key …

If I simply install the exe from Windows Explore, it works. It is however not installed as service.

Does somebody have an idea, how to install Windows Agent correctly?

Best regards

EI
