Edit the Replication Filters for a Replicated Folder

You can configure file and subfolder filters to prevent files and subfolders from replicating. Both types of filters are set on a per-replicated folder basis. You exclude subfolders by specifying their name or by using the asterisk (*) wildcard character. You exclude files by specifying their name or by using the asterisk (*) wildcard character to specify file names and extensions.

By default, no subfolders are excluded. The default file filters exclude the following files from replication:

Regardless of which filters are set, the following types of files are always excluded from replication:

To edit the replication filters for a replicated folder
  1. Click Start, point to Administrative Tools, and then click DFS Management.

  2. In the console tree, under the Replication node, click the replication group that contains the replicated folder with the filters that you want to edit.

  3. In the details pane, on the Replicated Folders tab, right-click a replicated folder, and then click Properties.

  4. On the General tab, edit the existing filters or add new filters, paying attention to the following restrictions:

    • You cannot create file or subfolder filters by specifying a full path, such as C:\Replicatedfolder\Temp or C:\Replicatedfolder\file.dat.

    • You cannot use a comma in a filter because commas are used as delimiters.

After a member detects a new filter, the member scans its database and removes the file records of files that match the filter. Because the files are no longer listed in the database, future changes to the files are ignored.

After a member detects that a filter has been removed, the member scans the file system, adds records for all files that match the removed filter, and replicates the files.

Note

Configuration changes are not applied immediately to all members. The new configuration must be replicated to all domain controllers, and each member in the replication group must poll its closest domain controller to obtain the changes. The amount of time this takes depends on AD DS replication latency and the long polling interval (60 minutes) on each member. To poll immediately for configuration changes, open a command prompt window and then type the following command once for each member of the replication group: dfsrdiag.exe PollAD /Member:DOMAIN\Server1.