Active Directory Series

🔍 [Incident Investigation] A Top 1% Hands-On for Investigating, From the Error Itself, Why You Can't Log In as Administrator After Promoting a New DC

Introduction

This article is part of the Top 1% Series Complete Article Guide, and article 15.1 in the Active Directory Series.

Prerequisite Knowledge

The Symptom: After the Post-Promotion Reboot, You Can No Longer Log In as Administrator

While testing a replacement from an old DC to a new DC (Windows Server 2025) on AWS, the following incident occurred.

  1. Promoting the new server to a DC triggered an automatic reboot.
  2. After the reboot, an RDP connection was attempted from a jump server to the new DC.
  3. The RDP connection’s popup (the credentials entry screen) showed no authentication error at all.
  4. But instead of transitioning to the new DC’s desktop, the new DC’s own Windows login screen rejected the password.
  5. Logging into the old DC and resetting the Administrator account’s password made the RDP connection to the new DC succeed normally.

Let’s walk through how to investigate this, starting from a state where you don’t know the procedure at all.

Investigation Step 1: Narrow Down Which Stage Is Failing, Using the Event Log

As covered in the troubleshooting section of How Kerberos Authentication Works, a Kerberos-related failure gets narrowed down by which stage is failing, using event IDs as the axis. Check the new DC’s own security log.

Get-WinEvent -FilterHashtable @{LogName='Security'; Id=4768,4771} -MaxEvents 20 |
    Select-Object TimeCreated, Id, Message | Format-List

Output (relevant part, illustrative):

TimeCreated : 2026-10-05 10:15:32
Id          : 4771
Message     : Kerberos pre-authentication failed.
              Account Information: Administrator
              Failure Code: 0x17 (KDC_ERR_ETYPE_NOTSUPP)

Event ID 4771 (a pre-authentication failure) is recorded, with the failure code 0x17 (KDC_ERR_ETYPE_NOTSUPP, “unsupported encryption type”). This means the KDC doesn’t hold a key, for this account, matching the encryption type (etype) the client presented. The client side likely attempted pre-authentication with AES (the newer, now-default encryption type), and you can infer it was rejected at this stage because no AES key exists for this account on the KDC side.

Why Didn't RDP's Popup Show an Error?

The credentials-entry popup during an RDP connection (NLA, Network Level Authentication) is network-level authentication for starting the connection. Even if authentication appears to get accepted here in some form, the actual Windows logon process (Winlogon) that transitions you to the desktop is a separate, more rigorous authentication exchange. Event ID 4771, confirmed in this article, is a record of the failure in the Kerberos authentication happening behind the scenes of that Winlogon stage. “No error from the popup” never means “authentication fully succeeded” — this is one reason this incident is confusing.

Investigation Step 2: Confirm Whether This Account Genuinely Lacks an AES Key

Confirm the hypothesis raised from the event log, from a different angle. Microsoft’s own published documentation contains an important statement: “the built-in Administrator account does not have an AES key, unless its password was changed on a DC running Windows Server 2008 or later.”

# Check this domain's Administrator account's last password change timestamp
Get-ADUser -Identity Administrator -Properties PasswordLastSet, whenCreated |
    Select-Object Name, PasswordLastSet, whenCreated

Output (illustrative):

Name          PasswordLastSet       whenCreated
----          ---------------       -----------
Administrator 2019-04-02 09:12:00   2019-04-02 09:10:15

It turns out this domain’s Administrator account’s password has never been changed since the domain was created. Exactly at the moment a password is set, the AES and RC4 keys each get computed and stored. In other words, the real dividing line wasn’t “whether the KDC service was running” at all — it was “what encryption-type keys were actually computed, the last time this account’s password was set.”

How This Differs From the Initial Hypothesis (That the KDC Service Hadn't Started)

In this investigation, no supporting evidence was found for the hypothesis that “the AES key wasn’t created because the KDC service hadn’t started yet at the time of new-DC promotion.” AES and RC4 key computation happens through the password-change processing pipeline (internal LSA/NTDS processing), not through the KDC service itself (the running Kerberos runtime process, as a Windows service) — so it has no direct relationship to whether the KDC service happens to be running. The real deciding factor was instead the password’s own history: when, and on which DC, this account’s password was last set.

Investigation Step 3: Confirm Why Resetting the Password Fixed It

After resetting Administrator’s password on the old DC, the RDP connection to the new DC started succeeding. This can be explained by the fact that resetting the password newly computed both the AES and RC4 keys, and replicated them to every DC in this domain, including the new DC.

# After the password reset, confirm replication has reached the new DC
repadmin /showrepl <new-DC-hostname>

Output (relevant part, illustrative):

Last success time: 2026-10-05 10:45:12 (no errors)

Once you confirm replication completed successfully, the AES-capable key should now be available on the new DC side too.

What a Pro Sees Here (Top 1% Understanding)

The Real Lesson From This Incident: “An Old Password Keeps Carrying Its Old Encryption Type”

The single most important lesson from this incident is that “when an account has existed for a long time and its password has never been changed, that account’s credentials stay frozen at whatever encryption type was in effect the last time that password was set — carried forward unchanged, for years, across however many OS upgrades.” No matter how many versions newer you upgrade a domain’s OS or DCs to, an existing account’s own credentials never automatically “get rewritten” to a newer encryption type. The only moment that actually refreshes an account’s credentials is the moment its password actually gets changed. This is a risk that runs through migrations and upgrades in general: “old data stays old, unless there’s an explicit opportunity to regenerate it” — in contrast to how RAID5’s parity never duplicates data, holding only the minimum information needed.

What Happens Building a Brand-New Windows Server 2025 DC on AWS

Building on this article’s investigation, consider the case of building an entirely new (no existing DC) forest and domain from scratch, on Windows Server 2025. In this case, the Administrator account’s password gets set exactly during the forest-creation wizard’s execution (Install-ADDSForest), on that very Windows Server 2025 machine. Based on this article’s findings, both the AES and RC4 keys should get computed right at that moment, and this incident should not normally occur. This incident actually becomes a real problem only in the specific scenario of gradually migrating an existing, old domain to new DCs — exactly the kind of replacement scenario covered here.

Common Misconceptions and Pitfalls

Troubleshooting Perspective

  1. One specific account can’t log in right after a new DC promotion: Check event ID 4771’s failure code; if it’s KDC_ERR_ETYPE_NOTSUPP, check that account’s last password change timestamp.
  2. Resetting the password still doesn’t fix the login: Use repadmin /showrepl to confirm replication to the new DC completed successfully.
  3. The same incident occurred even on a freshly built new forest: Check whether the Administrator account’s password history, through some means (restoring from a backup, migrating from a different domain, and similar), actually predates this new forest’s creation.

Preventive Measures and Permanent Fixes

Summary

Takeaways to Apply Today

  1. Before performing a DC replacement, always explicitly reset the password of any privileged account you plan to use beforehand.
  2. Never judge authentication as fully successful just because “the popup showed no error.”

References

Comments

Feel free to leave thoughts, questions, or corrections below (sign in with a GitHub account to comment or react).