Previously the main way to seize the roles was using the Ntdsutil in Server 2003 & 2008.
Since PowerShell is now my weapon of choice I thought it would be useful to quickly document the method.
Move-ADDirectoryServerOperationMasterRole is the command that is used for this task. More information on the command can be found here:
http://technet.microsoft.com/en-us/library/ee617229.aspx
You can use either the Role Name or Number to specify which role to move, this table shows the details:
Operation Master Role Name |
Number
|
PDCEmulator |
0
|
RIDMaster |
1
|
InfrastructureMaster |
2
|
SchemaMaster |
3
|
DomainNamingMaster |
4
|
Use the -Identity switch to specify the target Domain Controller and the –OperationMasterRole to specify which role to transfer. I've also used the -Force command as my current FSMO holder is offline.
I'll be moving all the roles to a target DC called TLDC02.
N.B. To move the SchemaMaster role you'll need to be a member of the Schema Admins group. My account was also a member of Enterprise Admins when I ran this.
N.B. To move the SchemaMaster role you'll need to be a member of the Schema Admins group. My account was also a member of Enterprise Admins when I ran this.
- Logon to a working Domain Controller and launch an elevated PowerShell session.
- Type: Move-ADDirectoryServerOperationMasterRole -Identity TLDC02 -OperationMasterRole 0,1,2,3,4 -Force
- Either type Y on each role move prompt, or type A to accept all prompts
- After a while, all the roles should be successfully moved.
Get-ADForest DomainName | FT SchemaMaster,DomainNamingMaster
Get-ADDomain DomainName | FT PDCEmulator,RIDMaster,InfrastructureMaster
One thing to note, only seize the roles if you have no intention of bringing the original holding Domain Controller back online. Domains don't tend to like having two FSMO role holders...
8 comments:
Thanks man, helped me out a lot.
Nice Post, thank you very much for sharing.
Exactly what I needed and to the point!
Thank you Sir!
You shared very useful post. Thanks for sharing.
Data recovery services in chennai
Good article. Love the simplicity of doing this through powershell vs gui. Thank you
You just saved my afternoon. Thank you.
This saved me big time. Thanks a lot and God bless you abundantly.
Great Article
Final Year Project Domains for CSE
JavaScript Training in Chennai
Post a Comment