Window 11 24H2 / Can't Join Domain

Anonymous
2024-08-28T15:27:07+00:00

We have about 500 PCs on our domain. Functional level is Server 2016. We received our first laptop from Dell which shipped with Windows 11 Pro 24H2 and it will not join. Since it's failure, I've tested various versions of Win10 and Win11 not running 24H2 and they all join just fine.

netsetup.log shows:

08/28/2024 08:09:17:784 -----------------------------------------------------------------

08/28/2024 08:09:17:784 NetpValidateName: checking to see if 'XPS' is valid as type 1 name

08/28/2024 08:09:17:784 NetpCheckNetBiosNameNotInUse for 'XPS' [MACHINE] returned 0x0

08/28/2024 08:09:17:784 NetpValidateName: name 'XPS' is valid for type 1

08/28/2024 08:09:17:810 -----------------------------------------------------------------

08/28/2024 08:09:17:810 NetpValidateName: checking to see if 'xps' is valid as type 5 name

08/28/2024 08:09:17:810 NetpValidateName: name 'xps' is valid for type 5

08/28/2024 08:09:17:816 -----------------------------------------------------------------

08/28/2024 08:09:17:816 NetpValidateName: checking to see if 'domainname' is valid as type 3 name

08/28/2024 08:09:17:816 NetpValidateName: 'domainname' is not a valid NetBIOS domain name: 0x7b

08/28/2024 08:09:28:877 NetpCheckDomainNameIsValid for domainname returned 0x54b, last error is 0x0

08/28/2024 08:09:28:877 NetpCheckDomainNameIsValid [ Exists ] for 'domainname' returned 0x54b

The PC attempting to join sits on the same subnet as our DCs and there are no security appliances/firewalls filtering traffic.

From the 24H2 PC that won't join, I have tried or am able to:

  • perform name resolution to various hostnames via nslookup
  • verified inbound/outbound AD ports are open on our DCs
  • DCs are replicating and are healthy (other PCs join w/o issue)
  • Access any other resource on our LAN
  • Tried statically assigning DNS servers (which are our DCs) on the PCs NIC
  • Disabled Windows firewall on the PC
  • Factory reset the laptop (Dell XPS 13 9345) and attempted again with no success

Another post suggest searching for a registry key relating to NT4Emulator on the DCs in the event the domain ever had an NT4 DC. This key doesn't exist on our DCs and if we had a DC running NT4 here, it was way before my arrival.

I can't think of any reason why this laptop is different other than it's the first running 24H2. I can't seem to find anyone having this issue.

Any help or suggestions is appreciated.

Windows for business | Windows Server | Directory services | Active Directory

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

72 answers

Sort by: Newest
  1. Anonymous
    2025-01-16T13:08:57+00:00

    It took forewer, but abracadabra:

    disable IPv6. / restart

    done.

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2025-01-15T23:25:19+00:00

    nltest /dsgetdc:<domainname>

    nslookup -type=SRV _ldap._tcp.dc._msdcs.<domainname>

    Run these commands from windows clients, and confirm SRV location for your domain is available on DNS server. If not good to update. Give a try.

    OK -- I run these commands on an older system, and whether I use the older NetBIOS name of simply "NAME" or if I use the full "NAME.ORG.COM", I get back the same data fro either command, and all is well.

    On my 24H2 laptop, though, I get the same (good) results from NAME.ORG.COM, but for just NAME, I get Status 1355, No Such Domain on the NLTEST request.

    Both machines use the same DHCP server (one of the DC's). Both machines use the same DNS servers (the two DC's in the domain). Both machines are using the same logins. I tried enabling the AllowSingleLabelDnsDomain setting in the registry, but no change. This is quite maddening.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  3. Anonymous
    2025-01-15T14:33:08+00:00

    Hi Everyone,

    I encountered the same issue, specifically with my 24H2 OSD deployment. Every time I deployed 23H2, the OS installation and domain join were successful. However, with 24H2, I ran into problems. Upon checking the NetSetup.log, I noticed that the Setup Config Manager step took 20 minutes, during which the following errors occurred:

    - NetpModifyComputerObjectInDs: Account exists and re-use is blocked by policy. Error: 0xaac

    - NetpProvisionComputerAccount: LDAP creation failed: 0xaac

    As a result, the client could not join the domain.

    I found an Article indicating that if the OS was patched with the August 13, 2024 update, even 23H2 would fail due to NetJoinLegacyAccountReuse.

    The issue arises if:

    • The user attempting the operation is the creator of the existing account.
    • The computer was created by a member of domain administrators.
    • The owner of the computer account being reused is part of the "Domain controller: Allow computer account re-use during domain join" Group Policy setting.

    This setting requires the installation of Windows updates released on or after March 14, 2023, on all member computers and domain controllers.

    **Solution:**

    Configure the new allow list policy using Group Policy on a domain controller and remove any legacy client-side workarounds. Follow these steps:

    1. Install the September 12, 2023, or later updates on all member computers and domain controllers.
    2. In a new or existing group policy that applies to all domain controllers, configure the settings as follows:
      • Navigate to Computer Configuration\Policies\Windows Settings\Security Settings\Local Policies\Security Options
      • Double-click Domain controller: Allow computer account re-use during domain join
      • Select Define this policy setting and ``
      • Use the object picker to add users or groups of trusted computer account creators and owners to the Allow permission (preferably using groups for permissions). Do not add the user account performing the domain join.

    **Warning:**

    Limit membership to the policy to trusted users and service accounts. Do not add authenticated users, everyone, or other large groups. Instead, add specific trusted users and service accounts to groups, then add those groups to the policy.

    1. Wait for the Group Policy refresh interval or run gpupdate /force on all domain controllers.
    2. Verify that the HKLM\System\CCS\Control\SAM – "ComputerAccountReuseAllowList" registry key is populated with the desired SDDL. Do not manually edit the registry.
    3. Attempt to join a computer with the September 12, 2023, or later updates installed. Ensure one of the accounts listed in the policy owns the computer account. If the domain join fails, check the c:\windows\debug\netsetup.log.

    If additional workarounds are needed, review computer account provisioning workflows and understand if changes are required. Here are some options:

    • Perform the join operation using the same account that created the computer account in the target domain.
    • If the existing account is stale (unused), delete it before attempting to join the domain again.
    • Rename the computer and join using a different account that doesn’t already exist.
    • If the existing account is owned by a trusted security principal and an administrator wants to reuse the account, follow the guidance in the Take Action section to install the September 2023 or later Windows updates and configure an allow list.

    **I have opened a case with Microsoft and have received confirmation that the above is a solution to this problem**.

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2025-01-15T07:15:11+00:00

    I had the same problem with a "mydom." without tld .lan, .local .

    The problem was present both on 23H2 and 24H2

    Here is the fix I found and solved the problem :

    On each DC :

    KEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Netlogon\Parameters\AllowSingleLabelDnsDomain  (dword 1)
    

    On computer :

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DnsCache\Parameters\UpdateTopLevelDomainZones (dword 1)
    

    Restart computer and join on "mydomain." (do not forget the "." to validate tld )

    Was this answer helpful?

    2 people found this answer helpful.
    0 comments No comments
  5. Anonymous
    2025-01-10T16:35:02+00:00

    same story here with same results.

    Are we even sure this problem lands at Microsoft? till now no relpy from moderator, technician or something.

    just silence...

    Was this answer helpful?

    0 comments No comments