AddOn DFS Replication Management Pack (part #1 – configuration)

This article is to serve as documentation for my recent MP addition to TechNet gallery:
I split the documentation into part #1 (configuration) and part #2 (featured monitoring).

The AddOn Distributed File System (DFS) Replication Management Pack for System Center Operations Manager 2012 monitors the health of DFS Replication by complementing the monitoring provided by Microsoft Management Packs:
– System Center 2012 Management Pack for Microsoft Windows Server File & iSCSI Services 2012 R2 (
– System Center 2012 Management Pack for Microsoft Windows Server File & iSCSI Services 2012 (

Here are the Management Packs that you need to have imported in the first place:


Plus the following MP, specifically for the presentation MP (visualization):


Get this MP from:

All agents need to have the Agent Proxy setting enabled (Allow this agent to act as a proxy and discover managed objects on other computers).
Make sure that Firewalls are not blocking WMI remote connections – a lot of workflows in the DFS MPs are using WMI queries (local and remote).

Add a Windows Account with appropriate permissions on DFS. Configure this account for More Secure distribution (no selected computers, for the moment).


The AddOn.DFSReplication MP has configured a group called “Agents On Windows FileServer DFS-R”; members of this group are HealthServices on all Windows FileServer DFS-R role computers. You can use this group to have the “DFR-R Monitoring Account” distributed; just execute the following from Operations Manager Shell:

PS C:\> $distagents = Get-SCOMGroup -DisplayName “Agents On Windows FileServer DFS-R” | Get-SCOMClassInstance
PS C:\> Get-SCOMRunAsAccount -Name “DFS-R Monitoring Account” | Set-SCOMRunAsDistribution -MoreSecure -SecureDistribution $distagents

Note. Please update the commands above for whatever name you provided to the DFS-R monitoring account; in case you used exactly same name as in the screenshot, then you can use (cut and paste) the commands as they are provided.



Last step is to associate the Profile with the RunAs account just created.


In part #2 I will detail what additional monitoring is provided by this Management Pack.


5 responses to “AddOn DFS Replication Management Pack (part #1 – configuration)

  1. dsaldivar March 9, 2017 at 6:45 pm

    On a network with lots of file share activity, their is no way that each replica is going to have 0 backlog, so it is very noisy. How can i put a threshold so it only cares about replication groups which have a backlog of 1000 or more? If

    Liked by 1 person

  2. spostea March 9, 2017 at 7:46 pm

    Thanks for feedback. I guess it makes sense to have the backlog monitor implemented with a configurable threshold. I will update the MP and notify here when new version is available.


  3. spostea March 23, 2017 at 5:53 pm

    Management Pack is now updated.
    DFS-R: Backlog File Count (Monitor) allows now configuration of overrides for the checking interval (default 3600 sec) as well as for the backlog count threshold (default 0).
    Please keep in mind that optimal overrides configuration would be using “For all objects of class: DFS-R Replication Connection” for cookdown considerations.


  4. Nike April 21, 2017 at 10:15 am

    Hi Stelian, great addon I must say. I am struggling to setup backlog monitoring of DRS replication on my DC’s (SYSVOL) with Microsoft MP, but the account I need to use for DFS Replication Monitoring Account profile needs to be local admin on monitored machines (no local accounts on DC’s) or domain admin which poses security threat and I am not allowed to use it. So far I couldn’t find any solution, not even using dfsrdiag.exe special permissions for backlog tracking on this account. Does your MP uses the same account and did you try to setup backlog monitoring on domain controllers with your AddOn?


    • spostea April 21, 2017 at 3:49 pm

      Hi Nike, Honestly I did not try my MP on Domain Controllers. The MP adds its own RunAs Profile; as for the permissions of the account that has to be associated with this profile, I recall that there is a way to delegate permissions to run DFSRDIAG (for example). Keep in mind that permissions are required mostly for WMI access. You can use the tasks in the MP to verify correct permissions. Thanks for your feedback!


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: