# Any observations re: whether or not there is an advantage to stopping the elasticsearch service before restarting a windows server?

**URL:** <https://discuss.elastic.co/t/any-observations-re-whether-or-not-there-is-an-advantage-to-stopping-the-elasticsearch-service-before-restarting-a-windows-server/60098>\
**Category:** Elasticsearch\
**Created:** [September 8, 2016, 4:36pm UTC](https://discuss.elastic.co/t/any-observations-re-whether-or-not-there-is-an-advantage-to-stopping-the-elasticsearch-service-before-restarting-a-windows-server/60098 "2016-09-08T16:36:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![casieowen](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/casieowen/32/8734_2.png) [@casieowen](https://discuss.elastic.co/u/casieowen)\
**Post date:** [September 8, 2016, 4:36pm UTC](https://discuss.elastic.co/t/any-observations-re-whether-or-not-there-is-an-advantage-to-stopping-the-elasticsearch-service-before-restarting-a-windows-server/60098/1 "2016-09-08T16:36:54Z")

</div>

Hi,

For rolling restarts, just wondering if anyone has any data about whether or not there is any advantage/disadvantage to stopping the elasticsearch service before restarting windows servers?

Thanks,  
Casie

---

<div class="post-metadata">

**Author:** ![kstaken](https://avatars.discourse-cdn.com/v4/letter/k/e68b1a/32.png) [@kstaken](https://discuss.elastic.co/u/kstaken)\
**Post date:** [September 8, 2016, 10:33pm UTC](https://discuss.elastic.co/t/any-observations-re-whether-or-not-there-is-an-advantage-to-stopping-the-elasticsearch-service-before-restarting-a-windows-server/60098/2 "2016-09-08T22:33:42Z")

</div>

If Elasticsearch is setup to stop gracefully when the server stops then it shouldn't matter however if it's not then it will be like pulling the plug on the server as far as ES is concerned which is obviously best avoided if you're intending to keep the shards on the node.

Kimbro

---

<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:21pm UTC](https://discuss.elastic.co/t/any-observations-re-whether-or-not-there-is-an-advantage-to-stopping-the-elasticsearch-service-before-restarting-a-windows-server/60098/3 "2017-07-05T22:21:42Z")

</div>

Closed on July 5, 2017, 10:21pm UTC


