Elasticsearch is still finding some data in its data path. Either the new data path D:\ELKData isn't empty, or else you've not correctly set path.data to point to this new path. Perhaps you are editing a different elasticsearch.yml from the one that Elasticsearch is actually using for its config?