You can transfer FSMO roles using one of the following:
Alternatively, you can use the ntdsutil.exe command-line tool or the Move-ADDirectoryServerOperationMasterRole PowerShell cmdlet from the Active Directory Module for Windows PowerShell.