Here are the steps to transfer the RID master role in Active Directory:
Register a permanently allocated RID pool for the domain
Check the domain controller management interface for any existing RID pool assignments.
Establish a connection with the existing RID master.
Request a transfer of the RID master role.
If successful, the current domain controller becomes the new RID master.
Verify the RID master role transfer.