# How to setup kibana 8.1 with Elastic Search 8.1under Windows

**URL:** <https://discuss.elastic.co/t/how-to-setup-kibana-8-1-with-elastic-search-8-1under-windows/301835>\
**Category:** Kibana\
**Created:** [April 7, 2022, 7:11am UTC](https://discuss.elastic.co/t/how-to-setup-kibana-8-1-with-elastic-search-8-1under-windows/301835 "2022-04-07T07:11:36Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![aneesh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aneesh/32/37819_2.png) [@aneesh](https://discuss.elastic.co/u/aneesh)\
**Post date:** [April 7, 2022, 7:11am UTC](https://discuss.elastic.co/t/how-to-setup-kibana-8-1-with-elastic-search-8-1under-windows/301835/1 "2022-04-07T07:11:36Z")

</div>

Hi ,

we have installed Elasticsearch 8.1 windows version as a services , here localhost:9200 will be browse with user name and password .  
and we are not able to run Kibana , and its asking for to generate the Token,  
if we try to run the [Elasticsearch-create-enrollment-token`]command throwing ERROR: [xpack.security.enrollment.enabled] must be set to `true` to create an enrollment token.  
the same if we add under Ealsticsearch.yml file , Elasticsearch services will not stop.

Please Guide us the proper setup step and YML file configuration details.

Regards  
Sateesh TV

---

<div class="post-metadata">

**Author:** ![zx8086](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/zx8086/32/94917_2.png) [@zx8086](https://discuss.elastic.co/u/zx8086)\
**Post date:** [April 7, 2022, 7:33am UTC](https://discuss.elastic.co/t/how-to-setup-kibana-8-1-with-elastic-search-8-1under-windows/301835/2 "2022-04-07T07:33:18Z")

</div>

Given that this is a fresh installation, correct ?

With 8.0 there is a new process using enrolment tokens. This differs from previous version installations.

> **[Starting Elasticsearch | Elasticsearch Guide \[8.1\] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/8.1/starting-elasticsearch.html)**

---

<div class="post-metadata">

**Author:** ![aneesh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aneesh/32/37819_2.png) [@aneesh](https://discuss.elastic.co/u/aneesh)\
**Post date:** [April 26, 2022, 9:12am UTC](https://discuss.elastic.co/t/how-to-setup-kibana-8-1-with-elastic-search-8-1under-windows/301835/3 "2022-04-26T09:12:40Z")

</div>

can you please share the installation process , we are following the steps from Elastic portal only, but its not coming properly.

---

<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:** [May 24, 2022, 9:12am UTC](https://discuss.elastic.co/t/how-to-setup-kibana-8-1-with-elastic-search-8-1under-windows/301835/4 "2022-05-24T09:12:55Z")

</div>

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