# Move config files elasticsearch 6.10 (Windows)

**URL:** <https://discuss.elastic.co/t/move-config-files-elasticsearch-6-10-windows/112399>\
**Category:** Elasticsearch\
**Created:** [December 19, 2017, 10:06am UTC](https://discuss.elastic.co/t/move-config-files-elasticsearch-6-10-windows/112399 "2017-12-19T10:06:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![teejayuu](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/teejayuu/32/18356_2.png) [@teejayuu](https://discuss.elastic.co/u/teejayuu)\
**Post date:** [December 19, 2017, 10:06am UTC](https://discuss.elastic.co/t/move-config-files-elasticsearch-6-10-windows/112399/1 "2017-12-19T10:06:23Z")

</div>

Hello,

Installing Elasticsearch 6.1.0 on a new Windows 2012 R2 server using the zip file. I'd like to change the location of the config files. Just a couple of questions:

1. Do I need to manually create the environment variable `ES_HOME`?
2. To move the conf location, do I need to run `ES_PATH_CONF=D:\Shares\Elasticsearch\config D:\Program Files\ELK\Elasticsearch\6.1.0\bin` in the command prompt, and is this the correct syntax?
3. Does the `ES_PATH_CONF` environmental variable need creating?

Thanks  
Tony

---

<div class="post-metadata">

**Author:** ![teejayuu](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/teejayuu/32/18356_2.png) [@teejayuu](https://discuss.elastic.co/u/teejayuu)\
**Post date:** [December 19, 2017, 11:42am UTC](https://discuss.elastic.co/t/move-config-files-elasticsearch-6-10-windows/112399/2 "2017-12-19T11:42:35Z")

</div>

1. No
2. No
3. Set manually

---

<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:** [January 16, 2018, 11:42am UTC](https://discuss.elastic.co/t/move-config-files-elasticsearch-6-10-windows/112399/3 "2018-01-16T11:42:38Z")

</div>

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