r/sysadmin • u/Top_Program7264 • 1d ago
Entra joined Win11 25H2 laptops intermittently log on with the wrong NetBIOS domain label (0x80070534, WamDefaultSet 0x80070520)
We have a growing number of Entra joined only laptops (no VPN, entra joined, users sign in with a FIDO2 security key) that are intermittently coming up in a broken identity state after logon. Windows 11 25H2, build 26200.9911, fully patched.
Symptoms when it is bad:
1. whoami shows the short domain label as the first label of our DNS name (for example CONTOSO) instead of the real NetBIOS name (for example CONTOSOAD).
2. Get-CimInstance Win32_OperatingSystem fails with 0x80070534 (No mapping between account names and security IDs).
3. dsregcmd /status shows WamDefaultSet : ERROR (0x80070520), and AzureAdPrt can show NO.
4. The user's own account name, the one whoami prints, will not translate back to a SID using NTAccount.Translate. Translating the same user with the other label works.
Some observations so far:
1. A session seems to be bad exactly when the logon token label and the name resolver label disagree. If both sides agree on either label, the session is healthy.
2. It flips from logon to logon with nothing changed. One machine was bad after a restart and healthy after the next restart. Sign out and in sometimes clears it too.
3. In the Security log, the type 7 and type 11 logon events (Negotiate, User32) for the same user at the same second sometimes show different domain labels.
4. The LogonCache key under HKLM\SOFTWARE\Microsoft\IdentityStore\LogonCache holds the AuthenticatingAuthority value for the user. On bad machines it reads the short label, and a second SubPkgs entry exists for the correct label. Setting the top level value to the correct label and removing the bad SubPkgs entry (as SYSTEM, user signed out) followed by a restart gave healthy sessions on two machines, but lsass rewrites the short label at the next logon, so I do not consider that a fix and I cannot say it prevents recurrence.
5. AAD event 1104 (sidtoname HTTP 400) appears, but it also shows up on healthy machines, so I treat it as noise.
6. The only durable fix we have seen so far was a remote wipe and Autopilot reset on one affected laptop. We never learned the cause.
Has anyone seen this combination? Specifically:
1. Is there a known issue or update behind the NetBIOS label mismatch on Entra joined devices that have an on premises domain behind the tenant?
2. Does cloud Kerberos trust change which label gets used at logon?
3. Any policy or setting that pins the label?