# The Elasticsearch keystore \[C:\\elasticsearch-7.17.0\\elasticsearch-7.17.0\\config\\elasticsearch.keystore\] format is too new. Are you trying to downgrade? You should delete and recreate it in order to downgrade

**URL:** https://discuss.elastic.co/t/the-elasticsearch-keystore-c-elasticsearch-7-17-0-elasticsearch-7-17-0-config-elasticsearch-keystore-format-is-too-new-are-you-trying-to-downgrade-you-should-delete-and-recreate-it-in-order-to-downgrade/310527
**Category:** Elasticsearch
**Created:** [July 25, 2022, 11:43am UTC](https://discuss.elastic.co/t/the-elasticsearch-keystore-c-elasticsearch-7-17-0-elasticsearch-7-17-0-config-elasticsearch-keystore-format-is-too-new-are-you-trying-to-downgrade-you-should-delete-and-recreate-it-in-order-to-downgrade/310527 "2022-07-25T11:43:39Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![mujtabah](https://avatars.discourse-cdn.com/v4/letter/m/ecd19e/32.png) [@mujtabah](https://discuss.elastic.co/u/mujtabah)
#### Post date: [July 25, 2022, 11:43am UTC](https://discuss.elastic.co/t/the-elasticsearch-keystore-c-elasticsearch-7-17-0-elasticsearch-7-17-0-config-elasticsearch-keystore-format-is-too-new-are-you-trying-to-downgrade-you-should-delete-and-recreate-it-in-order-to-downgrade/310527/1 "2022-07-25T11:43:39Z")

</div>

I am currently using windows server 2019. i was trying to upgrade ES from 7.16.2 to 8.3, then i got error to upgrade first to 7.17. i have upgraded it to 7.17 but now when i run elasticsearch.bat file its giving this error, how can i delete and recreate elastic keystore in windows

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/f/a/fa681bc763361eca92043e42aaed556fc649c8b0.png)

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [July 26, 2022, 12:11am UTC](https://discuss.elastic.co/t/the-elasticsearch-keystore-c-elasticsearch-7-17-0-elasticsearch-7-17-0-config-elasticsearch-keystore-format-is-too-new-are-you-trying-to-downgrade-you-should-delete-and-recreate-it-in-order-to-downgrade/310527/2 "2022-07-26T00:11:56Z")

</div>

Please don't post pictures of text, logs or code. They are difficult to read, impossible to search and replicate (if it's code), and some people may not be even able to see them 🙂

---

<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 23, 2022, 12:12am UTC](https://discuss.elastic.co/t/the-elasticsearch-keystore-c-elasticsearch-7-17-0-elasticsearch-7-17-0-config-elasticsearch-keystore-format-is-too-new-are-you-trying-to-downgrade-you-should-delete-and-recreate-it-in-order-to-downgrade/310527/3 "2022-08-23T00:12:42Z")

</div>

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