Seize and transfer FSMO roles from a Failed Domain Controller
FSMO role migration
Transfer FSMO From a Failed Domain Controller (Running Windows Server 2012 R2)
1.Prepare
- DC11 : Domain Controller(Yi.vn - Primary) # Server down or OS error (Unavailable) example IP 10.0.0.11
- DC12 : Domain Controller(Yi.vn - Secondary) # Server alive (Available) example IP 10.0.0.12
2. Step by step : Transfer FSMO From DC11 to DC12 ---------------****************** Y ********************--------------------
- DC12 : Transfer FSMO From DC11
+ Server Manager - Tools - Active Directory Users and Computers - Yi.vn (example) - Domain Controllers OU - Check number of domain controllers
+ Right-Click Yi.vn - Operations Masters... - RID tab(PDC,Infrastructure) - Change... - Yes === Fail because DC11 error
+ Set the first DNS is DC12(10.0.0.12)
+ Start - Windows PowerShell - Right-Click 'Windows PowerShell' - Run as administrator, type :
dsquery server -forest # Check number of domain controllers
netdom query fsmo # Check which domain controller is the owner of FSMO roles (all at DC11)
regsvr32 schmmgmt.dll # Register the Active Directory schema management library
+ Start - Right-Click 'Command Prompt' - Run as administrator, type :
Ping DC11.Yi.vn
or
Ping 10.0.0.11
make sure the above fails
+ ntdsutil # Seize the roles from a failed DC11 using NTDSUTIL tool
+ ntdsutil : roles
+ fsmo maintenance : connections
+ server connections : connect to server DC12
+ server connections : q
+ fsmo maintenance : seize naming master # seize naming master role
+ fsmo maintenance : seize infrastructure master # seize infrastructure master role
+ fsmo maintenance : seize rid master # seize rid master role
+ fsmo maintenance : seize schema master # seize schema master role
+ fsmo maintenance : seize pdc # seize pdc role
+ fsmo maintenance : q
+ ntdsutil : metadata cleanup
+ metadata cleanup : connections
+ server connections : connect to server DC12
+ server connections : q
+ metadata cleanup : select operation target # List the existing Active Directory sites
+ select operation target : list sites
+ select operation target : select site 0 # Site Yi.vn
+ select operation target : list servers in site
+ select operation target : Select server 0 # Select DC11
+ select operation target : list domain
+ select operation target : select domain 0 # Select Yi.vn
+ select operation target : q
+ metadata cleanup : remove selected server
+ Server Manager - Tools - Active Directory Sites and Services - Sites - Default-First-Site-Name - Servers - Right-Click DC11 - Delete - Yes
+ Windows PowerShell, type : netdom query fsmo # Check which domain controller is the owner of FSMO roles (all at DC12) === OK