Sunday, January 19, 2014 3:04 PM
It will be quick post, I have limited access to the Internet.
Today we are going to promote Windows 2012 to Domain controller and move some unique roles to it. It can be handy in DR scenario, or when we are going to raise domain functional level. It is very easy task, so to make some fun I'm not going to touch a GUI.
Prepare AD forest for Server 2012 if it is needed. Of course as a Schema Admin, of course it is one way ticket, so think twice before you do anything.
Don't forget about backing up your AD. It is recommended to execute it on the Schema Master server
{your Server 2012 R2 cd installation media}\support\adprep\adprep /forestprep
If you are sure that you are sure type c and hit Enter
After that we can switch to our destination Server 2012 R2,
Add-WindowsFeature AD-Domain-Services
Import-Module ADDSDeployment
$pwd = convertto-securestring "P@ssW0rD!" -asplaintext –force
Install-ADDSDomainController –DomainName "testdomain.net" –SaveModeAdministratorPassword $pwd –Force
Optionally after the reboot
Move-ADDirectoryServerOperationMasterRole –Identity DC2012 -OperationMasterRole PDCEmulator,SchemaMaster,DomainNamingMaster,InfrastructureMaster,RIDmaster –Force –Confirm:$false
Where DC2012 is a hostname of the new domain controller