Open a Command Prompt as an administrator
At the command prompt, type ntdsutil, and then press ENTER.
At the ntdsutil: prompt, type roles, and then press ENTER.
At the fsmo maintenance: prompt, type connections, and then press ENTER.
At the server connections: prompt, type connect to server TARGETSERVERNAME , and then press ENTER.
After you receive confirmation of the connection, type quit, and then press ENTER.
Depending on the role that you want to seize, at the fsmo maintenance: prompt, type the appropriate command, and then press ENTER.
Seize naming master
Seize schema master
Seize infrastructure master
Seize pdc
Seize rid master