Skip to content

Commit b3e3140

Browse files
committed
update article based on TR comments.
1 parent b28f51a commit b3e3140

File tree

3 files changed

+27
-8
lines changed

3 files changed

+27
-8
lines changed
Loading
Loading

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

Lines changed: 27 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,23 +12,42 @@ ms.custom:
1212
---
1313
# Troubleshoot Netlogon service startup failures
1414

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
22+
- Kerberos Privilege Attribute Certificate (PAC) verifications
23+
- Domain controller (DC) discovery
24+
- Managing the host ServicePrincipalNames
25+
- Managing the system's computer account password
26+
27+
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)
1635

1736
## Service dependencies
1837

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

2140
:::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.":::
2241

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

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

2746
To view the dependencies of the Netlogon service, use the Services MMC and inspect the service properties:
2847

2948
:::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.":::
3049

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

3352
```console
3453
C:\Windows\System32>sc qc netlogon
@@ -183,7 +202,7 @@ The Netlogon service reports that the service entered the stopped state during s
183202
184203
#### Resolution
185204

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

188207
## Additional symptoms
189208

@@ -223,9 +242,9 @@ Validate the service permissions within the registry are set to appropriate valu
223242
An attempt was made to logon, but the network logon service was not started.
224243
```
225244

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

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

230249
> Log Name: System
231250
> Source: NETLOGON

0 commit comments

Comments
 (0)