# How to start the elastic search service Automatically if it stops in windows?

**URL:** <https://discuss.elastic.co/t/how-to-start-the-elastic-search-service-automatically-if-it-stops-in-windows/55830>\
**Category:** Elasticsearch\
**Created:** [July 19, 2016, 7:05am UTC](https://discuss.elastic.co/t/how-to-start-the-elastic-search-service-automatically-if-it-stops-in-windows/55830 "2016-07-19T07:05:56Z")\
**Posts on this page:** 2\
**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 19, 2016, 7:05am UTC](https://discuss.elastic.co/t/how-to-start-the-elastic-search-service-automatically-if-it-stops-in-windows/55830/1 "2016-07-19T07:05:56Z")

</div>

sometimes in while restarting system,or server restarts the ES service will also stops working . so we are planning to do an application to start the service again without human intervention . But some time when ever any folders are there inside the plugin folder service is not running displaying message like  
" failed to start elasticsearch-service-x86 " , if i remove the folders the service is starting .how to solve this issue ? is there any solution for this ?

---

<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:34pm UTC](https://discuss.elastic.co/t/how-to-start-the-elastic-search-service-automatically-if-it-stops-in-windows/55830/2 "2017-07-05T22:34:31Z")

</div>


