Dear Joe Grover,
Based on your report and similar cases across the community, the issue appears to stem from changes introduced in Windows Server 2025 that affect secure channel maintenance between domain-joined devices and domain controllers. Specifically:
- Devices intermittently fail to authenticate with the domain, resulting in the error: “The trust relationship between this workstation and the primary domain failed.”
- The issue persists even after using
Reset-ComputerMachinePasswordorTest-ComputerSecureChannel -Repair. - Affected environments often have all domain controllers upgraded to Server 2025, and the issue is more prevalent in clients running Windows 10/11 up to 24H2, though some 24H2 machines are still impacted2.
The root cause is linked to how Windows Server 2025 handles machine account password changes, which are essential for maintaining trust relationships. When all domain controllers are upgraded, certain security protocols may prevent clients from updating their machine account passwords, leading to authentication failures.
A temporary workaround has been identified:
On Domain Controllers:
Policy: Domain controller: Refuse machine account password changes
Setting: Enabled
On Domain Members:
- Policy: Domain member: Maximum machine account password age
- Setting: 0
You mentioned that KB5055523 has already been applied. This cumulative update addresses several Kerberos-related issues, but it does not fully resolve the trust relationship failures in all environments. Microsoft is actively investigating the issue and may release further updates to address the underlying protocol behavior5.
We recommend the following:
Implement the temporary Group Policy workaround to stabilize affected machines.
Monitor Microsoft’s update channels for a permanent resolution.
Consider retaining at least one older domain controller (e.g., Server 2022) if feasible, as mixed environments appear less affected.
Use Intune or similar tools to deploy automated remediation scripts for affected endpoints, especially in distributed environments.
If the above response helps answer your question, remember to "Accept Answer" so that others in the community facing similar issues can easily find the solution. Your contribution is highly appreciated.
Best regards,
Harry Phan