When installing Elasticsarch8.6 on Windows,
after runnning
elasticsearch.bat
I forgot to write down the enrollment token.
To get the enrollment token,delete the elasticsearch directory
and unzip the elasticsearch and try again run elasticsearch.bat
but the enrollment token was not displayed.
I'm assuming that the some install data is still remain in other directories.
Can someone tell me, where to delete the folder or files to get the enrollment token.
If you unzipped Elasticsearch to C:\path\to\Elasticsearch\ you would need to delete C:\path\to\Elasticsearch\data, which should show up once you start Elasticsearch and is where the indices it creates are stored.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.