Today, I got a strange error when I tried to reach to another file system in my network. When I wrote the ip address of the machine that I want to connect, I got “The trust relationship between this workstation and the primary domain failed.” error and can not connect to the shared files. All my enviroment is in a domain. Within some search on internet, I got the cause of this problem.
When a pc is in a domain, and for a long time if it is not logged with a domain user, according to your policy, pc could be marked as something like unused.Because of this no domain rules can be applied and domain users can not be logged in.
You have to loggin with local administrator account and than remove the pc from domain and then rejoin to the domain. And go on as normal 🙂