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.