Share via

Investigating Recurrent Secure Channel Trust Failures in Hybrid Windows 10/11 and Server 2012 Environments

Thiagorrrrr Salazar 20 Reputation points
2026-05-13T14:12:57.03+00:00

Hi guys.

There are persistent secure channel breakdowns that disrupt the trust relationship between various Windows 10 and 11 endpoints and our central directory services. Although performing a manual disjoin and rejoin of the computer objects temporarily restores connectivity, the authentication handshake fails again within a twenty-four-hour cycle, suggesting that the machine account password rotation is not being correctly acknowledged by the Windows Server 2012 environment. Given that this regression occurs despite successful initial binding, we are investigating whether specific security negotiation protocols or time-skew tolerances on the legacy server are conflicting with the modern security baselines of the client workstations.

Windows for business | Windows Server | Directory services | Active Directory
0 comments No comments

Answer accepted by question author

Domic Vo 23,805 Reputation points Independent Advisor
2026-05-13T14:47:16.11+00:00

Hi Thiagorrrrr Salazar,

You must ensure the server environment is fully patched to support these hardened communication protocols rather than attempting to lower the security posture of your modern endpoints by altering registry values under the Netlogon parameters key.

To safely diagnose and repair the secure channel without executing destructive domain disjoins that corrupt local profile associations, you can force an immediate trust secret synchronization directly from an elevated administrative console on the client. Running the command line utility utility with the syntax nltest /sc_reset:yourdomain.com or utilizing the native PowerShell cmdlet Reset-ComputerMachinePassword will explicitly update the password secret between the endpoint and the directory service.

Hope this answer brought you some useful information. If it did, please hit “accept answer”. Should you have any questions, feel free to leave a comment.

Domic V.

Was this answer helpful?

1 person found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. AI answer

    2026-05-13T14:13:19.57+00:00

    The behavior matches a repeatedly broken secure channel between domain-joined clients and domain controllers. Focus on three areas: secure channel health, computer account password consistency, and network/RPC behavior between Windows 10/11 and the Windows Server 2012 DCs.

    1. Verify this is a secure channel problem
    • On affected clients, check System event log for NETLOGON events such as 5719, 5722, 5723, 3210, or 5816 indicating secure channel or logon server issues.
    • Run from an elevated command prompt on an affected client:
        nltest /sc_query:<yourdomain.tld>
      
      If Status = 5 0x5 ERROR_ACCESS_DENIED or similar appears, it confirms a broken secure channel.
    1. Check for network/RPC issues first Before focusing on passwords, confirm that the secure channel is not intermittently broken by network problems:
    • Ensure required ports between clients and DCs are open and not filtered (firewalls, VPNs, IPS, etc.). Use the PortQry tool to validate ports as described in the secure channel article.
    • If the issue is only network-related, fix the network path (firewall rules, routing, WAN optimization, etc.) so that the Netlogon secure channel can remain stable.
    1. Investigate computer account password mismatch The recurring 24‑hour break strongly suggests that the computer account password on the client and in Active Directory are diverging after each automatic password change.

    Follow the secure channel troubleshooting flow:

    1. Collect data:
      • On an affected client, in System log, look for Event ID 5823 (Source: NETLOGON) to see when the system last successfully changed its machine password.
      • Compare:
        • pwdLastSet on the computer object in Active Directory.
        • cupdtime in the client’s LSA secret (HKEY_LOCAL_MACHINE/Security/Policy/Secrets/$MACHINE.ACC/cupdtime).
      • This comparison shows whether AD has a newer password than the client, or the client has a newer password than AD.
    2. Based on what is newer:
      • If Active Directory has a newer password value than the client device, follow the guidance in “Active Directory has a newer password value than the client device.”
      • If the client device has a newer password value than Active Directory (for example, after DC restore, replication issues, or 2012 DC problems), follow “Client device has a newer password value than Active Directory.”
    3. Reset the secure channel password cleanly:
      • After resolving any network issues, on an affected client run from an elevated command prompt:
             nltest.exe /sc_change_pwd:<yourdomain.tld>
        
      • Restart the client and verify domain logon and nltest /sc_query again.
    1. Validate DC and trust health Because Server 2012 is involved and the problem is recurrent, also validate:
    • Trust relationships between domains (if multi-domain or multi-forest). Use Netdiag trust tests or similar to confirm no broken inter-domain secure channels.
    • If replication across domains is failing with “Access is denied,” check for invalid trusts or broken secure channels between DCs and reset trusts with netdom trust as needed.
    1. Confirm computer name and registry consistency Ensure the computer name used in the secure channel matches what AD expects:
    • On affected clients, verify these registry values contain the NetBIOS computer name (not FQDN):
      • HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ComputerName\ComputerName\ComputerName
      • HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Tcpip\Parameters\hostname
    • Query them with:
        reg query HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ComputerName\ComputerName /v ComputerName
        reg query HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Tcpip\Parameters /v hostname
      

    Inconsistent names can cause repeated secure channel failures even after rejoin.

    1. Avoid repeated disjoin/rejoin as the only fix Disjoining and rejoining the domain is a valid short-term repair, but it does not address the underlying cause (network instability, password mismatch, replication, or trust issues). Use the data-collection and scenario-specific guidance to identify whether:
    • AD holds the wrong machine password (for example, due to restore/replication), or
    • The client holds the wrong password, or
    • The secure channel is being intermittently broken by network/RPC issues between Windows 10/11 and Server 2012 DCs.

    Once the root cause is fixed (network ports, replication, trust, or password mismatch), the automatic machine account password rotation should be honored correctly and the 24‑hour regression should stop.


    References:

    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.