# Unable to Start Elastic Search from Windows Service : Using MSI

**URL:** <https://discuss.elastic.co/t/unable-to-start-elastic-search-from-windows-service-using-msi/293752>\
**Category:** Elasticsearch\
**Tags:** windows-installer\
**Created:** [January 7, 2022, 2:37pm UTC](https://discuss.elastic.co/t/unable-to-start-elastic-search-from-windows-service-using-msi/293752 "2022-01-07T14:37:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dkris1](https://avatars.discourse-cdn.com/v4/letter/d/bc79bd/32.png) [@dkris1](https://discuss.elastic.co/u/dkris1)\
**Post date:** [January 7, 2022, 2:37pm UTC](https://discuss.elastic.co/t/unable-to-start-elastic-search-from-windows-service-using-msi/293752/1 "2022-01-07T14:37:57Z")

</div>

Hi All, Unable to start windows Elasticsearch service. Event viewer shows below. Using Version 7.16.1

Service cannot be started. Elastic.ProcessHosts.Process.StartupException: Could not evaluate jvm.options file. result: Exception in thread "main" java.lang.RuntimeException: starting java failed with [1]  
output:  
error:  
Unrecognized VM option 'UseConcMarkSweepGC'  
Error: Could not create the Java Virtual Machine.  
Error: A fatal exception has occurred. Program will exit.  
at org.Elasticsearch.tools.launchers.JvmOption.flagsFinal(JvmOption.java:119)  
at org.Elasticsearch.tools.launchers.JvmOption.findFinalOptions(JvmOption.java:81)  
at org.Elasticsearch.tools.launchers.JvmErgonomics.choose(JvmErgonomics.java:38)  
at org.Elasticsearch.tools.launchers.JvmOptionsParser.jvmOptions(JvmOptionsParser.java:135)  
at org.Elasticsearch.tools.launchers.JvmOptionsParser.main(JvmOptionsParser.java:86)

at Elastic.ProcessHosts.Elasticsearch.Process.ElasticsearchProcess.CreateObservableProcessArguments(IEnumerable`1 args)  
at Elastic.ProcessHosts.Elasticsearch.Process.ElasticsearchProcess..ctor(IObservableProcess process, IConsoleOutH...

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [February 4, 2022, 2:38pm UTC](https://discuss.elastic.co/t/unable-to-start-elastic-search-from-windows-service-using-msi/293752/2 "2022-02-04T14:38:11Z")

</div>

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