{"id":8015,"date":"2019-09-16T13:00:12","date_gmt":"2019-09-16T20:00:12","guid":{"rendered":"https:\/\/www.coretechnologies.com\/blog\/?p=8015"},"modified":"2019-12-16T09:14:29","modified_gmt":"2019-12-16T17:14:29","slug":"fix-service-logon-failure","status":"publish","type":"post","link":"https:\/\/www.coretechnologies.com\/blog\/alwaysup\/fix-service-logon-failure\/","title":{"rendered":"Q&#038;A: How do I Fix &#8220;The service did not start due to a logon failure&#8221;?"},"content":{"rendered":"<div align=\"center\"><img decoding=\"async\" src=\"\/blog\/images\/qa-logon-failed.png\" title=\"Q&#038;A - Logon failed\" alt=\"Q&#038;A - Logon failed\" border=\"0\" ><\/div>\n<div class=\"blog-qa-question-box\">\n<img decoding=\"async\" src=\"\/images\/quotes-transparent-21x21.png\">&nbsp;&nbsp;I setup AlwaysUp to run <a href=\"https:\/\/jriver.com\/\" target=\"_blank\" rel=\"noopener noreferrer\">JRiver Media Center<\/a> as a Windows Service but it&#8217;s simply not working. I reboot the server every week and every time AlwaysUp says it can&#8217;t log on. These errors come up, over and over:<\/p>\n<div align=\"center\"><img decoding=\"async\" src=\"\/blog\/images\/alwaysup-logon-failure-errors.png\" title=\"AlwaysUp logon failure errors\" alt=\"AlwaysUp logon failure errors\" border=\"0\" ><\/div>\n<p>Help!<\/p>\n<p align=\"right\">&mdash; Anonymous<\/p>\n<\/div>\n<p>Hi &mdash; sorry to hear that the service isn&#8217;t starting for you!<\/p>\n<p>From the logs you sent, the key error appears to be this one:<\/p>\n<blockquote><p><b>The service did not start due to a logon failure<\/b><\/p><\/blockquote>\n<p>Windows is saying that it cannot authenticate your account (the one you specified on the Logon tab in AlwaysUp) so it cannot start the service.<\/p>\n<p>The failure is probably due to one of three problems. Answer the following questions to find a solution.<\/p>\n<h2 class=\"blog-caption\">Has your Windows password expired\/changed?<\/h2>\n<p>If you recently set a new password on your Windows account, the service may be stuck using the old one.<\/p>\n<p>To update the service&#8217;s password:<\/p>\n<ol>\n<li>\n<p>Edit your JRiver service in AlwaysUp<\/p>\n<\/li>\n<li>\n<p>Switch to the Logon tab<\/p>\n<\/li>\n<li>\n<p>Enter your new password:<\/p>\n<div align=\"center\"><a href=\"\/blog\/images\/alwaysup-enter-new-login-password.png\" class=\"zoomPopup\" title=\"Enter your new password\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" class=\"image-padding\" src=\"\/blog\/images\/alwaysup-enter-new-login-password.png\" title=\"Enter your new password (click to enlarge)\" alt=\"Enter your new password\" border=\"0\" ><\/a><\/div>\n<\/li>\n<li>\n<p>Save your settings.<\/p>\n<\/li>\n<\/ol>\n<p>Reboot your PC and see if JRiver starts automatically. If not, read on to keep troubleshooting.<\/p>\n<h2 class=\"blog-caption\">Have you specified a domain account on the AlwaysUp Logon tab?<\/h2>\n<p>If your service is running in a domain account, it&#8217;s possible that the service is starting too soon &mdash; before the <a href=\"https:\/\/en.wikipedia.org\/wiki\/Domain_controller_(Windows)\" target=\"_blank\" rel=\"noopener noreferrer\">primary domain controller<\/a> is ready to accept requests.<\/p>\n<p>Indeed, this can easily happen when your computer is the slow-starting domain controller!<\/p>\n<p>The fix is to delay the start of the JRiver service, to allow the domain controller enough time to launch and initialize. To do so:<\/p>\n<ol>\n<li>\n<p>Edit your JRiver service in AlwaysUp<\/p>\n<\/li>\n<li>\n<p>Set the <b>Start the application<\/b> field to <b>Automatically, but shortly after the computer boots<\/b>:<\/p>\n<div align=\"center\"><a href=\"\/blog\/images\/set-jriver-service-start-delayed.png\" class=\"zoomPopup\" title=\"Set JRiver service to start delayed\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" class=\"image-padding\" src=\"\/blog\/images\/set-jriver-service-start-delayed.png\" title=\"Set JRiver service to start delayed (click to enlarge)\" alt=\"Set JRiver service to start delayed\" border=\"0\" ><\/a><\/div>\n<\/li>\n<li>\n<p>Save your settings.<\/p>\n<\/li>\n<\/ol>\n<p>Reboot and see if that does the trick!<\/p>\n<h2 class=\"blog-caption\">Is your Active Directory Group Policy overwriting the Local Policy setting for the &#8220;Log on as a service&#8221; right?<\/h2>\n<p>This last scenario applies if your system uses <a href=\"https:\/\/en.wikipedia.org\/wiki\/Active_Directory\" target=\"_blank\" rel=\"noopener noreferrer\">Active Directory<\/a> and you have specified a domain account on the AlwaysUp Logon tab.<\/p>\n<p>Your Windows account may be losing the right to run as a service when an incomplete <a href=\"https:\/\/en.wikipedia.org\/wiki\/Group_Policy\" target=\"_blank\" rel=\"noopener noreferrer\">group policy<\/a> overwrites the local policy. Basically, your account is &#8220;out of sync&#8221; with the Active Directory server.<\/p>\n<p>The solution is to <a href=\"https:\/\/www.coretechnologies.com\/blog\/windows-services\/windows-service-forgets-password\/\">modify the domain group policy, as outlined in this blog post<\/a>.<\/p>\n<h2 class=\"blog-caption\">Still experiencing &#8220;logon failure&#8221; errors?<\/h2>\n<p>If you are still seeing the error, something strange is definitely going on with your setup.<\/p>\n<p>Please <a href=\"\/support\/\">get in touch<\/a> to schedule a remote session, where we can troubleshoot your misbehaving service. We&#8217;ll do our best to have you up and running soon!<\/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\/alwaysup\/dropbox-windows-service-spiking\/\"class=\"relpost-block-single\" ><div class=\"relpost-custom-block-single\"><img decoding=\"async\" loading=\"lazy\" class=\"relpost-block-single-image\" alt=\"Dropbox Windows Service spiking your CPU? Check your Antivirus Settings!\"  src=\"https:\/\/www.coretechnologies.com\/blog\/wp-content\/uploads\/dropbox-locked-up-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\">Dropbox Windows Service spiking your CPU? Check your Antivirus Settings!<\/h2><\/div><\/div><\/a><a href=\"https:\/\/www.coretechnologies.com\/blog\/alwaysup\/backup-and-sync-cpu-memory\/\"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 is AlwaysUp Reporting the Wrong CPU and Memory for Backup and Sync?\"  src=\"https:\/\/www.coretechnologies.com\/blog\/wp-content\/uploads\/qa-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\">Q &amp; A: Why is AlwaysUp Reporting the Wrong CPU and Memory for Backup and Sync?<\/h2><\/div><\/div><\/a><a href=\"https:\/\/www.coretechnologies.com\/blog\/alwaysup\/capture-console-output-feature\/\"class=\"relpost-block-single\" ><div class=\"relpost-custom-block-single\"><img decoding=\"async\" loading=\"lazy\" class=\"relpost-block-single-image\" alt=\"AlwaysUp Feature Spotlight: Capture Console Output\"  src=\"https:\/\/www.coretechnologies.com\/blog\/wp-content\/uploads\/save-console-output-to-log-file-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\">AlwaysUp Feature Spotlight: Capture Console Output<\/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;I setup AlwaysUp to run JRiver Media Center as a Windows Service but it&#8217;s simply not working. I reboot the server every week and every time AlwaysUp says it can&#8217;t log on. These errors come up, over and over: Help! &hellip; <a href=\"https:\/\/www.coretechnologies.com\/blog\/alwaysup\/fix-service-logon-failure\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":8020,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[37,86,95,99,196],"class_list":["post-8015","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-alwaysup","tag-automatic-delayed","tag-group-policy","tag-jriver-media-center","tag-logon-failure","tag-windows-services-2"],"_links":{"self":[{"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/posts\/8015","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=8015"}],"version-history":[{"count":0,"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/posts\/8015\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/media\/8020"}],"wp:attachment":[{"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/media?parent=8015"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/categories?post=8015"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/tags?post=8015"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}