- Active Directory Administration Cookbook
- Sander Berkouwer
- 213字
- 2021-06-24 14:42:19
Transferring FSMO roles using the ntdsutil command-line tool
To transfer FSMO roles using the ntdsutil.exe command-line tool, follow these steps:
- Open Command Prompt (cmd.exe) with an account that is a member of the Enterprise Admins group on the domain controller that you intend to transfer the FSMO roles to.
- Run the following command to start the NTDS utility in interactive mode:
ntdsutil.exe
- Type the following command in interactive mode to enter the FSMO maintenance context:
roles
- Type the following commands to specify the current domain controller as the server to transfer the FSMO roles to:
connections
connect to server localhost
quit
- Type the following command to transfer the Schema Master FSMO role:
transfer schema master
- Type the following command to transfer the FSMO role:
transfer naming master
- Type the following command to transfer the PDCe FSMO role:
transfer PDC
- Type the following command to transfer the RID Master FSMO role:
transfer RID master
- Type the following command to transfer the Infrastructure Master FSMO role:
transfer infrastructure master
- Type the following command to exit the FSMO maintenance context:
quit
- Type the following command in interactive mode to exit the NTDS utility:
quit
- Close the Command Prompt window.