{"id":95,"date":"2008-10-17T07:00:00","date_gmt":"2008-10-17T06:00:00","guid":{"rendered":"http:\/\/www.razumny.no\/blog\/?p=95"},"modified":"2015-11-19T20:33:42","modified_gmt":"2015-11-19T19:33:42","slug":"creating-a-shortcut-to-start-a-service","status":"publish","type":"post","link":"https:\/\/www.razumny.no\/?p=95","title":{"rendered":"Creating a shortcut to start a service."},"content":{"rendered":"<p>I&#8217;ve finally got my HTPC up and running with <a href=\"http:\/\/www.team-mediaportal.com\" target=\"_blank\">Team Mediaportal<\/a>&#8216;s lovely Media Center replacement <a href=\"http:\/\/www.team-mediaportal.com\" target=\"_blank\">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.<br \/>\n&nbsp;<br \/>\nFor 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.<br \/>\n&nbsp;<br \/>\nThe 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:<br \/>\n&nbsp;<br \/>\n<code>@echo off<br \/>\nnet start inputservice<br \/>\nexit<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve finally got my HTPC up and running with Team Mediaportal&#8216;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. Once installed, every function in [&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":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[360,32],"tags":[275,273,274,184,141,52],"class_list":["post-95","post","type-post","status-publish","format-standard","hentry","category-microsoft-windows","category-windows-xp","tag-batch-file","tag-media-portal","tag-net-start","tag-service","tag-shortcut","tag-windows"],"jetpack_publicize_connections":[],"jetpack_shortlink":"https:\/\/wp.me\/p2ukSU-1x","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":3171,"url":"https:\/\/www.razumny.no\/?p=3171","url_meta":{"origin":95,"position":0},"title":"TBT: Creating a shortcut to start a service","author":"Aleksander Nordgarden-R\u00f8dner","date":"02\/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 command works in later versions, too. I've finally got my HTPC up and running with\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":99,"url":"https:\/\/www.razumny.no\/?p=99","url_meta":{"origin":95,"position":1},"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":46,"url":"https:\/\/www.razumny.no\/?p=46","url_meta":{"origin":95,"position":2},"title":"Creating a shortcut and hotkey to Windows&#8217; &quot;Safely Remove Hardware&quot; dialog","author":"Aleksander Nordgarden-R\u00f8dner","date":"13\/06\/2008","format":false,"excerpt":"In a previous post I talked about using Windows' \"Safely Remove Hardware\" dialog to avoid losing data from USB drives. Having done some more research, I've found a way to create a shortcut to this dialog. The shortcut is simple to create, and uses a RunDll32.exe command that looks like\u2026","rel":"","context":"In &quot;Hack&quot;","block_context":{"text":"Hack","link":"https:\/\/www.razumny.no\/?cat=21"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":96,"url":"https:\/\/www.razumny.no\/?p=96","url_meta":{"origin":95,"position":3},"title":"Finding the name of a service","author":"Aleksander Nordgarden-R\u00f8dner","date":"20\/10\/2008","format":false,"excerpt":"In my last post, I showed you how to use a batch script to start a service from a desktop shortcut. The command we used was the net start command. In order to use it, you need to find the name of the service you want to start. Here's how:\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":5322,"url":"https:\/\/www.razumny.no\/?p=5322","url_meta":{"origin":95,"position":4},"title":"Installing RSAT on a Windows client","author":"Aleksander Nordgarden-R\u00f8dner","date":"02\/12\/2019","format":false,"excerpt":"You may, for one reason or another, need to install Remote Server Administration Tools (RSAT) on your Windows client computer. You may want to perform administrative tasks in Active Directory Users and Computers, administer Certificates in Active Directory Certificate Services, or administer DNS or DHCP in DNS or DHCP Server\u2026","rel":"","context":"In &quot;How To&quot;","block_context":{"text":"How To","link":"https:\/\/www.razumny.no\/?cat=615"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":145,"url":"https:\/\/www.razumny.no\/?p=145","url_meta":{"origin":95,"position":5},"title":"Inverted colors in Windows Media Player running in Internet Explorer","author":"Aleksander Nordgarden-R\u00f8dner","date":"06\/04\/2009","format":false,"excerpt":"A user logged a support ticket, saying that she was having problems playing streaming video in Internet Explorer. According to the ticket, it \"doesn't work\". The user would be away from work, but had left her passwords \"in a secure place\" (read: under her keyboard)... nbsp; I went to her\u2026","rel":"","context":"In &quot;Internet Explorer&quot;","block_context":{"text":"Internet Explorer","link":"https:\/\/www.razumny.no\/?cat=23"},"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\/95","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=95"}],"version-history":[{"count":3,"href":"https:\/\/www.razumny.no\/index.php?rest_route=\/wp\/v2\/posts\/95\/revisions"}],"predecessor-version":[{"id":3354,"href":"https:\/\/www.razumny.no\/index.php?rest_route=\/wp\/v2\/posts\/95\/revisions\/3354"}],"wp:attachment":[{"href":"https:\/\/www.razumny.no\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=95"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.razumny.no\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=95"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.razumny.no\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=95"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}