Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security & DevOps Insights

  • Home
  • About
  • Advertise With US
  • Reviews
  • Contact
  • Toggle search form
Home » Windows Server » Unable to locate the account: Fix call to DsGetDcNameWithAccount failed with return value 0x0000054B
  • Perform Site Maintenance or reset this site greyed out
    Fix “Perform Site Maintenance or reset this site” greyed out Windows Server
  • Screenshot 2020 05 16 at 15.18.10
    AWS CLI Error: All commands return Unknown output type [None] Network | Monitoring
  • ext
    How to install a standalone DriveLock Encryption software on Windows Security | Vulnerability Scans and Assessment
  • Docker internal external
    Running Docker commands returns Docker is not recognized as an internal or external command Containers
  • connect GitHub and Build a CI:CD Pipeline with Vercel
    How to connect GitHub and Build a CI/CD Pipeline with Vercel Version Control System
  • powershell01
    How to create a KDS root key using PowerShell Scripts
  • Veeam upgrade11 11a
    How to upgrade Veeam Backup and Replication from version 11 to 11a Backup
  • Certificate does not contain the private key
    Server Certificate could not be updated: Private key does not match Windows Server

Unable to locate the account: Fix call to DsGetDcNameWithAccount failed with return value 0x0000054B

Posted on 16/03/202125/03/2024 Christian By Christian 2 Comments on Unable to locate the account: Fix call to DsGetDcNameWithAccount failed with return value 0x0000054B
fds

A service principal name (SPN) is a unique identifier of a service instance. SPNs are used by Kerberos authentication to associate a service instance with a service logon account. This allows a client application to request that the service authenticate an account, even if the client does not have the account name.In this article, we shall discuss “Unable to locate the account: Fix call to DsGetDcNameWithAccount failed with return value 0x0000054B”. Learn about the various types of Kerberos delegations.

Setspn is a command-line tool that is built into Windows Server 2008. It is available if you have the Active Directory Domain Services (AD DS) server role installed.

Also, see how to perform redirection from HTTP to HTTPS. Also see how to configure SSL between WSUS upstream and downstream servers, and how to set up and configure Windows server update services (WSUS).

How to run SPN in Elevated Mode

To use setspn, you must run the setspn command from an elevated command prompt. To open an elevated command prompt, click Start, right-click Command Prompt, and then click Run as administrator.

The following error could be a result of many other issues. In my case, I had no permission issue. The environment and service accounts were all available and correctly configured to run the SPN command.

Yet it failed with the following error “FindDomainForAccount: Call to DsGetDcNameWithAccountW failed with return value 0x0000054B. Unable to locate account MBAM-IISAP-SVC”

Screenshot-2021-03-16-at-14.23.40

Note: If you do not have administrative rights to create SPNs, you must ask the Domain administrators in their Organisation Administrators in your organisation to create the SPN for you by using the following command. To set this for your NetBIOS hostname, use the command below.

Kindly refer to the following related contents: Event ID 5059: Application pool has been disabled or Changing identity user for IIS Application Pool, and how to install Pleasant Password Server.

Solution

Please review the SPN command you are using to set (register) the Service Principal Name (SPN) for the hostname or FQDN under the domain account.

As you can see in the image above, I had an error in the account name. I was using “techdirectarchive\MBAM-IISAP-SVC” instead of “techdirectarchi\MBAM-IISAP-SVC”. This can be very difficult to spot if you have used to a specific domain account name. Upon noticing this, I ran the command again and it was successful.

setspn.exe -S http/mbamserv1 techdirectarchi\MBAM-IISAP-SVC
Screenshot 2021 03 16 at 14.23.40

This will enable the MBAM server to authenticate communication from the Administration and Monitoring Website and the Self-Service Portal.

You must register a Service Principal Name (SPN) for the hostname or FQDN under the domain account that you are using for the web application pool “in my case MBAM-IISAP-SVC”. 

To see the list SPNs registered to target accounts for the specific server, please run the following.

SETSPN -L mbamserv1
Screenshot-2021-03-16-at-21.14.05

Note: If the logon account of a service instance changes, the SPNs must be re-registered under the new account. 

I hope you found this blog post helpful on “Unable to locate the account: Fix call to DsGetDcNameWithAccount failed with return value 0x0000054B”. If you have any questions, please let me know in the comment session.

