{"id":126,"date":"2023-12-23T12:56:10","date_gmt":"2023-12-23T12:56:10","guid":{"rendered":"https:\/\/arbrtech.com\/?p=126"},"modified":"2024-04-24T16:37:21","modified_gmt":"2024-04-24T15:37:21","slug":"adding-dependency-on-a-windows-service","status":"publish","type":"post","link":"https:\/\/arbrtech.com\/index.php\/2023\/12\/23\/adding-dependency-on-a-windows-service\/","title":{"rendered":"Dependency on a Windows service"},"content":{"rendered":"\n<p><strong>Dependency on one other service:<\/strong><\/p>\n\n\n\n<p>sc config ServiceA depend= ServiceB<\/p>\n\n\n\n<p>Above example means that ServiceA is dependend on ServiceB such ServiceA will not start until ServiceB has started. If you stop ServiceB, ServiceA will stop automatically.<\/p>\n\n\n\n<p><strong>Dependency on multiple other services:<\/strong><\/p>\n\n\n\n<p>sc config ServiceA depend= ServiceB\/ServiceC\/ServiceD\/&#8221;Service name with spaces&#8221;<\/p>\n\n\n\n<p>Above example means that ServiceA will not start until ServiceB, ServiceC, and ServiceD have all started. If any of ServiceB, ServiceC, or ServiceD has stopped, ServiceA will stop automatically.<\/p>\n\n\n\n<p><strong>To remove all dependencies:<\/strong><\/p>\n\n\n\n<p>sc config ServiceA depend= \/<\/p>\n\n\n\n<p><strong>To list current dependencies:<\/strong><\/p>\n\n\n\n<p>sc qc ServiceA<\/p>\n\n\n\n<p><a href=\"https:\/\/www.amazon.com\/Degrees-Parking-Monitor-Recording-Lightning\/dp\/B0CW9HNRHC?pd_rd_w=hr7TI&amp;content-id=amzn1.sym.309d45c5-3eba-4f62-9bb2-0acdcf0662e7&amp;pf_rd_p=309d45c5-3eba-4f62-9bb2-0acdcf0662e7&amp;pf_rd_r=TQN9J3AT430BRB2KF92A&amp;pd_rd_wg=Uh3zJ&amp;pd_rd_r=329fe5bf-676f-4d62-a9ba-fd65aefca71a&amp;pd_rd_i=B0CW9HNRHC&amp;psc=1&amp;linkCode=ll1&amp;tag=813011-20&amp;linkId=20828c0993f59954b39d63156e28dda6&amp;language=en_US&amp;ref_=as_li_ss_tl\" data-eafl-id=\"195\" data-eafl-parsed=\"1\" class=\"eafl-link eafl-link-text eafl-link-direct\" target=\"_blank\" rel=\"nofollow\">Dash Cam Front and Inside 1080P<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Dependency on one other service: sc config ServiceA depend= ServiceB Above example means that ServiceA is dependend on ServiceB such ServiceA will not start until ServiceB has started. If you stop ServiceB, ServiceA will stop automatically. Dependency on multiple other services: sc config ServiceA depend= ServiceB\/ServiceC\/ServiceD\/&#8221;Service name with spaces&#8221; Above example means that ServiceA will<\/p><\/div>\n<div class=\"blog-btn\"><a href=\"https:\/\/arbrtech.com\/index.php\/2023\/12\/23\/adding-dependency-on-a-windows-service\/\" class=\"home-blog-btn\">Read More<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-126","post","type-post","status-publish","format-standard","hentry","category-blog"],"aioseo_notices":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.4 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Dependency on a Windows service - One step forward<\/title>\n<meta name=\"description\" content=\"Discover the process of adding dependencies to a Windows service, empowering your system with enhanced functionality and reliability.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/arbrtech.com\/index.php\/2023\/12\/23\/adding-dependency-on-a-windows-service\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Dependency on a Windows service - One step forward\" \/>\n<meta property=\"og:description\" content=\"Discover the process of adding dependencies to a Windows service, empowering your system with enhanced functionality and reliability.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/arbrtech.com\/index.php\/2023\/12\/23\/adding-dependency-on-a-windows-service\/\" \/>\n<meta property=\"og:site_name\" content=\"One step forward\" \/>\n<meta property=\"article:published_time\" content=\"2023-12-23T12:56:10+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-04-24T15:37:21+00:00\" \/>\n<meta name=\"author\" content=\"arbrtech.com\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"arbrtech.com\" \/>\n\t<meta name=\"twitter:label2\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/arbrtech.com\/index.php\/2023\/12\/23\/adding-dependency-on-a-windows-service\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/arbrtech.com\/index.php\/2023\/12\/23\/adding-dependency-on-a-windows-service\/\"},\"author\":{\"name\":\"arbrtech.com\",\"@id\":\"https:\/\/arbrtech.com\/#\/schema\/person\/e77da1bbd9bc3ad82bd4c2e3364c47ca\"},\"headline\":\"Dependency on a Windows service\",\"datePublished\":\"2023-12-23T12:56:10+00:00\",\"dateModified\":\"2024-04-24T15:37:21+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/arbrtech.com\/index.php\/2023\/12\/23\/adding-dependency-on-a-windows-service\/\"},\"wordCount\":107,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/arbrtech.com\/#organization\"},\"articleSection\":[\"Blog\"],\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/arbrtech.com\/index.php\/2023\/12\/23\/adding-dependency-on-a-windows-service\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/arbrtech.com\/index.php\/2023\/12\/23\/adding-dependency-on-a-windows-service\/\",\"url\":\"https:\/\/arbrtech.com\/index.php\/2023\/12\/23\/adding-dependency-on-a-windows-service\/\",\"name\":\"Dependency on a Windows service - One step forward\",\"isPartOf\":{\"@id\":\"https:\/\/arbrtech.com\/#website\"},\"datePublished\":\"2023-12-23T12:56:10+00:00\",\"dateModified\":\"2024-04-24T15:37:21+00:00\",\"description\":\"Discover the process of adding dependencies to a Windows service, empowering your system with enhanced functionality and reliability.\",\"breadcrumb\":{\"@id\":\"https:\/\/arbrtech.com\/index.php\/2023\/12\/23\/adding-dependency-on-a-windows-service\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/arbrtech.com\/index.php\/2023\/12\/23\/adding-dependency-on-a-windows-service\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/arbrtech.com\/index.php\/2023\/12\/23\/adding-dependency-on-a-windows-service\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/arbrtech.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Dependency on a Windows service\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/arbrtech.com\/#website\",\"url\":\"https:\/\/arbrtech.com\/\",\"name\":\"One step forward\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/arbrtech.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/arbrtech.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/arbrtech.com\/#organization\",\"name\":\"One step forward\",\"url\":\"https:\/\/arbrtech.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/arbrtech.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/arbrtech.com\/wp-content\/uploads\/2024\/01\/cropped-arbartech-scaled-1.jpg\",\"contentUrl\":\"https:\/\/arbrtech.com\/wp-content\/uploads\/2024\/01\/cropped-arbartech-scaled-1.jpg\",\"width\":2248,\"height\":2294,\"caption\":\"One step forward\"},\"image\":{\"@id\":\"https:\/\/arbrtech.com\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/arbrtech.com\/#\/schema\/person\/e77da1bbd9bc3ad82bd4c2e3364c47ca\",\"name\":\"arbrtech.com\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/arbrtech.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/a95eb3604ab4ecdf2e1d81bc6b6d7ac1fbfa5132db271e043e5806d942f13f21?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/a95eb3604ab4ecdf2e1d81bc6b6d7ac1fbfa5132db271e043e5806d942f13f21?s=96&d=mm&r=g\",\"caption\":\"arbrtech.com\"},\"sameAs\":[\"http:\/\/arbrtech.com\"],\"url\":\"https:\/\/arbrtech.com\/index.php\/author\/arbrtech-com\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Dependency on a Windows service - One step forward","description":"Discover the process of adding dependencies to a Windows service, empowering your system with enhanced functionality and reliability.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/arbrtech.com\/index.php\/2023\/12\/23\/adding-dependency-on-a-windows-service\/","og_locale":"en_GB","og_type":"article","og_title":"Dependency on a Windows service - One step forward","og_description":"Discover the process of adding dependencies to a Windows service, empowering your system with enhanced functionality and reliability.","og_url":"https:\/\/arbrtech.com\/index.php\/2023\/12\/23\/adding-dependency-on-a-windows-service\/","og_site_name":"One step forward","article_published_time":"2023-12-23T12:56:10+00:00","article_modified_time":"2024-04-24T15:37:21+00:00","author":"arbrtech.com","twitter_card":"summary_large_image","twitter_misc":{"Written by":"arbrtech.com","Estimated reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/arbrtech.com\/index.php\/2023\/12\/23\/adding-dependency-on-a-windows-service\/#article","isPartOf":{"@id":"https:\/\/arbrtech.com\/index.php\/2023\/12\/23\/adding-dependency-on-a-windows-service\/"},"author":{"name":"arbrtech.com","@id":"https:\/\/arbrtech.com\/#\/schema\/person\/e77da1bbd9bc3ad82bd4c2e3364c47ca"},"headline":"Dependency on a Windows service","datePublished":"2023-12-23T12:56:10+00:00","dateModified":"2024-04-24T15:37:21+00:00","mainEntityOfPage":{"@id":"https:\/\/arbrtech.com\/index.php\/2023\/12\/23\/adding-dependency-on-a-windows-service\/"},"wordCount":107,"commentCount":0,"publisher":{"@id":"https:\/\/arbrtech.com\/#organization"},"articleSection":["Blog"],"inLanguage":"en-GB","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/arbrtech.com\/index.php\/2023\/12\/23\/adding-dependency-on-a-windows-service\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/arbrtech.com\/index.php\/2023\/12\/23\/adding-dependency-on-a-windows-service\/","url":"https:\/\/arbrtech.com\/index.php\/2023\/12\/23\/adding-dependency-on-a-windows-service\/","name":"Dependency on a Windows service - One step forward","isPartOf":{"@id":"https:\/\/arbrtech.com\/#website"},"datePublished":"2023-12-23T12:56:10+00:00","dateModified":"2024-04-24T15:37:21+00:00","description":"Discover the process of adding dependencies to a Windows service, empowering your system with enhanced functionality and reliability.","breadcrumb":{"@id":"https:\/\/arbrtech.com\/index.php\/2023\/12\/23\/adding-dependency-on-a-windows-service\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/arbrtech.com\/index.php\/2023\/12\/23\/adding-dependency-on-a-windows-service\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/arbrtech.com\/index.php\/2023\/12\/23\/adding-dependency-on-a-windows-service\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/arbrtech.com\/"},{"@type":"ListItem","position":2,"name":"Dependency on a Windows service"}]},{"@type":"WebSite","@id":"https:\/\/arbrtech.com\/#website","url":"https:\/\/arbrtech.com\/","name":"One step forward","description":"","publisher":{"@id":"https:\/\/arbrtech.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/arbrtech.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":"Organization","@id":"https:\/\/arbrtech.com\/#organization","name":"One step forward","url":"https:\/\/arbrtech.com\/","logo":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/arbrtech.com\/#\/schema\/logo\/image\/","url":"https:\/\/arbrtech.com\/wp-content\/uploads\/2024\/01\/cropped-arbartech-scaled-1.jpg","contentUrl":"https:\/\/arbrtech.com\/wp-content\/uploads\/2024\/01\/cropped-arbartech-scaled-1.jpg","width":2248,"height":2294,"caption":"One step forward"},"image":{"@id":"https:\/\/arbrtech.com\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/arbrtech.com\/#\/schema\/person\/e77da1bbd9bc3ad82bd4c2e3364c47ca","name":"arbrtech.com","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/arbrtech.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/a95eb3604ab4ecdf2e1d81bc6b6d7ac1fbfa5132db271e043e5806d942f13f21?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/a95eb3604ab4ecdf2e1d81bc6b6d7ac1fbfa5132db271e043e5806d942f13f21?s=96&d=mm&r=g","caption":"arbrtech.com"},"sameAs":["http:\/\/arbrtech.com"],"url":"https:\/\/arbrtech.com\/index.php\/author\/arbrtech-com\/"}]}},"_links":{"self":[{"href":"https:\/\/arbrtech.com\/index.php\/wp-json\/wp\/v2\/posts\/126","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/arbrtech.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/arbrtech.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/arbrtech.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/arbrtech.com\/index.php\/wp-json\/wp\/v2\/comments?post=126"}],"version-history":[{"count":6,"href":"https:\/\/arbrtech.com\/index.php\/wp-json\/wp\/v2\/posts\/126\/revisions"}],"predecessor-version":[{"id":226,"href":"https:\/\/arbrtech.com\/index.php\/wp-json\/wp\/v2\/posts\/126\/revisions\/226"}],"wp:attachment":[{"href":"https:\/\/arbrtech.com\/index.php\/wp-json\/wp\/v2\/media?parent=126"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/arbrtech.com\/index.php\/wp-json\/wp\/v2\/categories?post=126"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/arbrtech.com\/index.php\/wp-json\/wp\/v2\/tags?post=126"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}