Fix: The service did not start due to a logon failure

Reading time icon 4 min. read


Readers help support Windows Report. We may get a commission if you buy through our links. Tooltip Icon

Read our disclosure page to find out how can you help Windows Report sustain the editorial team Read more

service did not start due to a logon failure

When you are plagued by the service did not start due to a logon failure error, especially when you restart your Windows server, the problem is usually attributed to a password change for the profile being used by the SQL Server Agent.

However, sometimes the password may have remained the same, and you’re sure you didn’t make any changes whatsoever.

In addition to this, you’re tired of changing the login used and returning it back to its original domain login all the time, which you cannot keep doing every time something goes wrong.

The above may happen due to:

No need to worry about this as we have just the right solutions to resolve the issues that bring up the service did not start due to a logon failure error, check out the solutions below.

How to fix the service did not start due to a logon failure error

  1. Configure the service to use the built-in system account
  2. Change the password for the specified user account to match the current password for the same user
  3. Restore user’s right to log on as a service

1. Configure the service to use the built-in system account

If the service did not start due to a login failure, configure it to start up with a built-in system account by doing the following:

  1. Press Windows key + R to open the Run elevated command line.
  2. Type services.msc and press Enter.
  3. Locate the Application Identity service, right-click on it, and open Properties.
  4. Click Log On tab.Application Identity Properties Log On
  5. Click Local System Account
  6. Do not select the Allow service to interact with the desktop check box
  7. Click Apply
  8. Click General tab
  9. Click Start to restart the serviceApplication Identity Properties General
  10. Close the Services tool.

Note: When you try to open the properties of service by using the Services tool in Control Panel, the computer may stop responding, and get the error message that says: The RPC Server is unavailable.

This may occur if the RPC service isn’t started due to login failure with the service, or a dependency service because some have to wait until their dependency services start before they themselves start.

2. Change the password for the specified user account to match the current password for the same user

Here’s how to configure the password for the specified user account to match the current password for that user:

  1. Navigate to Services again by following the steps from the previous solution.
  2. In the search box, type Administrative Tools and click on it
  3. Click Services
  4. Right-click the service you want and select Properties
  5. Click Log On tabApplication Identity Properties Log On
  6. Change the password then click Apply
  7. Click the General tab
  8. Click Start to restart the serviceApplication Identity Properties General
  9. Click OK and close the Services tool

3. Restore user’s right to log on as a service

If the right to log on as a service is revoked for the user account, restore it on a domain controller or a member server (standalone) depending on your situation.

How to restore user’s right on a Domain Controller

Here’s how to do this if the user is in an Active Directory domain:

  1. Right-click Start
  2. Click Control Panelthe service did not start due to a logon failure
  3. Type Administrative tools and select it
  4. Click Active Directory Users and Computers
  5. Right-click the organization unit in which the user right to log on as a service was granted (Domain Controllers organizational unit by default)
  6. Right-click the container you want then click Properties
  7. Go to Group Policy tab
  8. Click Default Domain Controllers Policy
  9. Click Edit to start Group Policy Manager
  10. Expand Computer Configuration
  11. Expand Windows Settings
  12. Expand Security Settings.
  13. Expand Local Policies
  14. Click User Rights Assignment
  15. Right-click Log on as a service from the right pane
  16. Click Add User or Group.
  17. Type the name that you want to add to the policy in the User and Group Names box
  18. Click OK.
  19. Exit Group Policy Manager
  20. Close Group Policy properties,
  21. Exit the Active Directory Users and Computers Microsoft Management Console (MMC) snap-in

How to restore user’s right on a Member Server (stand-alone)

Here’s how to do this if a user is a member of a standalone member server:

  1. Start Local Security Settings MMC snap-in.
  2. Expand Local Policies.
  3. Click the User Rights Assignment.
  4. Right-click Log on as a service from the right pane.
  5. ClickAdd User or Group.
  6. Type the name that you want to add to the policy in the User and Group Names box.
  7. Click OK.
  8. Quit the Local Security Settings MMC snap-in.

Did any of the solutions above help fix the service that did not start due to a logon failure error? Let us know your experience in the comments section below.

More about the topics: windows 10 fix