{"id":2902,"date":"2017-10-23T00:41:21","date_gmt":"2017-10-23T00:41:21","guid":{"rendered":"http:\/\/pariswells.com\/blog\/?p=2902"},"modified":"2017-10-23T00:41:21","modified_gmt":"2017-10-23T00:41:21","slug":"how-to-run-exe-as-a-service-in-windows","status":"publish","type":"post","link":"https:\/\/pariswells.com\/blog\/research\/how-to-run-exe-as-a-service-in-windows","title":{"rendered":"How to run .exe as a service in Windows"},"content":{"rendered":"<p>There is a tool already in windows which can be used per below<\/p><p>sc.exe create &#8220;service name&#8221; binpath= &#8220;path\\to\\.exe&#8221; start= auto<\/p><p>However, only programs designed to implement ServiceMain can be run as a service with sc.exe. You might get\u00a01053 Errors when creating services with above , if so you&#8217;ll need something like<\/p><p><strong>Free<\/strong><\/p><ul><li>https:\/\/nssm.cc\/<\/li><\/ul><p><strong>Paid For\u00a0<\/strong><\/p><ul><li>FireDaemon<\/li><li>AlwaysUp<\/li><\/ul><p>to run any arbitrary .exe as a service.<\/p>","protected":false},"excerpt":{"rendered":"<p>There is a tool already in windows which can be used per belowsc.exe create &#8220;service name&#8221; binpath= &#8220;path\\to\\.exe&#8221; start= autoHowever, only programs designed to implement ServiceMain can [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[2177,2173,1344,1042,2172,2174,2175,2176,1385],"class_list":["post-2902","post","type-post","status-publish","format-standard","hentry","category-research","tag-2177","tag-alwaysup","tag-error","tag-exe","tag-firedaemon","tag-nssm-cc","tag-process","tag-sc-exe","tag-service"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.9 - aioseo.com -->\n\t<meta name=\"description\" content=\"There is a tool already in windows which can be used per belowsc.exe create &quot;service name&quot; binpath= &quot;path\\to\\.exe&quot; start= autoHowever, only programs designed to implement ServiceMain can be run as a service with sc.exe. You might get 1053 Errors when creating services with above , if so you&#039;ll need something likeFreehttps:\/\/nssm.cc\/Paid For FireDaemonAlwaysUpto run any arbitrary .exe\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"paris\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/pariswells.com\/blog\/research\/how-to-run-exe-as-a-service-in-windows\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.9\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Welcome to Pariswells.com |\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"How to run .exe as a service in Windows | Welcome to Pariswells.com\" \/>\n\t\t<meta property=\"og:description\" content=\"There is a tool already in windows which can be used per belowsc.exe create &quot;service name&quot; binpath= &quot;path\\to\\.exe&quot; start= autoHowever, only programs designed to implement ServiceMain can be run as a service with sc.exe. You might get 1053 Errors when creating services with above , if so you&#039;ll need something likeFreehttps:\/\/nssm.cc\/Paid For FireDaemonAlwaysUpto run any arbitrary .exe\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/pariswells.com\/blog\/research\/how-to-run-exe-as-a-service-in-windows\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2017-10-23T00:41:21+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2017-10-23T00:41:21+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"How to run .exe as a service in Windows | Welcome to Pariswells.com\" \/>\n\t\t<meta name=\"twitter:description\" content=\"There is a tool already in windows which can be used per belowsc.exe create &quot;service name&quot; binpath= &quot;path\\to\\.exe&quot; start= autoHowever, only programs designed to implement ServiceMain can be run as a service with sc.exe. You might get 1053 Errors when creating services with above , if so you&#039;ll need something likeFreehttps:\/\/nssm.cc\/Paid For FireDaemonAlwaysUpto run any arbitrary .exe\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/research\\\/how-to-run-exe-as-a-service-in-windows#article\",\"name\":\"How to run .exe as a service in Windows | Welcome to Pariswells.com\",\"headline\":\"How to run .exe as a service in Windows\",\"author\":{\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/author\\\/paris#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/#organization\"},\"datePublished\":\"2017-10-23T00:41:21+00:00\",\"dateModified\":\"2017-10-23T00:41:21+00:00\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/research\\\/how-to-run-exe-as-a-service-in-windows#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/research\\\/how-to-run-exe-as-a-service-in-windows#webpage\"},\"articleSection\":\"Research, 1053, AlwaysUp, error, exe, FireDaemon, nssm.cc, process, sc.exe, Service\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/research\\\/how-to-run-exe-as-a-service-in-windows#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/pariswells.com\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/category\\\/research#listItem\",\"name\":\"Research\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/category\\\/research#listItem\",\"position\":2,\"name\":\"Research\",\"item\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/category\\\/research\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/research\\\/how-to-run-exe-as-a-service-in-windows#listItem\",\"name\":\"How to run .exe as a service in Windows\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/research\\\/how-to-run-exe-as-a-service-in-windows#listItem\",\"position\":3,\"name\":\"How to run .exe as a service in Windows\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/category\\\/research#listItem\",\"name\":\"Research\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/#organization\",\"name\":\"Welcome to Pariswells.com\",\"url\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/author\\\/paris#author\",\"url\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/author\\\/paris\",\"name\":\"paris\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/research\\\/how-to-run-exe-as-a-service-in-windows#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/93b8ee3f592ac401167f870452bd82d43de80152cd3524e2853403658ada9984?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"paris\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/research\\\/how-to-run-exe-as-a-service-in-windows#webpage\",\"url\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/research\\\/how-to-run-exe-as-a-service-in-windows\",\"name\":\"How to run .exe as a service in Windows | Welcome to Pariswells.com\",\"description\":\"There is a tool already in windows which can be used per belowsc.exe create \\\"service name\\\" binpath= \\\"path\\\\to\\\\.exe\\\" start= autoHowever, only programs designed to implement ServiceMain can be run as a service with sc.exe. You might get 1053 Errors when creating services with above , if so you'll need something likeFreehttps:\\\/\\\/nssm.cc\\\/Paid For FireDaemonAlwaysUpto run any arbitrary .exe\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/research\\\/how-to-run-exe-as-a-service-in-windows#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/author\\\/paris#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/author\\\/paris#author\"},\"datePublished\":\"2017-10-23T00:41:21+00:00\",\"dateModified\":\"2017-10-23T00:41:21+00:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/\",\"name\":\"Welcome to Pariswells.com\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/pariswells.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"How to run .exe as a service in Windows | Welcome to Pariswells.com","description":"There is a tool already in windows which can be used per belowsc.exe create \"service name\" binpath= \"path\\to\\.exe\" start= autoHowever, only programs designed to implement ServiceMain can be run as a service with sc.exe. You might get 1053 Errors when creating services with above , if so you'll need something likeFreehttps:\/\/nssm.cc\/Paid For FireDaemonAlwaysUpto run any arbitrary .exe","canonical_url":"https:\/\/pariswells.com\/blog\/research\/how-to-run-exe-as-a-service-in-windows","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/pariswells.com\/blog\/research\/how-to-run-exe-as-a-service-in-windows#article","name":"How to run .exe as a service in Windows | Welcome to Pariswells.com","headline":"How to run .exe as a service in Windows","author":{"@id":"https:\/\/pariswells.com\/blog\/author\/paris#author"},"publisher":{"@id":"https:\/\/pariswells.com\/blog\/#organization"},"datePublished":"2017-10-23T00:41:21+00:00","dateModified":"2017-10-23T00:41:21+00:00","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/pariswells.com\/blog\/research\/how-to-run-exe-as-a-service-in-windows#webpage"},"isPartOf":{"@id":"https:\/\/pariswells.com\/blog\/research\/how-to-run-exe-as-a-service-in-windows#webpage"},"articleSection":"Research, 1053, AlwaysUp, error, exe, FireDaemon, nssm.cc, process, sc.exe, Service"},{"@type":"BreadcrumbList","@id":"https:\/\/pariswells.com\/blog\/research\/how-to-run-exe-as-a-service-in-windows#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/pariswells.com\/blog#listItem","position":1,"name":"Home","item":"https:\/\/pariswells.com\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/pariswells.com\/blog\/category\/research#listItem","name":"Research"}},{"@type":"ListItem","@id":"https:\/\/pariswells.com\/blog\/category\/research#listItem","position":2,"name":"Research","item":"https:\/\/pariswells.com\/blog\/category\/research","nextItem":{"@type":"ListItem","@id":"https:\/\/pariswells.com\/blog\/research\/how-to-run-exe-as-a-service-in-windows#listItem","name":"How to run .exe as a service in Windows"},"previousItem":{"@type":"ListItem","@id":"https:\/\/pariswells.com\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/pariswells.com\/blog\/research\/how-to-run-exe-as-a-service-in-windows#listItem","position":3,"name":"How to run .exe as a service in Windows","previousItem":{"@type":"ListItem","@id":"https:\/\/pariswells.com\/blog\/category\/research#listItem","name":"Research"}}]},{"@type":"Organization","@id":"https:\/\/pariswells.com\/blog\/#organization","name":"Welcome to Pariswells.com","url":"https:\/\/pariswells.com\/blog\/"},{"@type":"Person","@id":"https:\/\/pariswells.com\/blog\/author\/paris#author","url":"https:\/\/pariswells.com\/blog\/author\/paris","name":"paris","image":{"@type":"ImageObject","@id":"https:\/\/pariswells.com\/blog\/research\/how-to-run-exe-as-a-service-in-windows#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/93b8ee3f592ac401167f870452bd82d43de80152cd3524e2853403658ada9984?s=96&d=mm&r=g","width":96,"height":96,"caption":"paris"}},{"@type":"WebPage","@id":"https:\/\/pariswells.com\/blog\/research\/how-to-run-exe-as-a-service-in-windows#webpage","url":"https:\/\/pariswells.com\/blog\/research\/how-to-run-exe-as-a-service-in-windows","name":"How to run .exe as a service in Windows | Welcome to Pariswells.com","description":"There is a tool already in windows which can be used per belowsc.exe create \"service name\" binpath= \"path\\to\\.exe\" start= autoHowever, only programs designed to implement ServiceMain can be run as a service with sc.exe. You might get 1053 Errors when creating services with above , if so you'll need something likeFreehttps:\/\/nssm.cc\/Paid For FireDaemonAlwaysUpto run any arbitrary .exe","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/pariswells.com\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/pariswells.com\/blog\/research\/how-to-run-exe-as-a-service-in-windows#breadcrumblist"},"author":{"@id":"https:\/\/pariswells.com\/blog\/author\/paris#author"},"creator":{"@id":"https:\/\/pariswells.com\/blog\/author\/paris#author"},"datePublished":"2017-10-23T00:41:21+00:00","dateModified":"2017-10-23T00:41:21+00:00"},{"@type":"WebSite","@id":"https:\/\/pariswells.com\/blog\/#website","url":"https:\/\/pariswells.com\/blog\/","name":"Welcome to Pariswells.com","inLanguage":"en-US","publisher":{"@id":"https:\/\/pariswells.com\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"Welcome to Pariswells.com |","og:type":"article","og:title":"How to run .exe as a service in Windows | Welcome to Pariswells.com","og:description":"There is a tool already in windows which can be used per belowsc.exe create &quot;service name&quot; binpath= &quot;path\\to\\.exe&quot; start= autoHowever, only programs designed to implement ServiceMain can be run as a service with sc.exe. You might get 1053 Errors when creating services with above , if so you'll need something likeFreehttps:\/\/nssm.cc\/Paid For FireDaemonAlwaysUpto run any arbitrary .exe","og:url":"https:\/\/pariswells.com\/blog\/research\/how-to-run-exe-as-a-service-in-windows","article:published_time":"2017-10-23T00:41:21+00:00","article:modified_time":"2017-10-23T00:41:21+00:00","twitter:card":"summary","twitter:title":"How to run .exe as a service in Windows | Welcome to Pariswells.com","twitter:description":"There is a tool already in windows which can be used per belowsc.exe create &quot;service name&quot; binpath= &quot;path\\to\\.exe&quot; start= autoHowever, only programs designed to implement ServiceMain can be run as a service with sc.exe. You might get 1053 Errors when creating services with above , if so you'll need something likeFreehttps:\/\/nssm.cc\/Paid For FireDaemonAlwaysUpto run any arbitrary .exe"},"aioseo_meta_data":{"post_id":"2902","title":null,"description":null,"keywords":null,"keyphrases":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"location":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2020-12-21 05:39:33","updated":"2022-09-20 04:32:30","primary_term":null,"seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/pariswells.com\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/pariswells.com\/blog\/category\/research\" title=\"Research\">Research<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tHow to run .exe as a service in Windows\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/pariswells.com\/blog"},{"label":"Research","link":"https:\/\/pariswells.com\/blog\/category\/research"},{"label":"How to run .exe as a service in Windows","link":"https:\/\/pariswells.com\/blog\/research\/how-to-run-exe-as-a-service-in-windows"}],"_links":{"self":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/2902","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/comments?post=2902"}],"version-history":[{"count":1,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/2902\/revisions"}],"predecessor-version":[{"id":2903,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/2902\/revisions\/2903"}],"wp:attachment":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/media?parent=2902"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/categories?post=2902"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/tags?post=2902"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}