{"id":11656,"date":"2022-12-19T20:33:25","date_gmt":"2022-12-20T04:33:25","guid":{"rendered":"https:\/\/www.coretechnologies.com\/blog\/?p=11656"},"modified":"2022-12-19T20:33:25","modified_gmt":"2022-12-20T04:33:25","slug":"multiple-automatic-logons","status":"publish","type":"post","link":"https:\/\/www.coretechnologies.com\/blog\/alwaysup\/multiple-automatic-logons\/","title":{"rendered":"Q&#038;A: Does AlwaysUp Support Multiple Automatic Logons?"},"content":{"rendered":"<div align=\"center\"><img loading=\"lazy\" decoding=\"async\" class=\"no-lazy-load\" src=\"\/blog\/images\/qa-multiple-autologon-services.webp\" style=\"margin-bottom:20px;\" title=\"Does AlwaysUp Support Multiple Automatic Logons?\" alt=\"Does AlwaysUp Support Multiple Automatic Logons?\" border=\"0\" width=\"380\" height=\"160\" \/><\/div>\n<div class=\"blog-qa-question-box\">\n<img loading=\"lazy\" decoding=\"async\" class=\"no-lazy-load\" src=\"https:\/\/cdn.coretechnologies.com\/images\/quotes-transparent-21x21.webp\" width=\"21\" height=\"21\" \/>&nbsp;&nbsp; We&#8217;ve written utilities that control <a href=\"https:\/\/www.microsoft.com\/en-us\/microsoft-365\/word\" target=\"_blank\" rel=\"noopener\">Microsoft Word<\/a> to produce automated documents and, for various reasons, these have to be run visible in a &#8220;real desktop session&#8221; on a server, logged in as a real user, not hidden on session 0.<\/p>\n<p>When we only need one logged-in user on a server to achieve this, we can use AlwaysUp with the &#8220;Autologon&#8221; feature.  However, on some servers, we run our tool more than once, each copy running under a different user account, and so we can\u2019t use that feature. <\/p>\n<p>Do you have any suggestions in the current or new version of AlwaysUp please?  <a href=\"https:\/\/www.logonexpert.com\" target=\"_blank\" rel=\"noopener\">LogonExpert<\/a> looks like it can start multiple sessions under different real accounts. Perhaps some combination of this tool and AlwaysUp might work?<\/p>\n<p>Thanks in advance!<\/p>\n<p align=\"right\">&mdash; Robin<\/p>\n<\/div>\n<p>Hi Robin, good to hear from you.<\/p>\n<p>Yes. If LogonExpert works as advertised, you should be able to use it in conjunction with AlwaysUp (and the Windows Task Scheduler) to solve your problem.<\/p>\n<p>If I&#8217;m following, you want to:<\/p>\n<ol style=\"margin-bottom:24px\">\n<li>\n<p>Setup multiple instances of Word, each to run as a service with AlwaysUp;<\/p>\n<\/li>\n<li>\n<p>Automatically log in multiple users when the computer boots;<\/p>\n<\/li>\n<li>\n<p>Have each account in (2) start one of the services created in (1) at logon.<\/p>\n<\/li>\n<\/ol>\n<p>Let&#8217;s review how you can achieve each step.<\/p>\n<h2 class=\"blog-caption-numbered\">1. Setup multiple instances of Microsoft Word with AlwaysUp<\/h2>\n<p>This step is easy. AlwaysUp will let you create as many services as you like &mdash; even if each service runs the same application.<\/p>\n<p>In your case, you should set a different account for each application on the Logon tab:<\/p>\n<div align=\"center\"><a href=\"\/products\/AlwaysUp\/Screenshots\/alwaysup-add-application-logon-tab.png\" class=\"zoomPopup\" title=\"Specify an account on the Logon tab\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" class=\"image-padding\" src=\"\/products\/AlwaysUp\/Screenshots\/alwaysup-add-application-logon-tab.png\" title=\"Specify an account on the Logon tab (click to enlarge)\" alt=\"Specify an account on the Logon tab\" border=\"0\" \/><\/a><\/div>\n<p>Then each instance of Word will run as a different user.<\/p>\n<p>No doubt you&#8217;ve already found our tutorial showing <a href=\"\/products\/AlwaysUp\/Apps\/RunWord2010AsAWindowsService.html\">how to setup Microsoft Word with AlwaysUp<\/a>. Despite the focus on Word 2010 there, the same instructions apply to <b>all installed versions of Word, including Word 365<\/b>.<\/p>\n<h2 class=\"blog-caption-numbered\">2. Automatically log in multiple users at boot<\/h2>\n<p>Here&#8217;s where LogonExpert comes in. <\/p>\n<p>Indeed, the product&#8217;s <a href=\"https:\/\/www.logonexpert.com\/\" target=\"_blank\" rel=\"noopener\">home page<\/a> prominently states:<\/p>\n<div class=\"blog-qa-question-box\">\n<h3><img loading=\"lazy\" decoding=\"async\" class=\"no-lazy-load\" src=\"https:\/\/cdn.coretechnologies.com\/images\/quotes-transparent-21x21.webp\" width=\"21\" height=\"21\" \/>&nbsp;&nbsp;Multi-user logon<\/h3>\n<p>Add and log on any number of users to one computer simultaneously using the application\u2019s interface, command line, scripts or scheduling tools.\n<\/p><\/div>\n<p>Hopefully it will be easy to set up all your accounts. We suggest taking advantage of the free 10 day trial to make sure that LogonExpert works as you expect.<\/p>\n<h2 class=\"blog-caption-numbered\">3. Automatically start a copy of Word in each account at boot<\/h2>\n<p>Next, let&#8217;s ensure that each user&#8217;s instance of Word starts whenever the computer boots. We&#8217;ll need the help of the <a href=\"https:\/\/en.wikipedia.org\/wiki\/Windows_Task_Scheduler\" target=\"_blank\" rel=\"noopener\">Windows Task Scheduler<\/a> to do that.<\/p>\n<p>If you&#8217;ve used Task Scheduler before, you know that it provides a convenient way to run a command at a specific time. But do you know that it can run a command whenever a specific user logs in too? That turns out to be a surprisingly useful capability!<\/p>\n<p>Please review our step-by-step tutorial, <a href=\"\/products\/AlwaysUp\/HowToStartInSessionAtLogon.html\">How to Start your AlwaysUp Application &#8220;In Session&#8221; at Logon<\/a>. Follow those instructions to <b>create a scheduled task for each user you want to automatically log in<\/b> and start Word:<\/p>\n<div align=\"center\"><a href=\"\/blog\/images\/task-scheduler-new-task-summary.png\" class=\"zoomPopup\" title=\"Create a scheduled task for each user\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" class=\"image-padding\" src=\"\/blog\/images\/task-scheduler-new-task-summary.png\" title=\"Create a scheduled task for each user (click to enlarge)\" alt=\"Create a scheduled task for each user\" border=\"0\" width=\"520\" \/><\/a><\/div>\n<h2 class=\"blog-caption-numbered\">4. One last change: Don&#8217;t start Word automatically from AlwaysUp<\/h2>\n<p>Finally, now that your AlwaysUp service and Word are set to start automatically at logon, you should change your AlwaysUp entry to start <b>Manually<\/b>. That&#8217;s because AlwaysUp no longer needs to start at boot as everything is triggered by the autologon and the subsequent scheduled task.<\/p>\n<p>Make the change on the <b>General<\/b> tab:<\/p>\n<div align=\"center\"><a href=\"\/blog\/images\/alwaysup-set-manual-start-type.png\" class=\"zoomPopup\" title=\"Set AlwaysUp to start Manually\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" class=\"image-padding\" src=\"\/blog\/images\/alwaysup-set-manual-start-type.png\" title=\"Set AlwaysUp to start Manually (click to enlarge)\" alt=\"Set AlwaysUp to start Manually\" border=\"0\" \/><\/a><\/div>\n<h2 class=\"blog-caption\">Putting it all together<\/h2>\n<p>With all this in place, here&#8217;s what should happen when your computer boots:<\/p>\n<ol style=\"margin-bottom:24px\">\n<li>\n<p>LogonExpert logs in each of your users<\/p>\n<\/li>\n<li>\n<p>For each user:<\/p>\n<ol type=\"a\">\n<li>\n<p>Windows runs the scheduled task as they log on<\/p>\n<\/li>\n<li>\n<p>The scheduled task starts the AlwaysUp service in your logon session<\/p>\n<\/li>\n<li>\n<p>AlwaysUp starts Word, visibly on the desktop<\/p>\n<\/li>\n<\/ol>\n<\/ol>\n<p style=\"margin-top: 30px\">\nThat&#8217;s it. Best of luck wiring everything together!<\/p>\n<p>And please don&#8217;t hesitate to <a href=\"\/support\/\">get in touch with our support team<\/a> if you run into any obstacles.<\/p>\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\/prevent-user-interface\/\"class=\"relpost-block-single\" ><div class=\"relpost-custom-block-single\"><img decoding=\"async\" loading=\"lazy\" class=\"relpost-block-single-image\" alt=\"I&#039;m Worried. Will Microsoft Ever Prevent a Windows Service from Creating a User Interface?\"  src=\"https:\/\/www.coretechnologies.com\/blog\/wp-content\/uploads\/windows-service-gui-150x150-1.webp\" 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\">I&#039;m Worried. Will Microsoft Ever Prevent a Windows Service from Creating a User Interface?<\/h2><\/div><\/div><\/a><a href=\"https:\/\/www.coretechnologies.com\/blog\/alwaysup\/google-drive-for-desktop-not-working\/\"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 isn&#039;t Google Drive For Desktop Working with AlwaysUp?\"  src=\"https:\/\/www.coretechnologies.com\/blog\/wp-content\/uploads\/google-drive-not-working-as-service-150x150-1.webp\" 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 isn&#039;t Google Drive For Desktop Working with AlwaysUp?<\/h2><\/div><\/div><\/a><a href=\"https:\/\/www.coretechnologies.com\/blog\/alwaysup\/alwaysup-wins-best-windows-utility-award\/\"class=\"relpost-block-single\" ><div class=\"relpost-custom-block-single\"><img decoding=\"async\" loading=\"lazy\" class=\"relpost-block-single-image\" alt=\"Winner!\"  src=\"https:\/\/www.coretechnologies.com\/blog\/wp-content\/uploads\/winner-cup-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\">AlwaysUp Wins &quot;Best Windows Utility&quot; Award from Windows IT Pro Magazine<\/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>&nbsp;&nbsp; We&#8217;ve written utilities that control Microsoft Word to produce automated documents and, for various reasons, these have to be run visible in a &#8220;real desktop session&#8221; on a server, logged in as a real user, not hidden on session &hellip; <a href=\"https:\/\/www.coretechnologies.com\/blog\/alwaysup\/multiple-automatic-logons\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":11667,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[26,36,303,127,164],"class_list":["post-11656","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-alwaysup","tag-alwaysup-tag","tag-autologon","tag-microsoft-word","tag-qa","tag-task-scheduler"],"_links":{"self":[{"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/posts\/11656","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=11656"}],"version-history":[{"count":8,"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/posts\/11656\/revisions"}],"predecessor-version":[{"id":11700,"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/posts\/11656\/revisions\/11700"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/media\/11667"}],"wp:attachment":[{"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/media?parent=11656"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/categories?post=11656"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/tags?post=11656"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}