Recover from a Domain Controller Crash

If one of your DC crashes and you have another online. Build a DC and transfer the roles from the DC that crashed with the following command:

Move-ADDirectoryServerOperationMasterRole -identity “CrashedDCServername” -OperationMasterRole 0,1,2

0= PDC Emulator
1= RID Master
2= Infrastructure Master
3= Schema Master
4= Domain Naming Master