# Minimum Permission to run ElasticSearch as windows service

**URL:** <https://discuss.elastic.co/t/minimum-permission-to-run-elasticsearch-as-windows-service/335581>\
**Category:** Elasticsearch\
**Tags:** windows\
**Created:** [June 9, 2023, 1:09am UTC](https://discuss.elastic.co/t/minimum-permission-to-run-elasticsearch-as-windows-service/335581 "2023-06-09T01:09:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mochammad.yusup](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mochammad.yusup/32/122051_2.png) [@mochammad.yusup](https://discuss.elastic.co/u/mochammad.yusup)\
**Post date:** [June 9, 2023, 1:09am UTC](https://discuss.elastic.co/t/minimum-permission-to-run-elasticsearch-as-windows-service/335581/1 "2023-06-09T01:09:50Z")

</div>

Hi,

I would like to know what's the minimum permission of an account that is used to run Elasticsearch Windows Service. My client actually asked this question and I don't know the answer as there's nothing in the documentations mentioning this.

I'm aware that by default it uses System Local Account, which what I'm using as well in the server. But when I tried changing it to other accounts (Network Service, Local Service and Local User) it failed. I guess I just don't know the minimum permission of the account for the service to run properly.

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:** [July 7, 2023, 1:10am UTC](https://discuss.elastic.co/t/minimum-permission-to-run-elasticsearch-as-windows-service/335581/2 "2023-07-07T01:10:21Z")

</div>

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