Question: how to migrate domain controller from 2012 r2 to 2016?
Answer: In Server Manager, under Add Roles and Features, install Active Directory Domain Services on the new Windows Server 2016. This will automatically run adprep on the 2012 R2 forest and domain. In Server Manager, click the yellow triangle, and from the drop-down click Promote the server to a domain controller.