Symptoms
guestagent.log
[W 15/00000019/T1210/P1068] 24-03-21 10:00:58 - Failed to remove SID from group with error 1789.
[W 15/00000019/T1210/P1068] 24-03-21 11:11:41 - Failed to remove SID from group with error 1789.
Cause
Code 1789 means - "The trust relationship between this workstation and the primary domain failed."
Resolution
Use one of the following approaches to verify the trust relationship status:
Open administrative cmd and execute:
nltest /SC_VERIFY:[domain]
[domain] should be replaced with the actual domain name:

Or use Powershell approach:
For domain-joined machine it should return True but if False is returned, the following can be executed to repair trust:

References
How to Repair Active Directory Trust Relationships (And Automate)
Was this article helpful?
Tell us how we can improve it.