“The trust relationship between this workstation and the primary domain failed”
Shit happens and so does this error.
Besides the usual complex fixes and leaving/rejoining the domain which can break a user profile (even though most things can be fixed by copying contents).
I found by simply changing the domain from mydomain
to mydomain.local
(or vice versa) works without breaking the user profile and ‘rejoins’ the domain. Although apparently using the .local
suffix is no longer recommended by Microsoft although it still comes added by default.