Launch DFSRADMIN

Microsoft.Windows.DfsReplication.DfsrAdminAgentTask (Task)

This task executes the DFS Replication service's administration tool dfsradmin.exe with a customizable set of command-line parameters.

Knowledge Base article:

Summary

DfsrAdmin.exe is a command line tool used for configuring and administering DFS Replication on Windows servers. This administrative tool can be used to script configuration and management tasks for large deployments. All tasks that can be performed using the DFS Management MMC snap-in can also be accomplished using the DfsrAdmin.exe command line administrative tool.

For instance, this tool can be used to accomplish the following tasks:

The tool also provides scripting support for executing bulk actions from a single input file.

Additional

Key scenarios for using the DfsrAdmin.exe command line tool are documented in the “ DFS Operations Guide: Using the DFSRAdmin Command-line Tool

Element properties:

TargetMicrosoft.Windows.DfsReplication.Service
AccessibilityPublic
CategoryMaintenance
EnabledTrue
RemotableFalse
Timeout300

Member Modules:

ID Module Type TypeId RunAs 
Microsoft.Windows.DfsReplication.Module ProbeAction Microsoft.Windows.DfsReplication.TaskProbeActionModuleType System.PrivilegedMonitoringAccount

Source Code:

<Task ID="Microsoft.Windows.DfsReplication.DfsrAdminAgentTask" Accessibility="Public" Enabled="true" Target="Microsoft.Windows.DfsReplication.Service" Timeout="300" Remotable="true">
<Category>Maintenance</Category>
<ProbeAction ID="Microsoft.Windows.DfsReplication.Module" RunAs="System!System.PrivilegedMonitoringAccount" TypeID="Microsoft.Windows.DfsReplication.TaskProbeActionModuleType">
<ApplicationName>dfsradmin.exe</ApplicationName>
<CommandLine/>
<TimeoutSeconds>1200</TimeoutSeconds>
</ProbeAction>
</Task>