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: Oldest
  1. Anonymous
    2025-01-08T10:19:26+00:00

    It is clear that version 24H2 has a serious problem with certain network/domain combinations.

    In our case, a Windows Server 2016 Domain server, a Single Label domain, which works without problems with versions 23H2 of W11 and W10.

    We have tried all the recommendations found:

    • Activate the key AllowSingleLabelDnsDomain in the registry
    • Disable IP6
    • Manually configure the DNS
    • use the .local suffix of our domain

    The only solution that worked for us, but partially, was to activate the Credential Guard by editing the Windows registry In the path HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa including the key "LsaCfgFlags" with value 1 or 2 (to use or not the UEFI lock, 1 uses it, 2 does not...)

    This option already allows logging in with the domain user, but all connections to shared resources or logon scripts or access to shared directories of sysvol or netlogon are lost, so our users do not have full functionality when connecting to our network.

    The only thing that works is going back to version 23H2 from the Windows Update options, as long as it hasn't been more than 10 days since the PC was updated.

    To prevent this DISASTER VERSION of Windows 11 from being installed, we have created a script with registry modifications to block the version to 23H2

    In the path: HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate

    Create the keys:

    • "TargetReleaseversion" type DWORD32, with value: 1
    • "TargetReleaseversionInfo" type STRING, with value: 23H2

    Currently we cannot get the 23H2 ISO since Microsoft only offers 24H2 to the public, but if you are a Microsoft Insider, you can get the 23H2 ISO by downloading the iso: Windows 11 Insider Preview (Beta Channel) - Build 22621

    I'm afraid we have to wait for Microsoft to create a new build that fixes all these problems. In the meantime, formatting, reinstalling or returning to Windows 10 are the options we will have to use.

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2025-01-09T21:16:57+00:00

    We are having the same issue, and the work-around we've been using is just doing an offline domain join using the djoin command.

    Was this answer helpful?

    0 comments No comments
  3. 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
  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-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