In our office we have two servers and dozen workstations.
Our main server has AD and it is DC (Windows Server 2012 R2 Essentials). All of our workstations are connected to domain. Then we have secondary server (Windows Server 2012 R2 Foundation) which we use to test products in development and he was also connected to domain.
Few days ago when I was absent from work there was power issue and electricity was turned off for the few city blocks. Since we are very small office with no need for UPS, our servers were turned off. Now the secondary server is DELL server and has ability to turn itself on when electricity is available again and our main server (DC) needs to be manually turned on. Since that event I was not able to use RDC to connect on server (I still cant) even with local admin account. Today I spent entire day dealing with that problem but I focused on domain accounts since we use domain for easier user permission management. On main server I got this error "Kerberos target resolution error" on server list for secondary server. In event details there was a message to check if computer / server with specified name (Name of secondary server) is connected to network or available on network. After that I went to check network and there was mentioned server but when I tried to connect to it, another error message displayed "The trust relationship between this workstation and the primary domain failed". After that message I went to rejoin server back to domain since somewhere I have read that this occurs when DC is not available on system startup. Since secondary server starts automatically and main server with DC starts manually I concluded that that was the problem. I tried to restart secondary server but that didn't help. The same issues remained unsolved. Afterwards I disconnected server from domain (I joined him on TEMP workgroup), restarted server and then I tried to join him back to to domain. And now I'm stuck!
I enter right domain name and then dialog opens to enter username and password with permission to join the domain. I enter credentials for domain admin and error massage displays that username or password is incorrect.
Now I checked and user exists with that password. Also that user is member of domain admins. I use built in Administrator account from main server (Where DC is) that is built in Administrator account for domain. On other workstations I can normally rejoin domain without problems with that user and password.
What can I do to fix this problem?
Any help is appreciated since I'm stuck with this issue.