How do I move a workstation from one domain server to another

I have built a new Server 2012 and am trying to move workstations from the old server to the new one. The domain name is the same  company.local. When I move a computer to the new server and try and log in on the administrator account or a user that I have created on the new server (same name and password), I get   “The security database on the server does not have a computer account for this workstation trust relationship”. How do I get access to the new server on this box
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.

IvanSystem EngineerCommented:
Hi there,

New server that you have build is a domain controller or what? You said you created new server, but what is role of that server? If you had a DC server, which has failed, and then you created new server with DC role, then you have to rejoin that workstation to domain, and all other.

Can you explain a bit more what is going on?

The message you receive is fixed by removing workstation from domain (joining to a workgroup) and then you rejoin to a domain.

Mohammed AsishCommented:
Since it’s a new Domain, please re-join the workstation to the new Domain

Log on locally as a local administrator. In the Network tool of Control Panel, select Change and enter a Work-group name, workstation leaves the domain.
Restart the computer and log on locally as a local administrator.

Now re-join the domain
There are two methods to re-join the domain:

A) You can join the domain from the client if at the same time you can provide an
     Administrator username and password on the domain.

   1) Plug in the network cable

   2) Right click on Computer (from desktop or start), Properties, Change Settings,    
   3) Type in the FQDN in the Member of, Domain field, ok
   4) Type in the Domain Admin username and password
   5) Should get a welcome message when joined successfully

B) You can delete the existing computer account in Server Manager, recreate the  
     Computer accounts, synchronize the domain, and then on the client re-join the

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
Daniel AdlerCommented:
Mostly people in this case are recommending to re-join the computer to the new domain BUT there are may other way...

Propably , this issue is because mismatch between attributes of the computer account in Active Directory and those values on the system itself.
To fix this issue when it happens.

1. Open Active Directory Users & Computers pointed to the domain the computer account resides in
From the “View” pull-down menu, make sure that “Advanced Features” is checked.

2. Navigate to the organizational unit (OU) structure where the computer account for this server resides.
3. Open the Properties for the computer object.
4. Choose the “Attribute Editor” tab on the Properties dialog box.
5. Check the Attributes dNSHostName & servicePrincipalName – anywhere that a fully qualified hostname is specified (e.g., make sure that the entry matches the hostname you have configured when you go here on your server: Start -> Computer -> Right-Click, Properties -> Change Settings (under “Computer name, domain… settings”) -> Full Computer Name
As an example, for 2008R2 server whose Full Computer Name is “”, these attribute/value pairs should be in Active Directory:



If you find that any of these entries is incorrect, go ahead and fix them!
once they all align correctly try logging in again.
**After you make any changes, please remember that it may take up to a few minutes for those changes to replicate between all of the Active Directory domain controllers.

Good luck ;)
KentMillerAuthor Commented:
I created the new server and gave it the following roles AD, DNS, DHCP and Print server. If I rejoin the (new)  domain  with a workstation, won't create a new profile on the workstation? I have Outlook set up in the profile and would like not to have to re setup Outlook and other shortcuts.

Also the previous tech did no set up folder redirection so the desktop and documents folder for the workstations are on the workstation. Can you direct me to who to setup folder redirection?

Daniel AdlerCommented:
If you are interested in Active Directory Migration its different story..
here is a external article about step by step how to do migration of AD > HERE
and after successfully migration you'll do the steps i suggested above, there should be no reason for duplication..

My question is are you sure you want to do Folder redirection ?
Dont forget

* if you use Folder redirection for example for Documents and Desktop thats mean every user who under this policy will store their Documents and Desktop on some server or storage..
so calculate well with the space.  ((if dont know how many freedom the users have in your "company" but sometimes users love to store stuff on their desktop and documents,  sometimes maybe music, moves and it can eat your space very fast if there is big amount of users...))

* Folder redirection depend on the amount of file/size. can be reduce startup time... (for example, the secretary have 2 GB vacation photo folder in the desktop and tomorrow she moves to other computer, she have to wait until that workstation is downloading from the server that 2GB of Photo data during the logon process.

im not sure its always good idea. i prefer to use Home folder (home drive) and they can access to they data no matter where they logged on..

To set up folder redirection you have to apply Group policy on those OU, that contain the users..
in GPO:  User Configuration > Windows settings> Folder Redirection. right click on Documents an properties,
setting : Basic > Create folder for each user .. > rooth path: you give the path here to store all the data (\\storage\users) and click OK.
the same on Desktop folder.
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 Server OS

From novice to tech pro — start learning today.