Summary: How to increase the automatic startup time for Windows Services
Date: Around 2013
Refactor: 26 January 2025: Checked links and formatting. Cleaned up.
After rebooting a Windows Server some services that should start automatically are not automatically started. Looking in the event viewer you'll see errors like this:
The SQL Server (MSSQLSERVER) service failed to start due to the following error: The service did not respond to the start or control request in a timely fashion.
or
A timeout was reached (30000 milliseconds) while waiting for the SQL Server (MSSQLSERVER) service to connect.
This error can occur when the system is too busy to start the service within the 30 seconds range. Starting the services is stopped and not retried. This can be solved by configuring a higher timeout:
Note: Rebooting the computer is not strictly necessary, this is a setting that's only valid for reboots so it will be eligible for the next reboot anyway.