Cách đúng để xử lý lỗi "Trust Relationship Failed" hoặc Secure Channel bị hỏng: Trust Relationship Between This Workstation And The Primary Domain Failed
Thay vì xóa, bạn có thể reset lại secure channel giữa máy và domain bằng các công cụ sau:
nltest
Ví dụ:
nltest /sc_reset:<DomainName>\<DomainControllerName>
netdom
Ví dụ:
netdom reset <ComputerName> /domain:<DomainName> /usero:<DomainAdmin> /passwordo:*
PowerShell
Ví dụ:
Test-ComputerSecureChannel -Repair -Credential (Get-Credential)
Active Directory Users and Computers (ADUC)
Click chuột phải vào máy tính → "Reset Account"
AD Administrative Center
dsmod computer
Sử dụng dòng lệnh dsmod để cập nhật lại thông tin máy tính.
Nguồn: vnpro
Lỗi này gốc là bị trùng computer name, rà xót lại user nào đang dùng computer name này rename lại để lần sau ko bị nữa
Link: Tại đây
