Troubleshooting Error 1069: The service did not start due to a logon failure

Problem:

When you install or launch a service application in Windows, the following error message is displayed:

Could not start the <service name> service on Local Computer.
Error 1069: The service did not start due to a logon failure.

Solution:

This error concerns applications that are installed and launched as Windows services (an example of such an application is the Sent Items Update service in CodeTwo Exchange Rules). The issue usually occurs if you:

  • provided a wrong account password when configuring your service, or
  • changed the password of the account used by the service, and have not updated this information in the service.

Depending on your case, you might try the following to solve this problem:

In this article, we will show you how to perform the above actions for the Sent Items Update service of CodeTwo Exchange Rules.

Editing the account used by a service application

  1. Run the service.
  2. Open the Services configuration window (you can access it from Windows Control PanelAdministrative Tools or from the Start menu when you type services).
  3. Find your service (in this example: CodeTwo Sent Items Update) and double-click it to open its properties (or right-click it and select Properties).
  4. You can edit the service account on the Log On tab (Fig. 1.). Make sure to provide the correct password for the selected account. If the Local System account radio button is selected, change it to This account, select an account and provide the correct password.

175-1
Fig. 1. Editing the account used by a service.

Info

There might be a password policy within your domain that makes passwords expire after a certain number of days. In such case, when the password for the service account expires, the error described in this article will reoccur. To prevent this, you can disable password expiry for your service account. To do that, open Active Directory Users and Computers on your server. Find your service account (e.g. CodeTwo Update Agent) and open its properties. Go to the Account tab and select the Password never expires checkbox.

175-2
Fig. 2. The properties of a service account.

Reset and change the password of a service account

To change the password of the account under which your service runs, you need to:

  1. Go to Active Directory Users and Computers on your server machine.
  2. Find the account used by your service, right-click it and choose Reset Password from the shortcut menu.
  3. Provide a new password and clear the option that allows the user to change the password at next logon (Fig. 3.).

175-3
Fig. 3. Changing the password of a service account in Active Directory.

Now you need to update the account credentials in your service. You can do it:

  • by manually changing the service account credentials in the properties of your service, as shown in this section,
  • or by reinstalling the service, choosing the same account as previously used, and providing its credentials (see an example in Fig. 4.).

462
Fig. 4. Choosing a service account after reinstallation of a service.