Troubleshooting Error 1069: The service did not start due to a logon failure
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.
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:
- provide the correct password for your service application;
- change the password of the account under which your service is running, and then update this password in the service manually or by reinstalling the service;
- use another account for your service.
In this article, we will show you how to perform the above actions for the Sent Items Update service of CodeTwo Exchange Rules.
- Run the service.
- Open the Services configuration window (you can access it from Windows Control Panel > Administrative Tools or from the Start menu when you type services).
- 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).
- 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.
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.
To change the password of the account under which your service runs, you need to:
- Go to Active Directory Users and Computers on your server machine.
- Find the account used by your service, right-click it and choose Reset Password from the shortcut menu.
- Provide a new password and clear the option that allows the user to change the password at next logon (Fig. 3.).
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.).