# Elasticsearch running as a service on Windows

**URL:** <https://discuss.elastic.co/t/elasticsearch-running-as-a-service-on-windows/81330>\
**Category:** Elasticsearch\
**Created:** [April 5, 2017, 3:41pm UTC](https://discuss.elastic.co/t/elasticsearch-running-as-a-service-on-windows/81330 "2017-04-05T15:41:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![MarkTierney](https://avatars.discourse-cdn.com/v4/letter/m/94ad74/32.png) [@MarkTierney](https://discuss.elastic.co/u/MarkTierney)\
**Post date:** [April 5, 2017, 3:41pm UTC](https://discuss.elastic.co/t/elasticsearch-running-as-a-service-on-windows/81330/1 "2017-04-05T15:41:06Z")

</div>

Hi Folks,

I am attempting to setup Elasticsearch 5.2.2 as a service on Windows Server 2012 R2. When reviewing the Apache-like service manager, I need to change the log prefixes or I get logs put somewhere other than what is specified in ELASTICSEARCH.YML. Do I also need to set all of the runtime parameters in the Arguments field for startup (as opposed to them being picked up from the YML ?

Is there a more fleshed out example of this option for Windows users?

---

<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:** [May 3, 2017, 3:41pm UTC](https://discuss.elastic.co/t/elasticsearch-running-as-a-service-on-windows/81330/2 "2017-05-03T15:41:25Z")

</div>

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