# MetricBeat´s installation stopped

**URL:** <https://discuss.elastic.co/t/metricbeat-s-installation-stopped/140000>\
**Category:** Beats\
**Created:** [July 13, 2018, 6:45pm UTC](https://discuss.elastic.co/t/metricbeat-s-installation-stopped/140000 "2018-07-13T18:45:50Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Diego\_Moreno](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/diego_moreno/32/33334_2.png) [@Diego\_Moreno](https://discuss.elastic.co/u/Diego_Moreno)\
**Post date:** [July 13, 2018, 6:45pm UTC](https://discuss.elastic.co/t/metricbeat-s-installation-stopped/140000/1 "2018-07-13T18:45:50Z")

</div>

![image](https://us1.discourse-cdn.com/elastic/original/3X/6/2/62a134fb36824f3e53c41fc74df5363ddf69c01b.png)

---

<div class="post-metadata">

**Author:** ![jsoriano](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jsoriano/32/27920_2.png) [@jsoriano](https://discuss.elastic.co/u/jsoriano)\
**Post date:** [July 13, 2018, 7:10pm UTC](https://discuss.elastic.co/t/metricbeat-s-installation-stopped/140000/2 "2018-07-13T19:10:58Z")

</div>

Is script execution disabled in your system? If that's the case you can try to run the script with:

```auto
PowerShell.exe -ExecutionPolicy UnRestricted -File .\install-service-metricbeat.ps1

```

---

<div class="post-metadata">

**Author:** ![Diego\_Moreno](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/diego_moreno/32/33334_2.png) [@Diego\_Moreno](https://discuss.elastic.co/u/Diego_Moreno)\
**Post date:** [July 13, 2018, 7:13pm UTC](https://discuss.elastic.co/t/metricbeat-s-installation-stopped/140000/4 "2018-07-13T19:13:03Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![jsoriano](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jsoriano/32/27920_2.png) [@jsoriano](https://discuss.elastic.co/u/jsoriano)\
**Post date:** [July 14, 2018, 11:47am UTC](https://discuss.elastic.co/t/metricbeat-s-installation-stopped/140000/5 "2018-07-14T11:47:55Z")

</div>

Hi @Diego_Moreno,

Sorry for the confusion, but indeed the output in your first screenshot looks normal, this script just installs the service, and the `Status: Stopped` and `ReturnValue: 0` indicate that it finished correctly.

After the installation you can follow the [next steps of the installation](https://www.elastic.co/guide/en/beats/metricbeat/6.3/metricbeat-installation.html) or directly [start the service](https://www.elastic.co/guide/en/beats/metricbeat/6.3/metricbeat-starting.html) with `Start-Service metricbeat`.

---

<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:** [August 11, 2018, 1:47pm UTC](https://discuss.elastic.co/t/metricbeat-s-installation-stopped/140000/6 "2018-08-11T13:47:58Z")

</div>

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