This is correct, you have to set it when you install the service. Sorry to disappoint you in that regard, but it's a limitation of the underlying technology used to run Elasticsearch as a service on Windows.

---