You may follow this article:
Active Directory Replication over Firewalls
Specifically, navigate to this registry key:
Add a new DWORD value called RPC TCP/IP Port Assignment (include the spaces). Set the value's data to the port number that you want to use (remember to change the displayed base to decimal before you enter the data).
This can help you to assign RPC ports by registry.
Hope it helps.
TechNet Software Assurance Managed Newsgroup MCTS: Windows Vista | Exchange Server 2007 MCITP: Enterprise Support Technician | Server & Enterprise Admin
FRS and DFRS appeart to be two distinct services uner Windowd 2008-R2. I used the command line DFSRDIAG STATICRPC and changed the default RPC port from 5722 to somthing different and the changed did not relfect in HKEY_LOCAL_MACHINE\SYSTEM\CURRENTCONTROLLSET\SERVICES\NTFRS\PARAMETERS\RPC TCP/IP PORT ASSIGMENT.
Also, it according to the folowing Technet Artical, DFS and FRS and two disticnt services. See below.
Can DFS Replication communicate with FRS?
No. DFS Replication does not communicate with File Replication Service (FRS). DFS Replication and FRS can run on the same server at the same time, but they must never be configured to replicate the same folders or subfolders because doing so can cause data loss.
Thus, I am still unable to change the DFSR port via registry.
Sorry for my mistake...But we cannot change it in registry.
You may have a look at following file:
%SYSTEMDRIVE%\System Volume Information\DFSR\Config\DfsrMachineConfig.XML
It will add "<rpcportassignment>PORTNUMBER</rpcportassignment>" to the file if we set a static port. Check if this can help on the question.
Shaon Shan| TechNet Subscriber Support in forum| If you have any feedback on our support, please contact firstname.lastname@example.org
- Proposed as answer by Shaon ShanMicrosoft contingent staff, Moderator Wednesday, July 28, 2010 8:44 AM