# Elasticsearch service is terminating immediately on Windows Server 2016

**URL:** <https://discuss.elastic.co/t/elasticsearch-service-is-terminating-immediately-on-windows-server-2016/209854>\
**Category:** Elasticsearch\
**Created:** [November 28, 2019, 12:29pm UTC](https://discuss.elastic.co/t/elasticsearch-service-is-terminating-immediately-on-windows-server-2016/209854 "2019-11-28T12:29:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![JY\_DT](https://avatars.discourse-cdn.com/v4/letter/j/5e9695/32.png) [@JY\_DT](https://discuss.elastic.co/u/JY_DT)\
**Post date:** [November 28, 2019, 12:29pm UTC](https://discuss.elastic.co/t/elasticsearch-service-is-terminating-immediately-on-windows-server-2016/209854/1 "2019-11-28T12:29:46Z")

</div>

Hello,

I've been working on the other issue that I've posted yesterday. However, I now see that the Elasticsearch is terminating as soon as I start it from the Services in Windows.  
The Windows Event Viewer gives a Windows event ID of 7034. Not sure what could go wrong.

Java is configured correctly.

Thanks.

---

<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:** [December 26, 2019, 12:29pm UTC](https://discuss.elastic.co/t/elasticsearch-service-is-terminating-immediately-on-windows-server-2016/209854/2 "2019-12-26T12:29:46Z")

</div>

Closed on December 26, 2019, 12:29pm UTC

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