<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>KB-1751 Cannot run program "wmic" error when starting Service Manager</title><link>https://community.appian.com/support/w/kb/1155/kb-1751-cannot-run-program-wmic-error-when-starting-service-manager</link><description /><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>KB-1751 Cannot run program "wmic" error when starting Service Manager</title><link>https://community.appian.com/support/w/kb/1155/kb-1751-cannot-run-program-wmic-error-when-starting-service-manager</link><pubDate>Mon, 15 Oct 2018 19:48:53 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:8b4e8752-b22d-460c-9b99-a70b02a17d95</guid><dc:creator>Parmida Borhani</dc:creator><comments>https://community.appian.com/support/w/kb/1155/kb-1751-cannot-run-program-wmic-error-when-starting-service-manager#comments</comments><description>Current Revision posted to Appian Knowledge Base by Parmida Borhani on 10/15/2018 7:48:53 PM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;When executing a Service Manager script in the&amp;nbsp;&lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/services/bin&lt;/code&gt;&amp;nbsp;directory, the following error is returned:&lt;/p&gt;
&lt;pre&gt;Exception thrown while attempting to retrieve process info for java process with main Class name QuorumPeerMain. java.io.IOException: Cannot run program &amp;quot;wmic&amp;quot;: CreateProcess error=2, The system cannot find the file specified&lt;br /&gt;...&lt;br /&gt;Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified &lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;This error is returned when the &lt;code&gt;PATH&lt;/code&gt;&amp;nbsp;system variable is missing &lt;code&gt;C:\windows\System32\wbem.&lt;/code&gt;&lt;/p&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;p&gt;Follow the&amp;nbsp;&lt;a href="https://docs.appian.com/suite/help/latest/Prerequisites.html#set-the-java_home-and-path-environment-variables" target="_blank"&gt;Appian documentation&lt;/a&gt;&amp;nbsp;on setting up the&amp;nbsp;&lt;code&gt;JAVA_HOME&lt;/code&gt;&amp;nbsp;and&amp;nbsp;&lt;code&gt;PATH&lt;/code&gt;&amp;nbsp;variables to append&amp;nbsp;&lt;code&gt;;C:\windows\System32\wbem&lt;/code&gt;&amp;nbsp;to the end of the Variable value field.&lt;/p&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to Appian 17.2 and later using Windows.&lt;/p&gt;
&lt;p&gt;Last Reviewed: October 2018&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: java, installation, windows, infrastructure, service manager&lt;/div&gt;
</description></item><item><title>DRAFT KB-XXXX Cannot run program "wmic" error when starting Service Manager</title><link>https://community.appian.com/support/w/kb/1155/kb-1751-cannot-run-program-wmic-error-when-starting-service-manager/revision/5</link><pubDate>Thu, 04 Oct 2018 09:08:15 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:8b4e8752-b22d-460c-9b99-a70b02a17d95</guid><dc:creator>Miguel Parrado</dc:creator><comments>https://community.appian.com/support/w/kb/1155/kb-1751-cannot-run-program-wmic-error-when-starting-service-manager#comments</comments><description>Revision 5 posted to Appian Knowledge Base by Miguel Parrado on 10/4/2018 9:08:15 AM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;When executing a Service Manager script in the&amp;nbsp;&lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/services/bin&lt;/code&gt;&amp;nbsp;directory, the following error is returned:&lt;/p&gt;
&lt;pre&gt;Exception thrown while attempting to retrieve process info for java process with main Class name QuorumPeerMain. java.io.IOException: Cannot run program &amp;quot;wmic&amp;quot;: CreateProcess error=2, The system cannot find the file specified&lt;br /&gt;...&lt;br /&gt;Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified &lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;This error is returned when the &lt;code&gt;PATH&lt;/code&gt;&amp;nbsp;system variable is missing &lt;code&gt;C:\windows\System32\wbem.&lt;/code&gt;&lt;/p&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;p&gt;Follow the&amp;nbsp;&lt;a href="https://docs.appian.com/suite/help/latest/Prerequisites.html#set-the-java_home-and-path-environment-variables" target="_blank"&gt;Appian documentation&lt;/a&gt;&amp;nbsp;on setting up the&amp;nbsp;&lt;code&gt;JAVA_HOME&lt;/code&gt;&amp;nbsp;and&amp;nbsp;&lt;code&gt;PATH&lt;/code&gt;&amp;nbsp;variables to append&amp;nbsp;&lt;code&gt;;C:\windows\System32\wbem&lt;/code&gt;&amp;nbsp;to the end of the Variable value field.&lt;/p&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to Appian 17.2 and later.&lt;/p&gt;
&lt;p&gt;Last Reviewed: September 2018&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: java, installation, infrastructure, service manager&lt;/div&gt;
</description></item><item><title>DRAFT KB-XXXX Cannot run program "wmic" error when starting Service Manager</title><link>https://community.appian.com/support/w/kb/1155/kb-1751-cannot-run-program-wmic-error-when-starting-service-manager/revision/4</link><pubDate>Wed, 03 Oct 2018 09:02:47 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:8b4e8752-b22d-460c-9b99-a70b02a17d95</guid><dc:creator>Miguel Parrado</dc:creator><comments>https://community.appian.com/support/w/kb/1155/kb-1751-cannot-run-program-wmic-error-when-starting-service-manager#comments</comments><description>Revision 4 posted to Appian Knowledge Base by Miguel Parrado on 10/3/2018 9:02:47 AM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;When executing a Service Manager script in the&amp;nbsp;&lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/services/bin&lt;/code&gt;&amp;nbsp;directory, the following error is returned:&lt;/p&gt;
&lt;pre&gt;Exception thrown while attempting to retrieve process info for java process with main Class name QuorumPeerMain. java.io.IOException: Cannot run program &amp;quot;wmic&amp;quot;: CreateProcess error=2, The system cannot find the file specified&lt;br /&gt;...&lt;br /&gt;Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified &lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;This error is returned when the &lt;code&gt;PATH&lt;/code&gt;&amp;nbsp;system variable is missing &lt;code&gt;C:\windows\System32\wbem&lt;/code&gt;&lt;/p&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;p&gt;Follow the&amp;nbsp;&lt;a href="https://docs.appian.com/suite/help/latest/Prerequisites.html#set-the-java_home-and-path-environment-variables" target="_blank"&gt;Appian documentation&lt;/a&gt;&amp;nbsp;on setting up the&amp;nbsp;&lt;code&gt;JAVA_HOME&lt;/code&gt;&amp;nbsp;and&amp;nbsp;&lt;code&gt;PATH&lt;/code&gt;&amp;nbsp;variables to append&amp;nbsp;&lt;code&gt;;C:\windows\System32\wbem&lt;/code&gt;&amp;nbsp;to the end of the Variable value field.&lt;/p&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to Appian 17.2 and later.&lt;/p&gt;
&lt;p&gt;Last Reviewed: September 2018&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: java, installation, infrastructure, service manager&lt;/div&gt;
</description></item><item><title>DRAFT KB-XXXX Cannot run program "wmic" error when starting Service Manager</title><link>https://community.appian.com/support/w/kb/1155/kb-1751-cannot-run-program-wmic-error-when-starting-service-manager/revision/3</link><pubDate>Wed, 03 Oct 2018 00:12:28 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:8b4e8752-b22d-460c-9b99-a70b02a17d95</guid><dc:creator>Parmida Borhani</dc:creator><comments>https://community.appian.com/support/w/kb/1155/kb-1751-cannot-run-program-wmic-error-when-starting-service-manager#comments</comments><description>Revision 3 posted to Appian Knowledge Base by Parmida Borhani on 10/3/2018 12:12:28 AM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;When executing a Service Manager script in the&amp;nbsp;&lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/services/bin&lt;/code&gt;&amp;nbsp;directory, the following error is returned:&lt;/p&gt;
&lt;pre&gt;Exception thrown while attempting to retrieve process info for java process with main Class name QuorumPeerMain. java.io.IOException: Cannot run program &amp;quot;wmic&amp;quot;: CreateProcess error=2, The system cannot find the file specified&lt;br /&gt;...&lt;br /&gt;Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified &lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;This error is returned when the &lt;code&gt;&lt;span style="font-family:monospace;"&gt;PATH&lt;/span&gt;&lt;/code&gt;&amp;nbsp;system variable is missing &lt;code&gt;C:\windows\System32\wbem&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;To check the &lt;span style="font-family:monospace;"&gt;PATH&lt;/span&gt;&amp;nbsp;variable:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;In Windows, right click My Computer and select Properties. On the Advanced tab, select Environment Variables, and edit&amp;nbsp;PATH to view the path set.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;p&gt;To resolve the issue, append &lt;code&gt;;C:\windows\System32\wbem&lt;/code&gt; to the end of the Variable value field. To reach your System Variables follow the&amp;nbsp;&lt;a href="https://docs.appian.com/suite/help/latest/Prerequisites.html#set-the-java_home-and-path-environment-variables" target="_blank"&gt;Appian documentation&lt;/a&gt;&amp;nbsp;on setting up the&amp;nbsp;&lt;code&gt;JAVA_HOME&lt;/code&gt;&amp;nbsp;and&amp;nbsp;&lt;code&gt;PATH&lt;/code&gt;&amp;nbsp;variables to point to the JDK.&lt;/p&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to Appian 17.2 and later.&lt;/p&gt;
&lt;p&gt;Last Reviewed: September 2018&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: java, installation, infrastructure, service manager&lt;/div&gt;
</description></item><item><title>DRAFT KB-XXXX Cannot run program "wmic" error when starting Service Manager</title><link>https://community.appian.com/support/w/kb/1155/kb-1751-cannot-run-program-wmic-error-when-starting-service-manager/revision/2</link><pubDate>Thu, 27 Sep 2018 08:54:58 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:8b4e8752-b22d-460c-9b99-a70b02a17d95</guid><dc:creator>Miguel Parrado</dc:creator><comments>https://community.appian.com/support/w/kb/1155/kb-1751-cannot-run-program-wmic-error-when-starting-service-manager#comments</comments><description>Revision 2 posted to Appian Knowledge Base by Miguel Parrado on 9/27/2018 8:54:58 AM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;When executing a Service Manager script in the&amp;nbsp;&lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/services/bin&lt;/code&gt;&amp;nbsp;directory, the following error is returned:&lt;/p&gt;
&lt;pre&gt;Exception thrown while attempting to retrieve process info for java process with main Class name QuorumPeerMain. java.io.IOException: Cannot run program &amp;quot;wmic&amp;quot;: CreateProcess error=2, The system cannot find the file specified&lt;br /&gt;...&lt;br /&gt;Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified &lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;This error is returned when the &lt;code&gt;&lt;span style="font-family:monospace;"&gt;PATH&lt;/span&gt;&lt;/code&gt;&amp;nbsp;system variable is missing &lt;code&gt;C:\windows\System32\wbem&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;To check the &lt;span style="font-family:monospace;"&gt;PATH&lt;/span&gt;&amp;nbsp;variable:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;In Windows, right click My Computer and select Properties. On the Advanced tab, select Environment Variables, and edit&amp;nbsp;PATH to view the path set.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;p&gt;To resolve the issue, append &lt;code&gt;;C:\windows\System32\wbem&lt;/code&gt; to the end of the Variable value field. To reach your System Variables follow the&amp;nbsp;&lt;a href="https://docs.appian.com/suite/help/latest/Prerequisites.html#set-the-java_home-and-path-environment-variables" target="_blank"&gt;Appian documentation&lt;/a&gt;&amp;nbsp;on setting up the&amp;nbsp;&lt;code&gt;JAVA_HOME&lt;/code&gt;&amp;nbsp;and&amp;nbsp;&lt;code&gt;PATH&lt;/code&gt;&amp;nbsp;variables to point to the JDK.&lt;/p&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to Appian 17.2 and later.&lt;/p&gt;
&lt;p&gt;Last Reviewed: September 2018&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: infrastructure, service manager&lt;/div&gt;
</description></item><item><title>DRAFT KB-XXXX Cannot run program "wmic" error when starting Service Manager</title><link>https://community.appian.com/support/w/kb/1155/kb-1751-cannot-run-program-wmic-error-when-starting-service-manager/revision/1</link><pubDate>Wed, 26 Sep 2018 21:47:25 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:8b4e8752-b22d-460c-9b99-a70b02a17d95</guid><dc:creator>Miguel Parrado</dc:creator><comments>https://community.appian.com/support/w/kb/1155/kb-1751-cannot-run-program-wmic-error-when-starting-service-manager#comments</comments><description>Revision 1 posted to Appian Knowledge Base by Miguel Parrado on 9/26/2018 9:47:25 PM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;When executing a Service Manager script in the&amp;nbsp;&lt;code&gt;&amp;lt;APPIAN_HOME&amp;gt;/services/bin&lt;/code&gt;&amp;nbsp;directory, the following error is returned:&lt;/p&gt;
&lt;pre&gt;Exception thrown while attempting to retrieve process info for java process with main Class name QuorumPeerMain. java.io.IOException: Cannot run program &amp;quot;jps&amp;quot;: error=2, No such file or directory&lt;br /&gt;...&lt;br /&gt;Caused by: java.io.IOException: error=2, No such file or directory&lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;This error is returned when the &lt;code&gt;&lt;span style="font-family:monospace;"&gt;PATH&lt;/span&gt;&lt;/code&gt;&amp;nbsp;system variable is missing &lt;code&gt;C:\windows\System32\wbem&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;To check the &lt;span style="font-family:monospace;"&gt;PATH&lt;/span&gt;&amp;nbsp;variable:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;In Windows, right click My Computer and select Properties. On the Advanced tab, select Environment Variables, and edit&amp;nbsp;PATH to view the path set.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;p&gt;To resolve the issue, append &lt;code&gt;;C:\windows\System32\wbem&lt;/code&gt; to the end of the Variable value field. To reach your System Variables follow the&amp;nbsp;&lt;a href="https://docs.appian.com/suite/help/latest/Prerequisites.html#set-the-java_home-and-path-environment-variables" target="_blank"&gt;Appian documentation&lt;/a&gt;&amp;nbsp;on setting up the&amp;nbsp;&lt;code&gt;JAVA_HOME&lt;/code&gt;&amp;nbsp;and&amp;nbsp;&lt;code&gt;PATH&lt;/code&gt;&amp;nbsp;variables to point to the JDK.&lt;/p&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to Appian 17.2 and later.&lt;/p&gt;
&lt;p&gt;Last Reviewed: September 2018&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: infrastructure, service manager&lt;/div&gt;
</description></item></channel></rss>