To manage DFS Namespaces and DFS Replication, you must install the DFS Management snap-in. Use one of the following methods to install the DFS Management snap-in.

Important

To view or manage replication groups that contain read-only replicated folders or members that are failover clusters, you must use the version of DFS Management that is included with Windows Server 2008 R2.

Installing DFS Management

To install DFS Management by using the Windows interface
  • To install DFS Management and related services, from Server Manager, use the Add Roles Wizard to select the File Services role, and then select the Distributed File System role service. This configures the server to be a file server, installs the DFS Management snap-in, and installs and starts the DFS Namespaces and DFS Replication services.

  • To install only DFS Management and command-line tools, from Server Manager, use the Add Features Wizard to install the Remote Server Administration Tools feature, select Role Administration Tools and select the File Services Tools feature with the Distributed File System Tools option. The Distributed File System Tools option installs the DFS Management snap-in and command-line tools, but it does not install any DFS services on the server.

To install DFS Management by using a command line
  • Open a command prompt window and type the following command, where <name> is the role, role service, or feature that you want to install (see the following table for an abbreviated list of relevant parameters):

    ServerManagerCmd -install <name>
    

    For example, to install the Distributed File System Tools portion of the Remote Server Administration Tools feature, type:

    ServerManagerCmd -install RSAT-DFS-Mgmt-Con
    

    Description Parameter

    File Services server role

    File-Services

    Distributed File System role service

    FS-DFS

    DFS Namespaces role service

    FS-DFS-Namespace

    DFS Replication role service

    FS-DFS-Replication

    Distributed File System Tools feature

    RSAT-DFS-Mgmt-Con

    Note

    To install DFS Replication on Windows Web Server 2008 R2, you must use the OCSetup DFSR-Infrastructure-ServerEdition command.

Additional references