# Trouble Installing and Configuring Elastic Search on Windows Virtual Machine

**URL:** <https://discuss.elastic.co/t/trouble-installing-and-configuring-elastic-search-on-windows-virtual-machine/307694>\
**Category:** Elasticsearch\
**Created:** [June 20, 2022, 8:09pm UTC](https://discuss.elastic.co/t/trouble-installing-and-configuring-elastic-search-on-windows-virtual-machine/307694 "2022-06-20T20:09:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![DataStorageMuse](https://avatars.discourse-cdn.com/v4/letter/d/bcef8e/32.png) [@DataStorageMuse](https://discuss.elastic.co/u/DataStorageMuse)\
**Post date:** [June 20, 2022, 8:09pm UTC](https://discuss.elastic.co/t/trouble-installing-and-configuring-elastic-search-on-windows-virtual-machine/307694/1 "2022-06-20T20:09:49Z")

</div>

I am following the documentation on this webpage: [Install Elasticsearch with .zip on Windows | Elasticsearch Guide [8.2] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/current/zip-windows.html). Essentially, when I run `bin\elasticsearch-create-enrollment-token -s node` while having Elasticsearch running in another tab in the PowerShell, I get this error: `ERROR: Failed to determine the health of the cluster. Unexpected http status [403]`.

---

<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:** [June 20, 2022, 11:52pm UTC](https://discuss.elastic.co/t/trouble-installing-and-configuring-elastic-search-on-windows-virtual-machine/307694/2 "2022-06-20T23:52:09Z")

</div>

Welcome to our community! 😃

What do the logs from Elasticsearch show?

---

<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:** [July 18, 2022, 11:53pm UTC](https://discuss.elastic.co/t/trouble-installing-and-configuring-elastic-search-on-windows-virtual-machine/307694/3 "2022-07-18T23:53:02Z")

</div>

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