Windows Trust relationship error when you login to the windows server.
Just logon to the server through local Administrator account
.\administrator or VMname\administrator
Open Command Prompt CMD
C:\User\Administrator>netdom.exe resetpwd /s:ADservername /ud:domain\admin /pd:password!@9 ENTER
Hope this will be informative for you Thanks for Reading !