Question: how to upgrade windows 2008 r2 domain controller to windows 2012?
Answer: Verify the target server meets system requirements.
Verify Application compatibility.
Verify security settings. ... 
Check connectivity to the target server from the computer where you plan to run the installation.
Check for availability of necessary operation master roles: