Skip to content

Commit 865cf2b

Browse files
committed
Initial doc and toc
1 parent cbf5618 commit 865cf2b

2 files changed

Lines changed: 86 additions & 1 deletion

File tree

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
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 where the [SQL Server Agent](/ssms/agent/sql-server-agent) fails to start and returns error 1053.
12+
13+
## Symptoms
14+
15+
When this issue occurs, you see the following symptoms:
16+
17+
- The SQL Server Agent service fails to start after a recent Windows update.
18+
- The [Windows Event Log](/windows/win32/wes/windows-event-log) service also fails to start.
19+
20+
When the SQL Server Agent fails to start, it returns the following error message:
21+
22+
> Windows could not start the SQL Server Agent service on Local Computer. Error 1053: The service did not respond to the start or control request in a timely fashion.
23+
24+
## Cause
25+
26+
This issue occurs when one or more registry keys found under `HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\EventLog` are stored as a `DWORD` type rather than the correct `REG_SZ` (string) type.
27+
28+
These incorrect registry keys cause the Windows Event Log service to fail, which prevents the SQL Server Agent from starting.
29+
30+
## Solution
31+
32+
1. Verify that the SQL Agent fails to start by attempting to start it with one of the following tools:
33+
1. [Service Control Manager (services.msc)](/windows/win32/services/about-services)
34+
1. [SQL Server Configuration Manager](/sql/tools/configuration-manager/sql-server-configuration-manager)
35+
1. [Command Prompt](/sql/database-engine/configure-windows/start-stop-pause-resume-restart-sql-server-services#command-prompt-window-using-net-commands)
36+
1. [PowerShell](/sql/database-engine/configure-windows/start-stop-pause-resume-restart-sql-server-services#powershell)
37+
1. Check the SQL Agent logs located in `%ProgramFiles%\Microsoft SQL Server\<Instance>\MSSQL\Log\SQLAGENT.OUT` after attempting to start the SQL Agent. If no new entries are added to the logs, this confirmation that the SQL Agent service fails before initialization.
38+
1. Attempt to start the Event Log service by using the following command:
39+
40+
```cli
41+
NET START EVENTLOG
42+
```
43+
44+
If the Event Log service fails to start, no logs appear when you open the [Event Viewer](/host-integration-server/core/windows-event-viewer1).
45+
1. Check the Event Log folder (`C:\Windows\System32\winevt\Logs`) and verify that it contains log files. <!-- Check with SME what they should do if there are no log files -->
46+
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:
47+
48+
```cli
49+
sfc /scannow
50+
```
51+
52+
1. Identify any invalid registry keys under `HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\EventLog`. Look for keys of type `DWORD` instead of `REG_SZ`. <!-- Ask SME why we are identifying individual keys when we're going to delete all of them in a later step -->
53+
1. Create a backup of the existing registry keys before making any registry changes, run the following command:
54+
55+
```cli
56+
reg export "HKLM\SOFTWARE\Policies\Microsoft\Windows\EventLog" "<Path_To_Store_Backup>/EventLog_Backup.reg"
57+
```
58+
59+
1. Delete the problematic `HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\EventLog` key by running the following command:
60+
61+
```cli
62+
reg delete "HKLM\SOFTWARE\Policies\Microsoft\Windows\EventLog" /f
63+
```
64+
65+
1. Restart your device.
66+
1. After your device restarts, start the Windows Event Log service by running the following command:
67+
68+
```cli
69+
NET START EVENTLOG
70+
```
71+
72+
The Event Log service should now start successfully.
73+
74+
1. Start the SQL Server Agent service by running the following command:
75+
76+
```cli
77+
NET START SQLSERVERAGENT
78+
```
79+
80+
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)