# Shall we run the elasticsearch service by any .exe in windows

**URL:** <https://discuss.elastic.co/t/shall-we-run-the-elasticsearch-service-by-any-exe-in-windows/56605>\
**Category:** Elasticsearch\
**Created:** [July 28, 2016, 10:27am UTC](https://discuss.elastic.co/t/shall-we-run-the-elasticsearch-service-by-any-exe-in-windows/56605 "2016-07-28T10:27:32Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![sukesh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sukesh/32/10890_2.png) [@sukesh](https://discuss.elastic.co/u/sukesh)\
**Post date:** [July 28, 2016, 10:27am UTC](https://discuss.elastic.co/t/shall-we-run-the-elasticsearch-service-by-any-exe-in-windows/56605/1 "2016-07-28T10:27:32Z")

</div>

Hi all,

How to start the elasticsearch service by .exe without human intervention!  
is it possible?

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [July 28, 2016, 10:38am UTC](https://discuss.elastic.co/t/shall-we-run-the-elasticsearch-service-by-any-exe-in-windows/56605/2 "2016-07-28T10:38:36Z")

</div>

You probably want to read this: [https://www.elastic.co/guide/en/elasticsearch/reference/current/setup-service-win.html](https://www.elastic.co/guide/en/elasticsearch/reference/current/setup-service-win.html)

---

<div class="post-metadata">

**Author:** ![sukesh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sukesh/32/10890_2.png) [@sukesh](https://discuss.elastic.co/u/sukesh)\
**Post date:** [July 28, 2016, 11:14am UTC](https://discuss.elastic.co/t/shall-we-run-the-elasticsearch-service-by-any-exe-in-windows/56605/3 "2016-07-28T11:14:38Z")

</div>

HI @dadoonet,

Thank you for your reply , i already gone through that , actually my doubt is i am .Net developer , now i just want to develop an windows application which can automatically start the service of elasticsearch .  
before that i just want to make sure that it is possible or not ?

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [July 28, 2016, 11:35am UTC](https://discuss.elastic.co/t/shall-we-run-the-elasticsearch-service-by-any-exe-in-windows/56605/4 "2016-07-28T11:35:19Z")

</div>

If the service has been installed previously, I guess you have .net APIs to start a windows service by its name?

Otherwise no. I don't believe you can.

---

<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, 2017, 10:32pm UTC](https://discuss.elastic.co/t/shall-we-run-the-elasticsearch-service-by-any-exe-in-windows/56605/5 "2017-07-05T22:32:05Z")

</div>


