{"id":2537,"date":"2016-09-01T06:00:13","date_gmt":"2016-09-01T13:00:13","guid":{"rendered":"http:\/\/www.coretechnologies.com\/blog\/?p=2537"},"modified":"2026-02-02T11:53:43","modified_gmt":"2026-02-02T19:53:43","slug":"start-automatically-at-login","status":"publish","type":"post","link":"https:\/\/www.coretechnologies.com\/blog\/servicetray\/start-automatically-at-login\/","title":{"rendered":"How do I Start ServiceTray when I Login to Windows?"},"content":{"rendered":"<div align=\"center\"><img loading=\"lazy\" decoding=\"async\" class=\"no-lazy-load\" src=\"\/blog\/images\/windows-10-problem-500x300.png\" width=\"500\" height=\"300\" border=\"0\" title=\"ServiceTray not starting automatically at login\" alt=\"ServiceTray not starting automatically at login\" \/><\/div>\n<p>Our free <a href=\"\/products\/ServiceTray\/\">ServiceTray<\/a> utility manages any Windows Service from a convenient tray icon. Most folks that use the software configure it to start at login by placing a shortcut in the Windows Startup Folder, but unfortunately that method is not effective on the latest versions of Windows.<\/p>\n<div class=\"highlight-box-green\">\n<h3><b>UPDATE (March 19 2021)<\/b><\/h3>\n<p>ServiceTray version 4.0 eliminates this issue.<\/p>\n<p>Instead of starting in full administrative mode, ServiceTray now starts with minimum permissions and prompts for admin rights when the first service operation is performed. As a result, Windows now happily launches ServiceTray from the Startup folder.<\/p>\n<p>So if you are using the latest version of ServiceTray, <b>there is no need to implement any of the solutions described below<\/b>.\n<\/div>\n<hr class=\"blog-section\">\n<div style=\"width:100%;margin-bottom:30px;\">\n<div style=\"margin:0px;float:right;\"><a href=\"#top\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/cdn.coretechnologies.com\/images\/top.jpg\" border=\"0\" width=\"50\" height=\"18\" title=\"Go to the top\" alt=\"\" \/><\/a><\/div>\n<\/div>\n<h2 class=\"blog-caption\">Why Doesn&#8217;t the Startup Folder Work for ServiceTray?<\/h2>\n<p>\nMicrosoft introduced a set of security features called <a href=\"https:\/\/en.wikipedia.org\/wiki\/User_Account_Control\">User Account Control (UAC)<\/a> in Windows Vista and Server 2008. The key concept behind UAC is that of &#8220;least privilege&#8221; &#8212; where all applications run with normal, non-administrative rights until someone explicitly allows elevation to the more powerful context. Yet while UAC has certainly made PCs more secure from malicious viruses and other hostile actions, it can occasionally foil legitimate use.\n<\/p>\n<p>\nFor example, UAC doesn&#8217;t play nicely with programs configured to start automatically when you log in. <b>Indeed, if an application or shortcut in the startup folder requires administrative rights, Windows will not start it!<\/b> Such is the case with ServiceTray, which must run as an administrator to start, stop and interrogate your Windows Service.\n<\/p>\n<p>\nSo how do you get ServiceTray to start when you login? We have identified a couple of solutions:\n<\/p>\n<hr class=\"blog-section\">\n<div style=\"width:100%;margin-bottom:30px;\">\n<div style=\"margin:0px;float:right;\"><a href=\"#top\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/cdn.coretechnologies.com\/images\/top.jpg\" border=\"0\" width=\"50\" height=\"18\" title=\"Go to the top\" alt=\"\" \/><\/a><\/div>\n<\/div>\n<h2 class=\"blog-caption\">Solution #1: Disable UAC<\/h2>\n<p>\nPerhaps the simplest way to get Windows to automatically launch ServiceTray is to turn off UAC. Indeed, a quick Google search will turn up many articles showing how to disable UAC. Apparently many people have found UAC very frustrating and end up turning it off. However as <a href=\"\" target=\"_blank\" rel=\"noopener noreferrer\">this post<\/a> points out there are many security implications to consider if you go that route. So <a href=\"https:\/\/en.wikipedia.org\/wiki\/Caveat_emptor\" target=\"_blank\" rel=\"noopener noreferrer\"><b>caveat emptor!<\/b><\/a>\n<\/p>\n<hr class=\"blog-section\">\n<div style=\"width:100%;margin-bottom:30px;\">\n<div style=\"margin:0px;float:right;\"><a href=\"#top\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/cdn.coretechnologies.com\/images\/top.jpg\" border=\"0\" width=\"50\" height=\"18\" title=\"Go to the top\" alt=\"\" \/><\/a><\/div>\n<\/div>\n<h2 class=\"blog-caption\">Solution #2: Create an &#8220;At Login&#8221; Scheduled Task<\/h2>\n<p>\nYou may have heard that the <a href=\"https:\/\/en.wikipedia.org\/wiki\/Windows_Task_Scheduler\" target=\"_blank\" rel=\"noopener noreferrer\">Windows Task Scheduler<\/a> is the ideal choice for running background tasks at scheduled times, but did you know that it can also fire up an application on your desktop when you log in? Here is how to do that for ServiceTray:\n<\/p>\n<ol>\n<li>\n<p>\nStart Task Scheduler. This is best done by running <b>taskschd.msc<\/b> from a command prompt, or by opening the Control Panel, searching for &#8220;schedule&#8221; and clicking the <b>Schedule tasks<\/b> link.\n<\/p>\n<p><a href=\"\/blog\/images\/control-panel-start-task-scheduler.png\" class=\"zoomPopup\" rel=\"zoomgroup noopener noreferrer\" title=\"Start Task Scheduler from the Control Panel\" target=\"_blank\"><br \/>\n<img decoding=\"async\" src=\"\/blog\/images\/control-panel-start-task-scheduler.png\" border=\"0\" title=\"Start Task Scheduler from the Control Panel (click to enlarge)\" alt=\"Start Task Scheduler from the Control Panel\" width=\"500\" \/><\/a><\/p>\n<\/li>\n<li>\n<p>\nFrom the Task Scheduler window, click the <b>Create Basic Task&#8230;<\/b> action on the right:\n<\/p>\n<p><a href=\"\/blog\/images\/task-scheduler-create-basic-task.png\" class=\"zoomPopup\" rel=\"zoomgroup noopener noreferrer\" title=\"Task Scheduler: Create Basic Task\" target=\"_blank\"><br \/>\n<img decoding=\"async\" src=\"\/blog\/images\/task-scheduler-create-basic-task.png\" border=\"0\" title=\"Task Scheduler: Create Basic Task (click to enlarge)\" alt=\"Task Scheduler: Create Basic Task\" width=\"500\" \/><\/a><\/p>\n<\/li>\n<li>\n<p>\nYou should now be looking at the <b>Create Basic Task Wizard<\/b> window where you can enter a name for the new task we are creating. Something like &#8220;Start ServiceTray on Login&#8221; would be appropriate, but you can enter anything you like.\n<\/p>\n<p><a href=\"\/blog\/images\/create-basic-task-name.png\" class=\"zoomPopup\" rel=\"zoomgroup noopener noreferrer\" title=\"Create Basic Task: Name\" target=\"_blank\"><br \/>\n<img decoding=\"async\" src=\"\/blog\/images\/create-basic-task-name.png\" border=\"0\" title=\"Create Basic Task: Name (click to enlarge)\" alt=\"Create Basic Task: Name\" width=\"500\" \/><\/a><\/p>\n<p>\nClick <b>Next &gt;<\/b> to move on.\n<\/p>\n<\/li>\n<li>\n<p>\nIn the <b>Trigger<\/b> section, select the <b>When I log on<\/b> option and click <b>Next &gt;<\/b>.\n<\/p>\n<p><a href=\"\/blog\/images\/create-basic-task-trigger-when-log-on.png\" class=\"zoomPopup\" rel=\"zoomgroup noopener noreferrer\" title=\"Create Basic Task: Trigger at Logon\" target=\"_blank\"><br \/>\n<img decoding=\"async\" src=\"\/blog\/images\/create-basic-task-trigger-when-log-on.png\" border=\"0\" title=\"Create Basic Task: Trigger at Logon (click to enlarge)\" alt=\"Create Basic Task: Trigger at Logon\" width=\"500\" \/><\/a><\/p>\n<\/li>\n<li>\n<p>\nNext, choose the <b>Start a program<\/b> option. As usual, click <b>Next &gt;<\/b> to proceed to the next screen.\n<\/p>\n<p><a href=\"\/blog\/images\/create-basic-task-action-start-program.png\" class=\"zoomPopup\" rel=\"zoomgroup noopener noreferrer\" title=\"Create Basic Task: Start a Program\" target=\"_blank\"><br \/>\n<img decoding=\"async\" src=\"\/blog\/images\/create-basic-task-action-start-program.png\" border=\"0\" title=\"Create Basic Task: Start a Program (click to enlarge)\" alt=\"Create Basic Task: Start a Program\" width=\"500\" \/><\/a><\/p>\n<\/li>\n<li>\n<p>\nNow it&#8217;s time to tell the Task Scheduler how to start your ServiceTray shortcut. We&#8217;ll need to find that information from the shortcut itself.\n<\/p>\n<p>\nFind the shortcut you created with ServiceTray. Right-click on it and select <b>Properties<\/b>. The window that comes up should look like this:\n<\/p>\n<p><a href=\"\/blog\/images\/service-tray-properties.png\" class=\"zoomPopup\" rel=\"zoomgroup noopener noreferrer\" title=\"ServiceTray Properties\" target=\"_blank\"><br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"\/blog\/images\/service-tray-properties.png\" border=\"0\" width=\"377\" height=\"534\" title=\"ServiceTray Properties (click to enlarge)\" alt=\"ServiceTray Properties\" \/><\/a><\/p>\n<p>\nThe <b>Target<\/b> field contains the full command line used to launch SerivceTray with your selected Windows Service. From that field, copy the path to the ServiceTray executable (probably &#8220;C:\\Program Files\\ServiceTray\\ServiceTray.exe&#8221; &#8212; don&#8217;t forget the quotes) and place it in the Switch back to the Create Basic Task Wizard&#8217;s <b>Program\/script<\/b> field. Put everything else into the <b>Add arguments (optional)<\/b> area.\n<\/p>\n<p>\nFor example, our ServiceTray shortcut command was:<\/p>\n<blockquote><p>&#8220;C:\\Program Files\\ServiceTray\\ServiceTray.exe&#8221; &#8220;Spooler&#8221; -icon 1<\/p><\/blockquote>\n<p>Here is what the Create Basic Task Wizard window looks like after that command has been entered:<\/p>\n<p><a href=\"\/blog\/images\/create-basic-task-program-details.png\" class=\"zoomPopup\" rel=\"zoomgroup noopener noreferrer\" title=\"Create Basic Task: Start a Program\" target=\"_blank\"><br \/>\n<img decoding=\"async\" src=\"\/blog\/images\/create-basic-task-program-details.png\" border=\"0\" title=\"Create Basic Task: Start a Program (click to enlarge)\" alt=\"Create Basic Task: Start a Program\" width=\"500\" \/><\/a><\/p>\n<p>\nClick <b>Next &gt;<\/b> to move on.\n<\/p>\n<\/li>\n<li>\n<p>\nThe basic configuration is now done and you should now see a summary of the scheduled task to be created.\n<\/p>\n<p>\nBut before clicking the <b>Finish<\/b> button, make sure to check the <b>Open the Properties dialog&#8230;<\/b> box because we&#8217;d like to make one more modification.\n<\/p>\n<p><a href=\"\/blog\/images\/create-basic-task-finish.png\" class=\"zoomPopup\" rel=\"zoomgroup noopener noreferrer\" title=\"Create Basic Task: Finish\" target=\"_blank\"><br \/>\n<img decoding=\"async\" src=\"\/blog\/images\/create-basic-task-finish.png\" border=\"0\" title=\"Create Basic Task: Finish (click to enlarge)\" alt=\"Create Basic Task: Finish\" width=\"500\" \/><\/a><\/p>\n<\/li>\n<li>\n<p>\nAnd finally, in the Properties window, check the <b>Run with highest privileges<\/b> box. This magical option will ensure that ServiceTray starts with full admin rights, so that it can manage your Windows Service.\n<\/p>\n<p><a href=\"\/blog\/images\/run-task-with-highest-privileges.png\" class=\"zoomPopup\" rel=\"zoomgroup noopener noreferrer\" title=\"Run task with highest privileges\" target=\"_blank\"><br \/>\n<img decoding=\"async\" src=\"\/blog\/images\/run-task-with-highest-privileges.png\" border=\"0\" title=\"Run task with highest privileges (click to enlarge)\" alt=\"Run task with highest privileges\" width=\"500\" \/><\/a><\/p>\n<p>\nClick <b>OK<\/b> to dismiss the dialog. Please close the Task Scheduler as well as your task is now in place.\n<\/p>\n<\/li>\n<\/ol>\n<hr class=\"blog-section\">\n<div style=\"width:100%;margin-bottom:30px;\">\n<div style=\"margin:0px;float:right;\"><a href=\"#top\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/cdn.coretechnologies.com\/images\/top.jpg\" border=\"0\" width=\"50\" height=\"18\" title=\"Go to the top\" alt=\"\" \/><\/a><\/div>\n<\/div>\n<h2 class=\"blog-caption\">Our Recommendation<\/h2>\n<p>\nWhile deactivating UAC is certainly quicker and easier, we recommend going with solution #2 as it doesn&#8217;t require any compromises in security\/protection.\n<\/p>\n<p>Enjoy!<\/p>\n<div style=\"margin-top:30px\" align=\"center\">\n<div class=\"cta-button-1\">\n<table role=\"presentation\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\" align=\"left\">\n<tbody>\n<tr>\n<td align=\"center\"><a href=\"\/blog\/tag\/servicetray-2\/\" title=\"More articles about ServiceTray\"><span><nobr>More About ServiceTray&#8230;<\/nobr><\/span><\/a><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<!-- relpost-thumb-wrapper --><div class=\"relpost-thumb-wrapper\"><!-- filter-class --><div class=\"relpost-thumb-container\"><style>.relpost-block-single-image, .relpost-post-image { margin-bottom: 10px; }<\/style><h3>You may also like...<\/h3><div style=\"clear: both\"><\/div><div style=\"clear: both\"><\/div><!-- relpost-block-container --><div class=\"relpost-block-container relpost-block-column-layout\" style=\"--relposth-columns: 3;--relposth-columns_t: 2; --relposth-columns_m: 2\"><a href=\"https:\/\/www.coretechnologies.com\/blog\/windows-services\/restart-remote-service\/\"class=\"relpost-block-single\" ><div class=\"relpost-custom-block-single\"><img decoding=\"async\" loading=\"lazy\" class=\"relpost-block-single-image\" alt=\"Q&amp;A: How do I Restart a Windows Service on a Remote Computer?\"  src=\"https:\/\/www.coretechnologies.com\/blog\/wp-content\/uploads\/restart-remote-service-150x150-1.png\" style=\"aspect-ratio:1\/1\" style=\"aspect-ratio:1\/1\"><\/img><div class=\"relpost-block-single-text\"  style=\"height: 75px;font-family: Arial;  font-size: 12px;  color: #333333;\"><h2 class=\"relpost_card_title\">Q&amp;A: How do I Restart a Windows Service on a Remote Computer?<\/h2><\/div><\/div><\/a><a href=\"https:\/\/www.coretechnologies.com\/blog\/alwaysup\/application-not-restarted\/\"class=\"relpost-block-single\" ><div class=\"relpost-custom-block-single\"><img decoding=\"async\" loading=\"lazy\" class=\"relpost-block-single-image\" alt=\"Q&amp;A: Why Doesn&#039;t AlwaysUp Restart my Application?\"  src=\"https:\/\/www.coretechnologies.com\/blog\/wp-content\/uploads\/restart-button-150x150-1.png\" style=\"aspect-ratio:1\/1\" style=\"aspect-ratio:1\/1\"><\/img><div class=\"relpost-block-single-text\"  style=\"height: 75px;font-family: Arial;  font-size: 12px;  color: #333333;\"><h2 class=\"relpost_card_title\">Q&amp;A: Why Doesn&#039;t AlwaysUp Restart my Application?<\/h2><\/div><\/div><\/a><a href=\"https:\/\/www.coretechnologies.com\/blog\/windows-services\/essential-tools-task-manager\/\"class=\"relpost-block-single\" ><div class=\"relpost-custom-block-single\"><img decoding=\"async\" loading=\"lazy\" class=\"relpost-block-single-image\" alt=\"Essential Tools for Windows Services: Task Manager\"  src=\"https:\/\/www.coretechnologies.com\/blog\/wp-content\/uploads\/task-manager-150x150.png\" style=\"aspect-ratio:1\/1\" style=\"aspect-ratio:1\/1\"><\/img><div class=\"relpost-block-single-text\"  style=\"height: 75px;font-family: Arial;  font-size: 12px;  color: #333333;\"><h2 class=\"relpost_card_title\">Essential Tools for Windows Services: Task Manager<\/h2><\/div><\/div><\/a><\/div><!-- close relpost-block-container --><div style=\"clear: both\"><\/div><\/div><!-- close filter class --><\/div><!-- close relpost-thumb-wrapper -->","protected":false},"excerpt":{"rendered":"<p>Our free ServiceTray utility manages any Windows Service from a convenient tray icon. Most folks that use the software configure it to start at login by placing a shortcut in the Windows Startup Folder, but unfortunately that method is not &hellip; <a href=\"https:\/\/www.coretechnologies.com\/blog\/servicetray\/start-automatically-at-login\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":2548,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13],"tags":[152,161,164,173,196],"class_list":["post-2537","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-servicetray","tag-servicetray-2","tag-product-support","tag-task-scheduler","tag-user-account-control","tag-windows-services-2"],"_links":{"self":[{"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/posts\/2537","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/comments?post=2537"}],"version-history":[{"count":5,"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/posts\/2537\/revisions"}],"predecessor-version":[{"id":13355,"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/posts\/2537\/revisions\/13355"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/media\/2548"}],"wp:attachment":[{"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/media?parent=2537"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/categories?post=2537"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/tags?post=2537"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}