1. Log on to a working DC
  2. Open Powershell with Admin privileges
  3. Enter the following command to seize all roles

    Move-ADDirectoryServerOperationMasterRole -Identity "Target-DC" -OperationMasterRole 0,1,2,3,4

  4. Run the following command to confirm all roles have been seized. You should see the “Target-DC” as now holding all roles.

    netdom query fsmo