Question: how to remove primary domain controller?
Answer: The way to do it is to open Server Manager, then use the Remove Roles and Features Wizard to try to remove the Active Directory Domain Services role.