# ElasticSearch 8.5.3 installation windows

**URL:** https://discuss.elastic.co/t/elasticsearch-8-5-3-installation-windows/322301
**Category:** Elasticsearch
**Tags:** windows
**Created:** [January 2, 2023, 11:21am UTC](https://discuss.elastic.co/t/elasticsearch-8-5-3-installation-windows/322301 "2023-01-02T11:21:17Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![akrajmscct](https://avatars.discourse-cdn.com/v4/letter/a/b77776/32.png) [@akrajmscct](https://discuss.elastic.co/u/akrajmscct)
#### Post date: [January 2, 2023, 11:21am UTC](https://discuss.elastic.co/t/elasticsearch-8-5-3-installation-windows/322301/1 "2023-01-02T11:21:17Z")

</div>

Hi Team,

I am new to Elasticsearch and Kibana. I using windows and downloaded the elasticsearch 8.5.3 version zip file. After unzip I run the elasticsearch.bat file in command prompt. It generates token, username and password. After generates it throws error and not able to start using [http://localhost:9200](http://localhost:9200).

I followed below steps in elasticsearch.yaml file to fix.

xpack.security.enabled: true

xpack.security.enrollment.enabled: true

# Enable encryption for HTTP API client connections, such as Kibana, Logstash, and Agents

xpack.security.http.ssl:  
enabled: false  
keystore.path: certs/http.p12

# Enable encryption and mutual authentication between cluster nodes

xpack.security.transport.ssl:  
enabled: false  
verification\_mode: certificate  
keystore.path: certs/transport.p12  
truststore.path: certs/transport.p12

# Create a new cluster with the current node only

# Additional nodes can still join the cluster later

cluster.initial\_master\_nodes: ["L-INE-7YRCQG3"]

# Allow HTTP API connections from anywhere

# Connections are encrypted and require user authentication

http.host: 0.0.0.0

I created the user, user role in corresponding files.

After changing this I can be able to work on the elasticsearch using [http://localhost:9200](http://localhost:9200)

When I install the kibana and start it throws error.

[ERROR][savedobjects-service] [.kibana] Action failed with 'security\_exception: [security\_exception] Reason: action [indices:admin/create] is unauthorized for user [krishna] with effective roles [admins] (assigned roles [monitoring,network] were not found) on restricted indices [.kibana\_8.5.3\_001], this action is granted by the index privileges [create\_index,manage,all]'. Retrying attempt 4 in 16 seconds.

---

<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: [January 2, 2023, 9:12pm UTC](https://discuss.elastic.co/t/elasticsearch-8-5-3-installation-windows/322301/2 "2023-01-02T21:12:17Z")

</div>

Welcome to our community! 😃  
Please format your code/logs/config using the `</>` button, or markdown style back ticks. It helps to make things easy to read which helps us help you 🙂

> [@akrajmscct](#):
>
> I created the user, user role in corresponding files.

What files? How did you actually create 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: [January 30, 2023, 9:13pm UTC](https://discuss.elastic.co/t/elasticsearch-8-5-3-installation-windows/322301/3 "2023-01-30T21:13:06Z")

</div>

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