Services do not start

I faced a weird problem about SQL Server services: they don’t start at the boot and give some odd errors in the event log:

The SQL Server (InstanceName) service failed to start due to the following error: The account name is invalid or does not exist, or the password is invalid for the account name specified.

The SQL Server Agent (InstanceName) service depends on the SQL Server (InstanceName) service which failed to start because of the following error: The account name is invalid or does not exist, or the password is invalid for the account name specified.

The SQL Server Browser service failed to start due to the following error: The account name is invalid or does not exist, or the password is invalid for the account name specified.

Troubleshooting

  • I tried to start the services manually a few minutes after the boot, and it works! no account name or password error…That means SQL Server tries to connect to Active Directory before the network layer is ready…

Workaround

  • Set SQL Server services that do not start, from Automatic to Automatic (delayed start)
    This delayed start makes the services trying to start, not immediatly during the boot, but wait for 2 mn after the boot and then starts SQL Server services.

Problem solved…