Installing DFS Replication on Windows 2008
From Mike's Wiki
Installing DFS Replication using Server Manager
The DFS Replication service can be installed on Windows Server 2008 editions which expose the File Services role (except Web Edition) using the Server Manager. The Server Manager quick launch icon is usually present near the Start button on Windows Server 2008. Server Manager can also be launched by typing 'Server Manager' in the Start menu.
The ‘File Services’ role can be installed on the server by selecting it in the ‘Add Roles Wizard’ that is launched from Server Manager. This wizard can be launched by selecting ‘Roles’ and selecting the ‘Add Roles’ option in the right click menu.
In the dialog that follows, the Role Services that can be installed as part of the ‘File Services’ role are displayed. Select ‘DFS Replication’ from this list and follow the on screen instructions to install the DFS Replication service on the server.
Installing DFS Replication from the command prompt
On Windows Server 2008 web edition and on Server Core installations, the DFS Replication service cannot be installed using the Server Manager, either because the Server Manager UI is not available (eg. Server Core Editions) or because the File Services role that exposes ‘DFS Replication’ as an available role service is not available (eg. Web Edition). In such cases, the command prompt can be used to install the DFS Replication service. This can be done by typing the following command in a command window.
Another option is to use the Server Manager command line utility called ServerManagerCmd.exe. This utility can be used to install roles from the command prompt. More information about this utility can be obtained here. For example, the DFS Replication service can be installed using the following command:
ServerManagerCmd -install FS-DFS-Replication