You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: support/windows-server/windows-security/troubleshoot-netlogon-service-startup-failures.md
+41-32Lines changed: 41 additions & 32 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
title: Troubleshoot Netlogon service startup failures
3
3
description: Describes the symptoms, causes, and solutions for the scenarios that lead to Netlogon service startup failures.
4
-
ms.date: 04/30/2025
4
+
ms.date: 05/15/2025
5
5
manager: dcscontentpm
6
6
audience: itpro
7
7
ms.topic: troubleshooting
@@ -16,17 +16,19 @@ This article describes the symptoms, causes, and solutions for the scenarios tha
16
16
17
17
## Service dependencies
18
18
19
-
The Netlogon service provides support for New Technology LAN Manager (NTLM) logon requests, Kerberos Privilege Attribute Certificate (PAC) verifications, domain controller discovery, DNS registration of SRV records, managing the system's computer account password, and maintaining trust passwords on domain controllers. To accomplish these operations, Netlogon requires facilities of other components and services within the operating system. Generally known as Service Dependencies, Netlogon depends on the services noted in the picture below:
19
+
The Netlogon service provides support for New Technology LAN Manager (NTLM) sign-in requests, Kerberos Privilege Attribute Certificate (PAC) verifications, domain controller discovery, Domain Name System (DNS) registration of SRV records, managing the system's computer account password, and maintaining trust passwords on domain controllers. To accomplish these operations, Netlogon requires facilities of other components and services within the operating system. Known as Service Dependencies, Netlogon depends on the services noted in the following diagram:
20
20
21
21
:::image type="content" source="media/troubleshoot-netlogon-service-startup-failures/diagram-of-the-netlogon-service-dependencies.png" alt-text="A diagram of the Netlogon service dependencies.":::
22
22
23
-
Notice that Netlogon depends on the Workstation service, the Workstation service depends on the Browser, MrxSMB20, and NSI services, and so on. On servers operating as domain controllers, Netlogon has additional dependencies on the Server service, the Server service depends on SAMSS and SRV2, SRV2 depends on SRVNET, and so on. These dependency relationships are detailed by the Services MMC snap-in within the properties of the service's "Dependencies" tab. This dependency configuration is stored within the registry for each services' key under `HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services`. Contained within each service key is a value "DependsOnService" that defines the specific, direct dependencies of that service. For example, the Netlogon service registry key of a domain controller defines the DependOnService value containing the data "LanmanWorkstation LanmanServer".
23
+
The Netlogon service depends on the Workstation service. The Workstation service depends on the Browser, MrxSMB20, and NSI services, and so on. On domain controllers, the Netlogon service has additional dependencies on the Server service, and the Server service depends on the SAMSS and SRV2 services, with the SRV2 service depending on the SRVNET service, and so on.
24
24
25
-
To view the dependencies of the Netlogon service, leverage the Services MMC and inspect the service properties:
25
+
These dependency relationships are detailed by the Services MMC snap-in (Services.msc) within the properties of the service's **Dependencies** tab. This dependency configuration is stored within the registry for each services' key under the `HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services` registry key. Contained within each service key is a value **DependsOnService** that defines the specific, direct dependencies of that service. For example, the Netlogon service registry key of a domain controller defines the DependOnService value containing the data **LanmanWorkstation LanmanServer**.
26
+
27
+
To view the dependencies of the Netlogon service, use the Services MMC and inspect the service properties:
26
28
27
29
:::image type="content" source="media/troubleshoot-netlogon-service-startup-failures/screenshot-of-the-netlogon-service-properties.png" alt-text="A screenshot of the Netlogon service properties.":::
28
30
29
-
Another method of querying dependencies is via the Service Control Manager Configuration Tool (sc.exe) command line utility. Below is the output of the `QC` command to query the configuration for Netlogon service dependencies of a domain controller:
31
+
Another method of querying dependencies is to use the Service Control Manager Configuration Tool (sc.exe) command line utility. The following is the output of the `QC` command to query the configuration for the Netlogon service dependencies of a domain controller:
30
32
31
33
```console
32
34
C:\Windows\System32>sc qc netlogon
@@ -49,15 +51,15 @@ SERVICE_NAME: netlogon
49
51
Or, you may navigate to the Netlogon service registry key to inspect the service configuration:
50
52
51
53
1. Open the registry editor.
52
-
2. Browse to the desired service key (in this example, the path is `HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Netlogon`):
54
+
2. Browse to the desired service key. In this example, the path is `HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Netlogon`:
53
55
54
56
:::image type="content" source="media/troubleshoot-netlogon-service-startup-failures/screenshot-of-the-registry-editor.png" alt-text="A screenshot of the Registry Editor.":::
55
57
56
-
3. Confirm the proper settings. For example, dependencies are configured (**DependOnService** value), start type is defined (**Start** value), and the service binary (**ImagePath** value).
58
+
3. Confirm the settings are proper. For example, dependencies are configured (**DependOnService** value), start type is defined (**Start** value), and the service binary (**ImagePath** value).
57
59
58
60
### Troubleshoot
59
61
60
-
If a dependent service fails to start, both that service and any services with dependencies on it will likewise not start. When investigating a Netlogon service startup failure, it is important to identify which service was responsible for the failures in all other dependent services. For example, below are the System event log errors reported when the Netlogon service failed to startbecause the Workstation (LanmanWorkstation) service depends on another service (bowser) that failed to start:
62
+
If a dependent service fails to start, both that service and any services relying on the service don't start. When investigating a Netlogon service startup failure, it's important to identify which service was responsible for the failures in all other dependent services. For example, the following event logs are the System event log errors reported when the Netlogon service failed to start. The failure is caused because one the Workstation (LanmanWorkstation) service dependencies (bowser) failed to start:
61
63
62
64
> Log Name: System
63
65
> Source: Service Control Manager
@@ -75,18 +77,18 @@ If a dependent service fails to start, both that service and any services with d
75
77
76
78
## Netlogon startup failures issues
77
79
78
-
Netlogon startup failures (or any dependent service start failures) may require one or more actions to correct the problem. This can include (but is not limited to):
80
+
Netlogon startup failures (or any dependent service start failures) might require one or more actions to correct the problem. This can include (but isn't limited to):
79
81
80
-
-Correcting disabled dependent services
81
-
-Correcting invalid or missing service configuration registry values
82
-
-Restoring missing or corrupted executable or DLL files
83
-
-Correcting restrictive registry permissions
82
+
-Correct disabled dependent services.
83
+
-Correct invalid or missing service configuration registry values.
84
+
-Restore missing or corrupted executable or DLL files.
85
+
-Correct restrictive registry permissions.
84
86
85
-
Below are some of the event log errors that indicate that Netlogon has failed to start.
87
+
The following sections are some of the event log errors that indicate that Netlogon failed to start.
86
88
87
89
### Symptom 1
88
90
89
-
A dependent service did not start:
91
+
A dependent service doesn't start:
90
92
91
93
> Log Name: System
92
94
> Source: Service Control Manager
@@ -97,15 +99,15 @@ A dependent service did not start:
97
99
98
100
#### Resolution
99
101
100
-
Inspect the dependent services to determine which service(s) failed to start. Verify the services have a proper service start configuration using the Services MMC snap-in (Services.msc) to view and modify the service configuration.
102
+
Inspect the dependent services to determine which services failed to start. Verify the services have a proper service start configuration using the Services MMC snap-in to view and modify the service configuration.
101
103
102
-
In the example below, the Workstation service has been configured with a 'disabled' startup type and therefore is in a 'stopped' state:
104
+
In the following example, the Workstation service is configured with a **Disabled** startup type and therefore is in a **Stopped** state:
103
105
104
106
:::image type="content" source="media/troubleshoot-netlogon-service-startup-failures/screenshot-of-the-servicesmsc.png" alt-text="A screenshot of the services.msc.":::
105
107
106
108
:::image type="content" source="media/troubleshoot-netlogon-service-startup-failures/screenshot-of-the-workstation-service-properties.png" alt-text="A screenshot of the Workstation service properties.":::
107
109
108
-
Setting the **Startup type** to **Automatic** and starting the service will restore Workstation service operation.
110
+
Setting the **Startup type** to **Automatic** and starting the service restores the Workstation service operation.
109
111
110
112
### Symptom 2
111
113
@@ -119,15 +121,15 @@ A nonexistent or invalid service defined for the Netlogon service or a dependent
119
121
120
122
#### Resolution
121
123
122
-
An invalid service may be configured in the 'DependOnService' registry value of the Netlogon service or the service referenced in this value is missing as an installed service. In the example below, the Netlogon service on a member server failed to start because it was unable to validate a dependent service.
124
+
An invalid service might be configured in the **DependOnService** registry value of the Netlogon service or the service referenced in this value is missing as an installed service. In the following example, the Netlogon service on a member server failed to start because it can't validate a dependent service.
123
125
124
126
> Log Name: System
125
127
> Source: Service Control Manager
126
128
> Event ID: 7003
127
129
> Level: Error
128
130
> Description: The Netlogon service depends on the following service: Contoso\_Service. This service might not be installed.
129
131
130
-
Remove the offending entry found within the DependOnService registry value:
132
+
Remove the offending entry found within the **DependOnService** registry value:
131
133
132
134
:::image type="content" source="media/troubleshoot-netlogon-service-startup-failures/edit-the-depend-on-service-registry-value.png" alt-text="Edit the DependOnService registry value.":::
133
135
@@ -144,11 +146,15 @@ An invalid or missing service Dynamic Linked Library (DLL) specified causes a de
144
146
> Description: The Netlogon service depends on the \<SERVICE NAME\> service which failed to start because of the following error:
145
147
> The specified module could not be found.
146
148
147
-
Attempting to start Netlogon via Services MMC returns the error "Windows could not start the Netlogon service on Local Computer. Error 126: The specified module could not be found."
149
+
When you try to start the Netlogon service by using Services MMC, the following error message is displayed:
150
+
151
+
> Windows could not start the Netlogon service on Local Computer. Error 126: The specified module could not be found.
148
152
149
153
#### Resolution
150
154
151
-
Each service application must initialize dynamic linked libraries (DLLs) successfully in order to function. Perform a system file scan via the System File Checker (SFC.exe) tool (see <https://support.microsoft.com/en-us/topic/use-the-system-file-checker-tool-to-repair-missing-or-corrupted-system-files-79aa86cb-ca52-166a-92a3-966e85d4094e>), restore missing DLLs from backup, or perform a repair or reinstallation of the operating system.
155
+
Each service application must initialize DLLs successfully in order to function. Perform a system file scan by using the System File Checker (SFC.exe) tool, restore missing DLLs from backup, or perform a repair installation or a reinstallation of the operating system.
156
+
157
+
For more information, see [Use the System File Checker tool to repair missing or corrupted system files](https://support.microsoft.com/topic/use-the-system-file-checker-tool-to-repair-missing-or-corrupted-system-files-79aa86cb-ca52-166a-92a3-966e85d4094e)
152
158
153
159
### Symptom 4
154
160
@@ -161,24 +167,27 @@ An invalid or missing service executable specified causes a dependent service to
161
167
> Description: The Netlogon service failed to start due to the following error:
162
168
> The system cannot find the file specified.
163
169
164
-
Attempting to start Netlogon via Services MMC returns the error "Windows could not start the Netlogon service on Local Computer. Error 2: The system cannot find the file specified."
170
+
When you try to start the Netlogon service by using Services MMC, the following error message is displayed:
171
+
172
+
> Windows could not start the Netlogon service on Local Computer. Error 2: The system cannot find the file specified.
165
173
166
174
#### Resolution
167
175
168
-
Validate that the service(s) failing to start have a valid value configured in the "Path to executable" field when viewing service properties via the Services MMC, or validate the proper 'ImagePath' value in the registry for the affected service(s).
176
+
Validate that the services that fail to start have a valid value configured in the **Path to executable** field when viewing service properties via the Services MMC. Or, validate that the **ImagePath** value is proper in the registry for the affected services.
169
177
170
178
### Symptom 5
171
179
172
-
Netlogon reports that the service entered the stopped state during system boot. Attempting to manually start the service results in the following error:
173
-
The Netlogon service on Local Computer started and then stopped. Some services stop automatically if they are not in use by other services or programs.
180
+
The Netlogon service reports that the service entered the stopped state during system boot. When you try to manually start the service, the following error message is displayed:
181
+
182
+
> The Netlogon service on Local Computer started and then stopped. Some services stop automatically if they are not in use by other services or programs.
174
183
175
184
#### Resolution
176
185
177
-
Validate the service permissions within the registry are set to appropriate values. Permissions will vary based on the role of the system (for example domain controllers as compared to workstations or member servers). Ensure that no entries are specifying a 'deny' permission for 'SYSTEM' or 'Administrators'. By default, the registry permissions are inherited from the parent registry key and the owner is configured as 'SYSTEM'.
186
+
Validate the service permissions within the registry are set to appropriate values. Permissions vary based on the role of the system. For example, domain controllers as compared to workstations or member servers. Ensure that no entries are specifying a **Deny** permission for **SYSTEM** or **Administrators**. By default, the registry permissions are inherited from the parent registry key and the owner is configured as **SYSTEM**.
178
187
179
188
## Additional symptoms
180
189
181
-
Other services, such as the Windows Time Service or the Group Policy Service may report failed operations due to Netlogon not being started:
190
+
Other services, such as the Windows Time Service or the Group Policy Service might report failed operations due to the Netlogon service not being started:
182
191
183
192
> Log Name: System
184
193
> Source: Microsoft-Windows-Time-Service
@@ -198,7 +207,7 @@ Other services, such as the Windows Time Service or the Group Policy Service may
198
207
> Level: Error
199
208
> Description: The processing of Group Policy failed. Windows could not determine if the user and computer accounts are in the same forest. Ensure the user domain name matches the name of a trusted domain that resides in the same forest as the computer account.
200
209
201
-
Management or other operations relying on the Netlogon service will also fail:
210
+
Management or other operations relying on the Netlogon service also fail:
202
211
203
212
```console
204
213
nltest /sc_query:litware.com
@@ -214,15 +223,15 @@ System error 1792 has occurred.
214
223
An attempt was made to logon, but the network logon service was not started.
215
224
```
216
225
217
-
Domain controller locator will fail to locate a domain controller with error 1355 or "The specified domain either does not exist or could not be contacted".
226
+
Domain controller locator fails to locate a domain controller with error 1355 or "The specified domain either doesn't exist or couldn't be contacted".
218
227
219
-
Domain trust relationships may fail if all reachable domain controllers have their Netlogon service stopped:
228
+
Domain trust relationships might fail if all reachable domain controllers have their Netlogon services stopped:
220
229
221
230
> Log Name: System
222
231
> Source: NETLOGON
223
232
> Event ID: 5719
224
233
> Level: Error
225
-
> Description: This computer was not able to set up a secure session with a domain controller in domain <DOMAIN> due to the following:
234
+
> Description: This computer was not able to set up a secure session with a domain controller in domain \<DOMAIN\> due to the following:
226
235
> We can't sign you in with this credential because your domain isn't available. Make sure your device is connected to your organization's network and try again. If you previously signed in on this device with another credential, you can sign in with that credential.
227
236
> This may lead to authentication problems. Make sure that this computer is connected to the network. If the problem persists, please contact your domain administrator.
0 commit comments