After collecting data based on the steps in Data collection for troubleshooting secure channel issues, you might find that the Active Directory value for the pwdLastSet attribute has an older value than Cupdtime in the affected device. This article introduces the common causes and the resolution.
Common causes
- Active Directory replication issues.
- A domain controller recovered from a backup.
- Authoritative restoration of the computer object in Active Directory.
All these common reasons need to be resolved from the Active Directory end, as the issue can't be resolved on the client device end. Data should be consistent across all domain controllers. We recommend you check the Active Directory replication status, domain controller health, and network communication. See the More information section for further reference.
Resolution
Once the issue has been resolved at the Active Directory end, reset the computer secure channel by following these steps:
-
Run one of the following commands:
-
From a Windows command prompt:
nltest /sc_reset:domain_name -
From a Windows PowerShell prompt:
Test-ComputerSecureChannel -Repair -Credential *
-
-
Reboot the device.
More information
- Active Directory replication troubleshooting - Troubleshooting Active Directory Replication Problems
- Active Directory required ports - Configure a firewall for AD domains and trusts
Source: Microsoft Learn / IT Pro troubleshooting by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.
