Anavem
Languagefr
ErrorAD / Kerberos

0x8007054B

ERROR_DOMAIN_CONTROLLER_NOT_FOUND

Could not find the domain controller for this domain. DNS or network issue.

Hex code

0x8007054B

Decimal

-2147023285

Severity

Error

Category

AD / Kerberos

Description

ERROR_DOMAIN_CONTROLLER_NOT_FOUND (hex code 0x8007054B, decimal -2147023285) is a Windows error-level error code in the Active Directory & Kerberos family. Microsoft surfaces this code through the Win32 API, the Common Language Runtime, the kernel, the event log, PowerShell, command-line tools (sfc, dism, gpupdate, sc), and Windows-side applications such as Outlook, Teams, Office, and System Center.

Could not find the domain controller for this domain. DNS or network issue.

This page documents what triggers 0x8007054B, the most common scenarios where it appears, the likely root causes, and a step-by-step troubleshooting workflow you can run against affected endpoints. It is intended for system administrators, MSP technicians, helpdesk engineers, and anyone diagnosing Windows behavior in a managed environment.

In-depth explanation

This is an error-severity code. Windows uses it to signal a failed operation that prevented the caller from completing its work. The underlying cause can range from a permissions or quota issue to a corrupted system component, missing dependency, or unreachable service.

It is part of the Active Directory / Kerberos / SSPI error space. These codes typically surface in the Security event log, on the client side via Outlook, RDP, file shares, or SQL Server, and on the domain controller side in Netlogon.log and kerberos traces.

The code can be looked up programmatically in PowerShell with [ComponentModel.Win32Exception]::new(-2147023285).Message (for Win32 / NTSTATUS codes that map cleanly), or with net helpmsg <decimal> for the legacy decimal range. For HRESULT-style codes, decode the facility and code with err.exe from the SDK or via the WinDbg !error command.

Common causes

  • Time skew between client and DC greater than 5 minutes (Kerberos hard limit).
  • Missing or duplicate Service Principal Name (SPN) on the target service account.
  • Computer account password out of sync with AD — rejoin the domain or run nltest /sc_reset.
  • DNS resolution failing for the DC — verify _kerberos._tcp.<domain> SRV records.
  • Trusted root or intermediate CA missing on the client (smartcard / PKINIT scenarios).

Troubleshooting steps

  1. Verify time sync with w32tm /query /status — both client and DC must be within 5 minutes of each other.
  2. Check SPNs: setspn -L <account> on the service account, and setspn -X across the forest to detect duplicates.
  3. Re-establish the secure channel from an affected member: nltest /sc_verify:<domain>, then nltest /sc_reset:<domain> if needed.
  4. Validate DNS: from the client, nslookup -type=SRV _kerberos._tcp.<domain> must return reachable DCs.
  5. Capture a network trace with netsh trace or Wireshark filtered on kerberos to see the exact AS/TGS error code.

Decode in PowerShell

# Decode 0x8007054B (-2147023285) in PowerShell
[ComponentModel.Win32Exception]::new(-2147023285).Message

# Or via WinDbg / err.exe (Windows SDK)
# err 0x8007054B

# Or net helpmsg (legacy decimal range only)
# net helpmsg <decimal>

Frequently asked questions

What does the Windows error code 0x8007054B mean?
It is the Win32 / NTSTATUS code ERROR_DOMAIN_CONTROLLER_NOT_FOUND (decimal -2147023285). Could not find the domain controller for this domain. DNS or network issue.
How do I decode 0x8007054B in PowerShell?
Run [ComponentModel.Win32Exception]::new(-2147023285).Message in any PowerShell session. For HRESULT-style codes, use err.exe from the Windows SDK or the WinDbg !error command.
Where does Windows typically log this error?
It depends on the originating subsystem (Windows Update → %WinDir%\WindowsUpdate.log; AD/Kerberos → Security event log on the DC; BSOD → minidump under C:\Windows\Minidump; MSI → %TEMP%\msi*.log; WMI → Microsoft-Windows-WMI-Activity). Always cross-reference the timestamp and module name with the Application and System event logs.
Is this code recoverable?
Critical-severity codes usually require kernel-level investigation (driver, hardware, system file repair). Error and warning codes are typically recoverable through the troubleshooting workflow on this page — start with the elevated-shell + log review steps.
Should I open a Microsoft support case for this?
Open a case if the error reproduces after applying the troubleshooting steps, particularly if it blocks production workloads, occurs across multiple endpoints, or is associated with a security boundary (BitLocker recovery, Kerberos failure, DCOM hardening, SmartScreen / WDAC). Have a fresh CBS log, minidump, or Get-WinEvent export ready before opening the case.