{"id":210,"date":"2015-06-15T00:17:21","date_gmt":"2015-06-14T13:17:21","guid":{"rendered":"https:\/\/4it.com.au\/kb\/?post_type=article&#038;p=210"},"modified":"2022-11-14T20:05:43","modified_gmt":"2022-11-14T09:05:43","slug":"start-a-stopped-service-from-the-command-line","status":"publish","type":"article","link":"https:\/\/4it.com.au\/kb\/article\/start-a-stopped-service-from-the-command-line\/","title":{"rendered":"Start a Stopped Service from the Command Line"},"content":{"rendered":"<p>In this article we are going to look at how to Start a stopped windows service using the command line. \u00a0This article assumes that you don&#8217;t know the exact name of the service and will need to find that out first.<\/p>\n<h2>Step 1 &#8211; List Inactive Services<\/h2>\n<p>We will need to list all services which are currently not running on the server to find out the service name which we need to start. \u00a0This can be done from a command prompt using the sc query command. \u00a0Type in the following command:<\/p>\n<p><code>sc query type= service state= inactive<\/code><\/p>\n<p>A list of all the stopped services will be presented to you. \u00a0Make note of the <strong>Service Display Name<\/strong> of the service that you wish to start. \u00a0In this example the DISPLAY_NAME is &#8220;ScreenConnect Client (1913a3e3a609643d)&#8221;<\/p>\n<p><a href=\"https:\/\/4it.com.au\/kb\/wp-content\/uploads\/2015\/06\/Start-Inactive-Service.png\"><img class=\"aligncenter size-full wp-image-211\" data-original=\"https:\/\/4it.com.au\/kb\/wp-content\/uploads\/2015\/06\/Start-Inactive-Service.png\" alt=\"Start Inactive Service\" width=\"465\" height=\"160\" \/><\/a><\/p>\n<h2>Step 2 &#8211; Start the Service<\/h2>\n<p>Using our example type in the following command:<\/p>\n<p><code>net start \"ScreenConnect Client (1913a3e3a609643d)\"<\/code><\/p>\n<p>If the service name has spaces in it you will need to place it in quotation marks as above.<\/p>\n<p>&nbsp;<\/p>\n<div style='text-align:left' class='yasr-auto-insert-visitor'><\/div>","protected":false},"excerpt":{"rendered":"<p>In this article we are going to look at how to Start a stopped windows service using the command line. \u00a0This article assumes that you don&#8217;t know the exact name of the service and will need to find that out first. Step 1 &#8211; List Inactive Services We will need to list all services which [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","format":"standard","article-category":[9],"article-tag":[151,150],"class_list":["post-210","article","type-article","status-publish","format-standard","hentry","article-category-windows-commands","article-tag-start-inactive-service-command-line","article-tag-start-stopped-service-command-line"],"yasr_visitor_votes":{"stars_attributes":{"read_only":false,"span_bottom":false},"number_of_votes":2,"sum_votes":7},"_links":{"self":[{"href":"https:\/\/4it.com.au\/kb\/wp-json\/wp\/v2\/article\/210","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/4it.com.au\/kb\/wp-json\/wp\/v2\/article"}],"about":[{"href":"https:\/\/4it.com.au\/kb\/wp-json\/wp\/v2\/types\/article"}],"author":[{"embeddable":true,"href":"https:\/\/4it.com.au\/kb\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/4it.com.au\/kb\/wp-json\/wp\/v2\/comments?post=210"}],"version-history":[{"count":0,"href":"https:\/\/4it.com.au\/kb\/wp-json\/wp\/v2\/article\/210\/revisions"}],"wp:attachment":[{"href":"https:\/\/4it.com.au\/kb\/wp-json\/wp\/v2\/media?parent=210"}],"wp:term":[{"taxonomy":"article-category","embeddable":true,"href":"https:\/\/4it.com.au\/kb\/wp-json\/wp\/v2\/article-category?post=210"},{"taxonomy":"article-tag","embeddable":true,"href":"https:\/\/4it.com.au\/kb\/wp-json\/wp\/v2\/article-tag?post=210"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}