Transferring FSMO roles using the ntdsutil command-line tool

To transfer FSMO roles using the ntdsutil.exe command-line tool, follow these steps:

  1. 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.
  2. Run the following command to start the NTDS utility in interactive mode:
ntdsutil.exe
  1. Type the following command in interactive mode to enter the FSMO maintenance context:
roles
  1. 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
  1. Type the following command to transfer the Schema Master FSMO role:
transfer schema master
  1. Type the following command to transfer the FSMO role:
transfer naming master
  1. Type the following command to transfer the PDCe FSMO role:
transfer PDC
  1. Type the following command to transfer the RID Master FSMO role:
transfer RID master
  1. Type the following command to transfer the Infrastructure Master FSMO role:
transfer infrastructure master
  1. Type the following command to exit the FSMO maintenance context:
quit
  1. Type the following command in interactive mode to exit the NTDS utility:
quit
  1. Close the Command Prompt window.