Unable to start elasticsearch on windows "The system cannot find the path specified."


Use case : I have to perform an upgrade activity in production environment.
Upgrade from 7.7.1 version to 7.15.0 on windows 2016 64 bit OS.

Before performing I am doing a testing in a lower environment.
Where I have downloaded the zip file of easticsearch 7.7.1. But the problem is When I am trying to run Elasticsearch it gives me the below error.

The system cannot find the path specified.

The system cannot find the path specified.

The system cannot find the path specified.

Below is the java version.

C:\ELK\Elasticsearch-7.7.1-windows-x86_64>java -version
java version "11.0.13" 2021-10-19 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.13+10-LTS-370)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.13+10-LTS-370, mixed mode)

Below are the Elasticsearch.yml file

cluster.name: poc
node.name: node1
#node.master: true
#node.data: true
#node.ingest: true
#path.data: /path/to/data
#path.logs: /path/to/logs

#bootstrap.memory_lock: true

network.host: 172.****
http.port: 9200
#network.tcp.keep_alive: true

discovery.seed_hosts: ["172.****"]
cluster.initial_master_nodes: ["172.****"]

Kindly help,

Hi @tahseen_fatima,

can you try switching your slashes to forward?


Or go directly to the bin folder and just type Elasticsearch.bat

Make sure you are in Admin window

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