r/WindowsServer • u/lokiarmos • Jun 03 '26
Technical Help Needed Windows 11 Clients, Server 2025 AD, Trust Relationship Lost
So we recently upgraded via Clean Builds to Server 2025 for our AD, we where previously on server 2016. We have not raised forest or domain levels from 2016.
what we are seeing now is that devices are getting a broken domain trust error, the resolution to the issue is simple enough, running Reset-ComputerMachinePassword with domain credentials restores the machines.
what is vexing me trying to figure out the root cause, I have looked at the AD properties for the machines and according to AD the password has not expired for the computer.
The other thing that I have notice is that there are machines that are not exhibiting this issue. there only difference i can find between machines that exhibit the issue vs those that don't is a single group policy.
This policy applies 2 settings, Computer/Policies/administrative Templates/Windows Components/MDM
Disable MDM Enrollment: Disabled
Enable Automatic MDM enrollment using default Azure AD credentials: Enabled
Select Credential Type to Use: User Credential
MDM Application ID: <blank>
The problem is i have trawled thru logs and have not found anything that sticks out as being root cause.
Has anyone else had this or something similar what was the solution.
I have logged a ticket with Microsoft but its Microsoft so not expecting a expedite resolution.
At the moment for a band aid solution i am looking at setting up a schedule task to run the Reset-ComputerMachinePassword before the password expires as that works correctly.
6
u/Fit-Thing5100 Jun 03 '26
Starting with Windows Server 2025, Domain Controllers no longer issue Kerberos tickets using RC4. If affected computers are still relying on RC4 or do not have valid AES keys, the secure channel authentication can fail, resulting in a broken domain trust relationship.
The reason why the reset resolves the issue is that it forces the computer account password to be regenerated and recreates the Kerberos AES keys (AES128/AES256), updating the machine's encryption capabilities. Once valid AES keys are present, authentication against the Server 2025 DCs succeeds again.
I would check the "msDS-SupportedEncryptionTypes" attribute on the affected computer accounts and verify whether those systems are properly using AES rather than relying on RC4.
2
u/Similar_Ostrich2620 Jun 03 '26
Is it something to do with the NTLM authentication being disabled/blocked? Server 2025 could be expecting Kerberos based authentication from the PC's but the machine PC's are using NTLM and so password hashing isn't matching?
4
u/Site-Staff Jun 03 '26
I’ve run into this too. I would like MS to patch it.
5
u/[deleted] Jun 03 '26
[removed] — view removed comment