# Elasticsearch.yml does not work in Windows

**URL:** <https://discuss.elastic.co/t/elasticsearch-yml-does-not-work-in-windows/140410>\
**Category:** Elasticsearch\
**Created:** [July 17, 2018, 11:22pm UTC](https://discuss.elastic.co/t/elasticsearch-yml-does-not-work-in-windows/140410 "2018-07-17T23:22:04Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Moon](https://avatars.discourse-cdn.com/v4/letter/m/f07891/32.png) [@Moon](https://discuss.elastic.co/u/Moon)\
**Post date:** [July 17, 2018, 11:22pm UTC](https://discuss.elastic.co/t/elasticsearch-yml-does-not-work-in-windows/140410/1 "2018-07-17T23:22:04Z")

</div>

Hi, I installed elasticsearch in Windows.

I changed elasticsearch.yml ex) cluster name, node.name, node.master ....

I went to localhost:9200/ and checked [http://localhost:9200/\_cluster/health?pretty=true](http://localhost:9200/_cluster/health?pretty=true)

However, it was not changed. It showed default setting.

I checked JDK environment variables.

plz help me

---

<div class="post-metadata">

**Author:** ![TimV](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/timv/32/13162_2.png) [@TimV](https://discuss.elastic.co/u/TimV)\
**Post date:** [July 18, 2018, 2:16am UTC](https://discuss.elastic.co/t/elasticsearch-yml-does-not-work-in-windows/140410/2 "2018-07-18T02:16:02Z")

</div>

> [@Moon](#):
>
> I installed elasticsearch in Windows.

What method did you use (MSI or zip), and which version?

> [@](#):
>
> I changed elasticsearch.yml

In which path? Is it possible you edited the wrong copy of the file?

> [@](#):
>
> I went to localhost:9200/

Did you restart the Elasticsearch service first?

---

<div class="post-metadata">

**Author:** ![Moon](https://avatars.discourse-cdn.com/v4/letter/m/f07891/32.png) [@Moon](https://discuss.elastic.co/u/Moon)\
**Post date:** [July 18, 2018, 5:55am UTC](https://discuss.elastic.co/t/elasticsearch-yml-does-not-work-in-windows/140410/3 "2018-07-18T05:55:10Z")

</div>

I downloaded elasticsearch-6.3.1.zip

The yml file was located in default config folder

After revising, i restarted the service.

I don't know why it does not read config file.

I put config condition respectively in terminal

for example, elasticsearch -Ecluster.name=my-cluster

---

<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:** [August 15, 2018, 5:55am UTC](https://discuss.elastic.co/t/elasticsearch-yml-does-not-work-in-windows/140410/4 "2018-08-15T05:55:15Z")

</div>

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