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
+27-8Lines changed: 27 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,23 +12,42 @@ ms.custom:
12
12
---
13
13
# Troubleshoot Netlogon service startup failures
14
14
15
-
This article describes the symptoms, causes, and solutions for the scenarios that lead to Netlogon service startup failures.
15
+
This article describes the symptoms, causes, and solutions for the scenarios that lead to Netlogon service startup failures. The Netlogon service only runs when the computer is joined to Active Directory. When the computer is joined to Entra ID only, the Netlogon service doesn't run.
16
+
17
+
## Introduction of the Netlogon service
18
+
19
+
The Netlogon service on domain members provides supports for the following functionalities:
20
+
21
+
- New Technology LAN Manager (NTLM) sign-in requests
On DCs, the Netlogon services also handles these tasks:
28
+
29
+
- Sharing out the SYSVOL and NETLOGON shares after startup.
30
+
- Domain Name System (DNS) registration of NTDS records (A, AAAA, and SRV)
31
+
- Managing the DC function ServicePrincipalNames
32
+
- Maintaining trust passwords
33
+
- Reading and building the subnet/site mappings the server side of DC locator needs to tell the clients about their site
34
+
- Maintaining a list of known trusted domains for security checking (trust scanner)
16
35
17
36
## Service dependencies
18
37
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:
38
+
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
39
21
40
:::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
41
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.
42
+
The Netlogon service depends on the Workstation service. The Workstation service depends on the Browser, MrxSMB20, and NSI services, and so on. On DCs, 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
43
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**.
44
+
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 DC defines the DependOnService value containing the data **LanmanWorkstation LanmanServer**.
26
45
27
46
To view the dependencies of the Netlogon service, use the Services MMC and inspect the service properties:
28
47
29
48
:::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.":::
30
49
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:
50
+
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 DC:
32
51
33
52
```console
34
53
C:\Windows\System32>sc qc netlogon
@@ -183,7 +202,7 @@ The Netlogon service reports that the service entered the stopped state during s
183
202
184
203
#### Resolution
185
204
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**.
205
+
Validate the service permissions within the registry are set to appropriate values. Permissions vary based on the role of the system. For example, DCs 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**.
187
206
188
207
## Additional symptoms
189
208
@@ -223,9 +242,9 @@ Validate the service permissions within the registry are set to appropriate valu
223
242
An attempt was made to logon, but the network logon service was not started.
224
243
```
225
244
226
-
3.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".
245
+
3.DC locator fails to locate a DC with error 1355 or "The specified domain either doesn't exist or couldn't be contacted".
227
246
228
-
4. Domain trust relationships might fail if all reachable domain controllers have their Netlogon services stopped:
247
+
4. Domain trust relationships might fail if all reachable DCs have their Netlogon services stopped:
0 commit comments