Monday, October 19, 2009

DFS - Rename Replication Group

I have seen a lot of posts about renaming repliation groups that state that there is no way to rename your replication group. I was able to rename a replication group by using ADSI Edit (adsiedit.msc). Here is the method I used:

Open adsiedit.msc on one of you domain controllers, expand the top-level 'Domain' tree, expand CN=System, expand CN=DFSR-GlobalSettings, right-click CN=[replication group name], select 'Rename', change the name to CN=[new replication group name], expand CN=[new replication group name] and check to make sure that all child objects are using the new name.

Once the change is made you may received some errors while the changes are replicated throughout your network, but eventually it will all sync back up. At least it did for me.

P.S. - Please be careful using the ADSI Edit utility as you can corrupt your Active Directory configuration by changing the values incorrectly. I suggest you test the changes in development before deploying to production.


  1. Thanks you very much for this information.
    This worked 100% as I needed to do this to 10 replication groups.

    After renaming the repliocation groups using ADSIEdit, given a few seconds for AD replication, closed and reopened DFS Management and the Replication Groups had their new names. :)

    Thanks Again!

    1. Hey Paganatron,
      you're right - and wrong.

      Renaming a replication group in AD with ADSI Edit does change its name shown in the DFS management console, but DFS-R not only writes its configuration into AD, but also to local XML files located under:

      DRIVE:\System Volume Information\dfsr\Config

      to be fully consistent I suggest to modify these XML files too.

      I haven't tried it yet, but will do in my test environment.

  2. What was the results of your tests?
    Do we have to rename XML files?
    How do you access "System Volume Information"