Installing the DFS Management Snap-in and DFS Replication Service

Applies To: Windows Server 2003 R2

If you plan to use DFS Replication, you must first update the Active Directory® directory service schema to install the Active Directory classes and attributes used by DFS Replication. To upgrade the schema, on the schema operations master, run adprep.exe /forestprep. The adprep.exe command-line tool is available in the cmpnents\r2\adprep folder on the second Windows Server 2003 R2 operating system installation CD.

After the Windows Server 2003 R2 operating system is installed, and the schema is updated as necessary, you can install the Distributed File System (DFS) components by using the following procedures.

Note

Two methods for installing Distributed File System are provided. The method using the Manage Your Server file server tool allows you to install Distributed File System as a part of the file server role. This method also installs other file server tools, such as the File Server Resource Manager and File Server Management. The method using Add or Remove Programs allows you to install either the DFS Management snap-in, the DFS Replication service, or both.

Use the following procedure if the file server role has not been added.

To install Distributed File System using Manage Your Server

  1. Click Start, point to All Programs, point to Administrative Tools, and then click Manage Your Server.

  2. Click Add or remove a role.

  3. In the Configure Your Server Wizard, click Next. On the Server Role page, click File Server, and then click Next. Click Next again.

  4. In the Add File Server Role Wizard, click Next, and then click Replicate data to and from this server. Follow the steps in the wizard to complete the installation. You will be asked to restart the server when the installation is complete.

Use the following procedure to install the DFS Management snap-in, the DFS Replication service, or both, without installing the File Server role.

To install Distributed File System using Add or Remove Programs

  1. In Control Panel, double-click Add or Remove Programs.

  2. Click Add/Remove Windows Components, highlight Distributed File System, and then click Details.

  3. Do one of the following:

    • To install the Distributed File System management tools without installing the DFS Replication service, click DFS Management.

    • To install the DFS Replication service without installing the management tools, click DFS Replication Service.