Windows Server 2012 Domain Controller and Windows 7 workstations

I had a major failure (hardware: harddrives) on my Windows Server 2012 domain controller. I had to rebuild the server and install a fresh copy of Windows Servers 2012 along with AD and DNS. I used the same domain name, but change the password of the administrator account. I recreated all of the users in AD and created new passwords for the users.

Most of the computers I was able to drop out of the domain and into a workgroup, create a local admin and password and reboot. After which I was able to bring the computer back into the domain.

On two computers, which were at a shut down status and the time of the failure and rebuild are getting the following error: The security database on the server does not have a computer account for this workstation trust relationship. When I get to the logon screen I see the domainname/user and enter in both the old known password and the new password that I just created for AD. If there was a local admin account on the computer, it is hidden and I do not know the password.

In AD Computers,  I added the name of the computers in questions, hoping this might be enough to jump start them.

1. Is there a way to get into the workstation at this point? Would I bypass the logon screen in SafeMode, and then create a local admin?
2. Is there a powershell script?

Any suggestions?
Trish GleesManaged IT SolutionsAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Chad FranksSenior System EngineerCommented:
Delete the computer accounts from AD and re-join them to the domain.  They need to get a new guuid
Ben HartCommented:
If you are unable to login to those pc's with ANY set of credentials.. then IMO you need to reset the local admin password using :

Then once you reset it, login and disjoin then rejoin the computers to the new domain.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
akalyan911Technical ConsultantCommented:
Use the password reset tools for reset the password that two computers.. unplug the servers from network and reset the password and rejoin them on domain..
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Legacy OS

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.