Question: how to change the primary domain controller?
Answer: Add new computer to domain. Promote system to a domain controller (dcpromo) Transfer FSMO roles. Verify/Make the new system a Global Catalog. Wait some time for replication to take place. ...  Demote old system (dcpromo) Double check DNS zones & AD to make sure old system was removed.