54
前一陣子才做過類似問題的處理,跟樓主分享
我的案例是 一台DC 硬體掛點,當初所有五大角色
Domain naming master
Schema master
Infrastructure master
Primary domain controller (PDC) emulator
RID master
都掛在上面
利用UI操作 只完成了PDC跟Infrastructure master的角色移轉
但是其他三個都失敗
所以用command 方式 去執行 ntdsutil 這指令來做角色移轉
請用管理員權限打開 CMD (這點很重要,我在這邊卡很久)
以下是 微軟 TECHNET的說明步驟
To seize an operations master role
Open a Command Prompt as an administrator: On the Start menu, right-click Command Prompt, and then click Run as administrator. If the User Account Control dialog box appears, confirm that the action it displays is what you want, and then click Continue.
1.At the command prompt, type ntdsutil, and then press ENTER.
2.At the ntdsutil: prompt, type roles, and then press ENTER.
3.At the fsmo maintenance: prompt, type connections, and then press ENTER.
4.At the server connections: prompt, type connect to server <servername> (where <servername> is the name of the domain controller that will assume the operations master role), and then press ENTER.
5.After you receive confirmation of the connection, type quit, and then press ENTER.
6.Depending on the role that you want to seize, at the fsmo maintenance: prompt, type the appropriate command, and then press ENTER.
The system asks for confirmation. It then attempts to transfer the role. When the transfer fails, some error information appears and the system proceeds with the seizure of the role. After the seizure of the role is complete, a list of the roles and the Lightweight Directory Access Protocol (LDAP) name of the server that currently holds each role appears.
During seizure of the relative ID (RID) operations master role, the current role holder attempts to synchronize with its replication partners. If it cannot establish a connection with a replication partner during the seizure operation, it displays a warning and asks for confirmation that you want the seizure of the role to proceed. Click Yes to proceed.
7.Type quit, and then press ENTER. Type quit again, and then press ENTER to exit Ntdsutil.exe.
Ntdsutil 裡面 有兩個 重要選項
一個是 transfer 一個是 reize
這兩個差別在於
transfer 是 原來準備移除的DC還在線上,降級之前使用的
而resize 是 DC已經陣亡了(就像我一樣),上面這步驟就是用 resize 方式
其實transfer跟risize 參數語法都相同
先祝你移轉成功喔