Skip to content

Commit dd4e936

Browse files
committed
add change
1 parent 450532b commit dd4e936

File tree

1 file changed

+41
-32
lines changed

1 file changed

+41
-32
lines changed

support/windows-server/windows-security/troubleshoot-netlogon-service-startup-failures.md

Lines changed: 41 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Troubleshoot Netlogon service startup failures
33
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
55
manager: dcscontentpm
66
audience: itpro
77
ms.topic: troubleshooting
@@ -16,17 +16,19 @@ This article describes the symptoms, causes, and solutions for the scenarios tha
1616

1717
## Service dependencies
1818

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:
2020

2121
:::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.":::
2222

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.
2424

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:
2628

2729
:::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.":::
2830

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:
3032

3133
```console
3234
C:\Windows\System32>sc qc netlogon
@@ -49,15 +51,15 @@ SERVICE_NAME: netlogon
4951
Or, you may navigate to the Netlogon service registry key to inspect the service configuration:
5052

5153
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`:
5355

5456
:::image type="content" source="media/troubleshoot-netlogon-service-startup-failures/screenshot-of-the-registry-editor.png" alt-text="A screenshot of the Registry Editor.":::
5557

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).
5759

5860
### Troubleshoot
5961

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 start because 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:
6163

6264
> Log Name: System
6365
> Source: Service Control Manager
@@ -75,18 +77,18 @@ If a dependent service fails to start, both that service and any services with d
7577
7678
## Netlogon startup failures issues
7779

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):
7981

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.
8486

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.
8688

8789
### Symptom 1
8890

89-
A dependent service did not start:
91+
A dependent service doesn't start:
9092

9193
> Log Name: System
9294
> Source: Service Control Manager
@@ -97,15 +99,15 @@ A dependent service did not start:
9799
98100
#### Resolution
99101

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.
101103

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:
103105

104106
:::image type="content" source="media/troubleshoot-netlogon-service-startup-failures/screenshot-of-the-servicesmsc.png" alt-text="A screenshot of the services.msc.":::
105107

106108
:::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.":::
107109

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.
109111

110112
### Symptom 2
111113

@@ -119,15 +121,15 @@ A nonexistent or invalid service defined for the Netlogon service or a dependent
119121
120122
#### Resolution
121123

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.
123125

124126
> Log Name: System
125127
> Source: Service Control Manager
126128
> Event ID: 7003
127129
> Level: Error
128130
> Description: The Netlogon service depends on the following service: Contoso\_Service. This service might not be installed.
129131
130-
Remove the offending entry found within the DependOnService registry value:
132+
Remove the offending entry found within the **DependOnService** registry value:
131133

132134
:::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.":::
133135

@@ -144,11 +146,15 @@ An invalid or missing service Dynamic Linked Library (DLL) specified causes a de
144146
> Description: The Netlogon service depends on the \<SERVICE NAME\> service which failed to start because of the following error:
145147
> The specified module could not be found.
146148
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.
148152
149153
#### Resolution
150154

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)
152158

153159
### Symptom 4
154160

@@ -161,24 +167,27 @@ An invalid or missing service executable specified causes a dependent service to
161167
> Description: The Netlogon service failed to start due to the following error:
162168
> The system cannot find the file specified.
163169
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.
165173
166174
#### Resolution
167175

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.
169177

170178
### Symptom 5
171179

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.
174183
175184
#### Resolution
176185

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**.
178187

179188
## Additional symptoms
180189

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:
182191

183192
> Log Name: System
184193
> Source: Microsoft-Windows-Time-Service
@@ -198,7 +207,7 @@ Other services, such as the Windows Time Service or the Group Policy Service may
198207
> Level: Error
199208
> 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.
200209
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:
202211

203212
```console
204213
nltest /sc_query:litware.com
@@ -214,15 +223,15 @@ System error 1792 has occurred.
214223
An attempt was made to logon, but the network logon service was not started.
215224
```
216225

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".
218227

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:
220229

221230
> Log Name: System
222231
> Source: NETLOGON
223232
> Event ID: 5719
224233
> 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:
226235
> 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.
227236
> 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.
228237

0 commit comments

Comments
 (0)