Rate this post

Thank you for reading this post. Kindly share it with others.

  • Click to share on X (Opens in new window) X
  • Click to share on Reddit (Opens in new window) Reddit
  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on Pinterest (Opens in new window) Pinterest
  • Click to share on Tumblr (Opens in new window) Tumblr
  • Click to share on Telegram (Opens in new window) Telegram
  • Click to share on WhatsApp (Opens in new window) WhatsApp
  • Click to share on Pocket (Opens in new window) Pocket
  • Click to share on Mastodon (Opens in new window) Mastodon
  • Click to share on Bluesky (Opens in new window) Bluesky
  • Click to share on Threads (Opens in new window) Threads
  • Click to share on Nextdoor (Opens in new window) Nextdoor
Windows Server Tags:IIS, Service Logon Account, services, users, Windows Server 2016

Post navigation

Previous Post: How to add an account to the local IIS_IUSRS group
Next Post: Configure log on as a batch job permissions on any server

Related Posts

  • image 1
    Install and License Devolutions Remote Desktop Manager Mac
  • troubleshooting Active Directory Replication
    How to troubleshoot Active Directory Replication issues Network | Monitoring
  • kerberosdelegation
    Kerberos Delegation: A Comprehensive Guide Web Server
  • QueryBitLocker1
    Query Windows BitLocker status remotely Windows
  • rdp5
    Change expired RDP Password: How to change a password on a Remote Desktop session Windows Server
  • DC 3
    How to demote and remove a Domain Controller on Windows Servers Windows Server

More Related Articles

image 1 Install and License Devolutions Remote Desktop Manager Mac
troubleshooting Active Directory Replication How to troubleshoot Active Directory Replication issues Network | Monitoring
kerberosdelegation Kerberos Delegation: A Comprehensive Guide Web Server
QueryBitLocker1 Query Windows BitLocker status remotely Windows
rdp5 Change expired RDP Password: How to change a password on a Remote Desktop session Windows Server
DC 3 How to demote and remove a Domain Controller on Windows Servers Windows Server

Comments (2) on “Unable to locate the account: Fix call to DsGetDcNameWithAccount failed with return value 0x0000054B”

  1. Avatar photo Nikku says:
    22/03/2024 at 3:32 AM

    thanks for this knowledge. I was able to fix one of issue from this article

    Log in to Reply
    1. Avatar photo Christian says:
      22/03/2024 at 10:17 AM

      You are welcome, Nikku!

      Log in to Reply

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

VEEAMLEGEND

vexpert-badge-stars-5

Virtual Background

GoogleNews

Categories

veeaam100

sysadmin top30a
 
  • Perform Site Maintenance or reset this site greyed out
    Fix “Perform Site Maintenance or reset this site” greyed out Windows Server
  • Screenshot 2020 05 16 at 15.18.10
    AWS CLI Error: All commands return Unknown output type [None] Network | Monitoring
  • ext
    How to install a standalone DriveLock Encryption software on Windows Security | Vulnerability Scans and Assessment
  • Docker internal external
    Running Docker commands returns Docker is not recognized as an internal or external command Containers
  • connect GitHub and Build a CI:CD Pipeline with Vercel
    How to connect GitHub and Build a CI/CD Pipeline with Vercel Version Control System
  • powershell01
    How to create a KDS root key using PowerShell Scripts
  • Veeam upgrade11 11a
    How to upgrade Veeam Backup and Replication from version 11 to 11a Backup
  • Certificate does not contain the private key
    Server Certificate could not be updated: Private key does not match Windows Server

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 1,841 other subscribers
  • RSS - Posts
  • RSS - Comments
  • About
  • Authors
  • Write for us
  • Advertise with us
  • General Terms and Conditions
  • Privacy policy
  • Feedly
  • Telegram
  • Youtube
  • Facebook
  • Instagram
  • LinkedIn
  • Tumblr
  • Pinterest
  • Twitter
  • mastodon

Tags

AWS Azure Bitlocker Microsoft Windows PowerShell WDS Windows 10 Windows 11 Windows Deployment Services Windows Server 2016

Copyright © 2025 TechDirectArchive

 

Loading Comments...
 

You must be logged in to post a comment.