Skip to content

Commit 397789d

Browse files
authored
Merge pull request #10309 from haywoodsloan/8522-error-1053
AB#8522 - Error 1053 The service did not respond to the start or control request in a timely fashion
2 parents 82b382f + 0b13ac0 commit 397789d

2 files changed

Lines changed: 113 additions & 1 deletion

File tree

Lines changed: 107 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,107 @@
1+
---
2+
title: Troubleshoot SQL Agent Startup Failures with Error 1053
3+
description: Troubleshoot SQL Server Agent Error 1053. Follow step-by-step guidance to fix registry issues and restore service functionality after Windows updates.
4+
ms.date: 12/05/2025
5+
ms.custom: sap:Startup, shutdown, restart issues (instance or database)\Database or Server is taking long time to start or shut down or restart
6+
ms.reviewer: prmadhes, v-shaywood
7+
---
8+
9+
# "Error 1053: The service did not respond to the start or control request in a timely fashion"
10+
11+
This article provides troubleshooting guidance for an issue in which the [SQL Server Agent](/ssms/agent/sql-server-agent) doesn't start, and it returns Error _1053_.
12+
13+
## Symptoms
14+
15+
When this issue occurs, you see the following symptoms:
16+
17+
- The SQL Server Agent service doesn't start after a recent Windows update is installed.
18+
- The [Windows Event Log](/windows/win32/wes/windows-event-log) service doesn't start.
19+
20+
If the SQL Server Agent doesn't start, it returns the following error message:
21+
22+
> Windows could not start the SQL Server Agent service on Local Computer.
23+
> Error 1053: The service did not respond to the start or control request in a timely fashion.
24+
25+
## Cause
26+
27+
This issue occurs if one or more registry keys under the `HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\EventLog` subkey use the `DWORD` type instead of the correct `REG_SZ` (string) type.
28+
29+
These invalid registry keys prevent the Windows Event Log service from starting. The SQL Server Agent depends on the Windows Event Log service. Therefore, if the Windows Event Log service is unavailable, the SQL Server Agent also doesn't start, and it returns Error _1053_.
30+
31+
> [!IMPORTANT]
32+
> If the registry key `HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\EventLog` doesn't exist, no event log policies are configured for your system. In that case, the solution that's provided in this article doesn't apply.
33+
34+
## Solution
35+
36+
[!INCLUDE [registry-important-alert](~/includes/registry-important-alert.md)]
37+
38+
1. Verify that the SQL Server Agent didn't start. Try to start it by using any of the following methods:
39+
- [Service Control Manager (services.msc)](/windows/win32/services/about-services)
40+
- [SQL Server Configuration Manager](/sql/tools/configuration-manager/sql-server-configuration-manager)
41+
- [Command prompt](/sql/database-engine/configure-windows/start-stop-pause-resume-restart-sql-server-services#command-prompt-window-using-net-commands)
42+
43+
```cli
44+
NET START SQLSERVERAGENT
45+
```
46+
47+
- [PowerShell](/sql/database-engine/configure-windows/start-stop-pause-resume-restart-sql-server-services#powershell)
48+
49+
```powershell
50+
Start-Service SQLSERVERAGENT
51+
```
52+
53+
1. If the SQL Server Agent starts successfully, the problem is resolved. However, if the SQL Server Agent doesn't start, and it returns Error 1053, go to the next step.
54+
1. Check the SQL Agent logs, located at `%ProgramFiles%\Microsoft SQL Server\<Instance>\MSSQL\Log\SQLAGENT.OUT`, after you try to start the SQL Server Agent. If no new entries are added to the logs, this condition confirms that the SQL Server Agent fails before initialization. Go to the next step.
55+
1. Try to start the Event Log service by running the following command in an elevated Command Prompt window:
56+
57+
```cli
58+
NET START EVENTLOG
59+
```
60+
61+
1. If the Event Log service starts successfully, the problem is resolved. However, if the Event Log service doesn't start (no logs appear when you open the [Event Viewer](/host-integration-server/core/windows-event-viewer1)) go to the next step.
62+
1. Check the Event Log folder `C:\Windows\System32\winevt\Logs` for event log files:
63+
- If the folder contains `.evtx` log files, go to the next step.
64+
- If the folder doesn't contain log files, the Windows event log might be corrupted. To troubleshoot a corrupted Windows event log, see [How to delete corrupt Event Viewer Log files](~/windows-server/application-management/delete-corrupt-event-viewer-log-files.md).
65+
1. Use the [System File Checker (SFC)](/troubleshoot/windows-server/installing-updates-features-roles/system-file-checker) to repair any corrupted system components by running the following command in an elevated Command Prompt window:
66+
67+
```cli
68+
sfc /scannow
69+
```
70+
71+
1. Create a backup of the existing registry keys before you make any registry changes. Use one of the following methods:
72+
73+
- Open [Registry Editor](~/windows-server/performance/windows-registry-advanced-users.md#use-the-windows-user-interface), right-click the `HKLM\SOFTWARE\Policies\Microsoft\Windows\EventLog` key, and then select **Export**.
74+
75+
- In an elevated Command Prompt window, run the following command:
76+
77+
```cli
78+
reg export "HKLM\SOFTWARE\Policies\Microsoft\Windows\EventLog" "<Path_To_Store_Backup>/EventLog_Backup.reg"
79+
```
80+
81+
1. Open the [Registry Editor](~/windows-server/performance/windows-registry-advanced-users.md#use-the-windows-user-interface), and navigate to `HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\EventLog`.
82+
1. Under the `HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\EventLog` subkey and all its sub-entries:
83+
1. Identify and delete any registry values that are configured as a `DWORD` type.
84+
1. Re-create the deleted `DWORD` values by using the same name and the `REG_SZ` type.
85+
86+
1. Delete the problematic `HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\EventLog` subkey by running the following command:
87+
88+
```cli
89+
reg delete "HKLM\SOFTWARE\Policies\Microsoft\Windows\EventLog" /f
90+
```
91+
92+
1. Restart your device to let Windows re-create the event log configuration by using default settings.
93+
1. After your device restarts, start the Windows Event Log service by running the following command:
94+
95+
```cli
96+
NET START EVENTLOG
97+
```
98+
99+
The Event Log service should now start successfully.
100+
101+
1. Start the SQL Server Agent service by running the following command:
102+
103+
```cli
104+
NET START SQLSERVERAGENT
105+
```
106+
107+
The SQL Server Agent service should now start successfully.

support/sql/database-engine/toc.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,11 @@ items:
6565
- name: Startup, shutdown, restart issues (instance or database)
6666
href: startup-shutdown/toc.yml
6767

68+
- name: SQL Agent (Jobs, Alerts, Operators)
69+
items:
70+
- name: "Error 1053: The service did not respond to the start or control request in a timely fashion"
71+
href: agent/error-1053-service-did-not-start-timely.md
72+
6873
- name: SQL Server resource usage (CPU, Memory, Storage) and Configuration
6974
items:
7075
- name: 701 error with large batches
@@ -154,4 +159,4 @@ items:
154159
href: performance/performance-degradation-misaligned-io-sector-error.md
155160

156161
- name: Security, Encryption, Auditing, Authorization
157-
href: security/toc.yml
162+
href: security/toc.yml

0 commit comments

Comments
 (0)