{"id":3171,"date":"2015-07-02T17:00:00","date_gmt":"2015-07-02T15:00:00","guid":{"rendered":"http:\/\/www.razumny.no\/?p=3171"},"modified":"2020-11-26T08:58:45","modified_gmt":"2020-11-26T07:58:45","slug":"tbt-creating-a-shortcut-to-start-a-service","status":"publish","type":"post","link":"https:\/\/www.razumny.no\/?p=3171","title":{"rendered":"TBT: Creating a shortcut to start a service"},"content":{"rendered":"<p><em>This post originally ran in October 2008. I am reposting it now, as part of my throwback thursday project, to\u00a0give some of my older quality posts some love. Though the post references Windows XP; the command works in later versions, too.<\/em><\/p>\n<p>I&#8217;ve finally got my HTPC up and running with <a href=\"http:\/\/www.team-mediaportal.com\" target=\"_blank\" rel=\"noopener noreferrer\">Team Mediaportal<\/a>&#8216;s lovely Media Center replacement <a href=\"http:\/\/www.team-mediaportal.com\" target=\"_blank\" rel=\"noopener noreferrer\">Media Portal<\/a>. One of the issues I faced while getting it up and running, was getting it to work with my MCE Remote. The solution to this was a third-party app called IR Server Suite. Once installed, every function in my MCE Remote worked like a charm. Until I rebooted the computer that is.<\/p>\n<p>For some reason, the service that IR Server Suite uses to override Windows Media Center, and reroute signals to Media Portal, does not start properly. Although I am trying to solve the problem, a more immediately interesting issue is creating a better workaround than having to go to Services and manually start it.<\/p>\n<p>The solution came to me while at work, as I remembered that a few of our servers have services that at times need to be restarted. This is done through shortcuts on the desktop of the server to save time. The shortcut leads to a batch file, using the <code>NET START<\/code> command. Here&#8217;s how my batch file looks like:<\/p>\n<p><code>@echo off<br \/>\nnet start inputservice<br \/>\nexit<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This post originally ran in October 2008. I am reposting it now, as part of my throwback thursday project, to\u00a0give some of my older quality posts some love. Though the post references Windows XP; the command works in later versions, too. I&#8217;ve finally got my HTPC up and running with Team Mediaportal&#8216;s lovely Media Center [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_hide_featured_image":false,"_jetpack_featured_image_duplicate_dismissed":0,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[894],"tags":[],"class_list":["post-3171","post","type-post","status-publish","format-standard","hentry","category-tbt"],"jetpack_publicize_connections":[],"jetpack_shortlink":"https:\/\/wp.me\/p2ukSU-P9","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":95,"url":"https:\/\/www.razumny.no\/?p=95","url_meta":{"origin":3171,"position":0},"title":"Creating a shortcut to start a service.","author":"Aleksander Nordgarden-R\u00f8dner","date":"17\/10\/2008","format":false,"excerpt":"I've finally got my HTPC up and running with Team Mediaportal's lovely Media Center replacement Media Portal. One of the issues I faced while getting it up and running, was getting it to work with my MCE Remote. The solution to this was a third-party app called IR Server Suite.\u2026","rel":"","context":"In &quot;Microsoft Windows&quot;","block_context":{"text":"Microsoft Windows","link":"https:\/\/www.razumny.no\/?cat=360"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2899,"url":"https:\/\/www.razumny.no\/?p=2899","url_meta":{"origin":3171,"position":1},"title":"#TBT: The Throwback Thursday project","author":"Aleksander Nordgarden-R\u00f8dner","date":"12\/02\/2015","format":false,"excerpt":"#TBT and Throwback Thursday has become something of a thing of late. The concept is simple enough; bring\u00a0old posts and content back to the front page, and help people find your quality content. For me, this project\u00a0means both that I look through my old posts, some of which are still\u2026","rel":"","context":"In &quot;Opinion&quot;","block_context":{"text":"Opinion","link":"https:\/\/www.razumny.no\/?cat=521"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":3172,"url":"https:\/\/www.razumny.no\/?p=3172","url_meta":{"origin":3171,"position":2},"title":"TBT: Finding the name of a service","author":"Aleksander Nordgarden-R\u00f8dner","date":"16\/07\/2015","format":false,"excerpt":"This post originally ran in October 2008. I am reposting it now, as part of my throwback thursday project, to\u00a0give some of my older quality posts some love. Though the post references Windows XP; the method outlined below\u00a0works in later versions, too. In my last post, I showed you how\u2026","rel":"","context":"In &quot;TBT&quot;","block_context":{"text":"TBT","link":"https:\/\/www.razumny.no\/?cat=894"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":3135,"url":"https:\/\/www.razumny.no\/?p=3135","url_meta":{"origin":3171,"position":3},"title":"TBT: FileZilla &#8211; the only FTP client you&#8217;ll ever need.","author":"Aleksander Nordgarden-R\u00f8dner","date":"18\/06\/2015","format":false,"excerpt":"This post originally ran in October 2008. I am reposting it now, as part of my throwback thursday project, to\u00a0give some of my older quality posts some love.\u00a0I still use FileZilla on a regular basis, and still love it dearly. In managing two websites of my own, and one for\u2026","rel":"","context":"In &quot;Software&quot;","block_context":{"text":"Software","link":"https:\/\/www.razumny.no\/?cat=13"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.razumny.no\/images\/blog\/FileZilla.jpg?resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.razumny.no\/images\/blog\/FileZilla.jpg?resize=350%2C200 1x, https:\/\/i0.wp.com\/www.razumny.no\/images\/blog\/FileZilla.jpg?resize=525%2C300 1.5x"},"classes":[]},{"id":99,"url":"https:\/\/www.razumny.no\/?p=99","url_meta":{"origin":3171,"position":4},"title":"Update your computer now!","author":"Aleksander Nordgarden-R\u00f8dner","date":"24\/10\/2008","format":false,"excerpt":"I rarely write posts off the cuff, but this warrants it. Microsoft has released Security Bulletin MS08-059, along with a hotfix for the problem detailed. There are already exploits in the wild to take advantage of the hotfix. \u00a0 What I ask is simply this: Update your computer. Run Windows\u2026","rel":"","context":"In &quot;Microsoft Windows&quot;","block_context":{"text":"Microsoft Windows","link":"https:\/\/www.razumny.no\/?cat=360"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2905,"url":"https:\/\/www.razumny.no\/?p=2905","url_meta":{"origin":3171,"position":5},"title":"#TBT: A better Task Manager","author":"Aleksander Nordgarden-R\u00f8dner","date":"05\/03\/2015","format":false,"excerpt":"This post originally ran in April 2008. I am reposting it now, as part of my throwback thursday project, to\u00a0give some of my older quality posts some love. SysInternals Process Explorer is in common use the world around these days, and a tool I use a lot.\u00a0 Windows Task Manager\u2026","rel":"","context":"In &quot;Microsoft Windows&quot;","block_context":{"text":"Microsoft Windows","link":"https:\/\/www.razumny.no\/?cat=360"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/www.razumny.no\/index.php?rest_route=\/wp\/v2\/posts\/3171","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.razumny.no\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.razumny.no\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.razumny.no\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.razumny.no\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3171"}],"version-history":[{"count":3,"href":"https:\/\/www.razumny.no\/index.php?rest_route=\/wp\/v2\/posts\/3171\/revisions"}],"predecessor-version":[{"id":6062,"href":"https:\/\/www.razumny.no\/index.php?rest_route=\/wp\/v2\/posts\/3171\/revisions\/6062"}],"wp:attachment":[{"href":"https:\/\/www.razumny.no\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3171"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.razumny.no\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3171"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.razumny.no\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3171"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}