I have been trying to install Elasticsearch using the msi version:
But I have been encountering problems with setting up the passwords using the bin\Elasticsearch-setup-passwords interactive. It's returning this error:
Unexpected response code  from calling GET http://127.0.0.1:9200/_security/_authenticate?pretty It doesn't look like the X-Pack security feature is enabled on this Elasticsearch node. Please check if you have enabled X-Pack security in your elasticsearch.yml configuration file. ERROR: X-Pack Security is disabled by configuration.
After some research, it seemed as though there's some problem with my Elasticsearch.yml file, but I simply cannot find the config file. I didn't change its path during the msi installation process (and frankly I forgot if it was installed in a different folder by default). I wanna try uninstalling Elasticsearch and re-install it but this time make sure of the config folder's location, but it cannot be uninstalled since Elasticsearch is running as a service. I tried to remove the service but there is no Elasticsearch-service.bat file in my bin folder.
Is there a way to locate my config file or uninstall the service?