Microsoft KB Archive/223296

{|
 * width="100%"|

Setting FRS File and Folder Filters for Replicated DFS Content

 * }

ID: Q223296

-

The information in this article applies to:


 * Microsoft Windows 2000 Advanced Server
 * Microsoft Windows 2000 Datacenter Server
 * Microsoft Windows 2000 Server

-

SUMMARY
The File Replication Service (FRS) is a multi-threaded, multi-master replication engine that replaces the LMREPL service in Microsoft Windows NT versions 3.x and 4.0. Windows 2000 domain controllers and servers use FRS to replicate system policy and login scripts for Windows 2000 and down-level clients.

Optionally, FRS can replicate content between Windows 2000 servers hosting the same fault-tolerant Distributed File System (DFS) roots or child-node replicas.

This article describes how to set file and folder filters for replicated DFS root and child nodes.

Overview
File and folder filters are managed by the FrsFileFilter and FrsFolderFilter attributes of the NTFRS-Replica-Set class. For example, if replication is enabled for the fault-tolerant DFS root, DFSFT, and a DFS child node called APPS in the A.COM domain, two replicas exist:


 * \\A.COM\DFSFT
 * \\A.COM\DFSFT\APPS

File and folder filters are maintained for each FRS replica including the following:


 * SYSVOL. Replication for SYSVOL is implicitly enabled.
 * Fault tolerant roots where replication has been enabled. Replication for SYSVOL is implicitly enabled.
 * DFS child nodes residing on Windows 2000 servers where replication has been enabled. DFS replication must be enabled in the Distributed File System Manager snap-in (Dfsgui.msc) on each level of the DFS namespace "backed" by more than one Windows 2000 server or domain controller.

DFS File and Folder Filters
There is no user interface to modify file and folder filters, but both attributes can be modified directly in the Active Directory directory service from an editor such as Adsiedit.msc or Ldp.exe (a Windows 2000 Resource Kit tool). These steps illustrate how to set a file filter for a DFS root named "DFSFT" on a domain controller in the A.COM domain.

 Start the Ldp.exe tool. Complete the connect and bind sequence using an account with administrative priveleges. On the View menu, click Tree.

 Type the full DN path for the domain: CN=DFSFT,CN=DFSFT,CN=DFS Volumes,CN=File Replication Service,CN=System,DC=A,DC=COM. The objectClass in the right pane should be "nTFRSReplicaSet." Or, type the corresponding path for the domain starting from the root, DC=A,DC=COM, and then double-click through the DN hierarchy to reach the path listed above.  Right-click the DN path in the left pane, and then click Modify. In the Modify dialog box, the DN field path should have the path used in step 2. Under Edit Entry, in the Attribute box, type FrsFolderFilter or FrsFileFilter. In the Values box, type the appropriate filter extension (for example, "*.tmp"). Multiple extensions can be defined using a comma as a delimiter (for example, *.tmp,*.bak,*,bat). Press ENTER to add the filter parameters to the Entry list, and then click Run.</li> Double-click the DN path in the left pane to refresh the screen.</li></ol>

The DN path for a replicated DFS child node called "APPS" is "CN=DFSFT|APPS,CN=DFSFT,CN=DFS Volumes,CN=File Replication Service,CN=System,DC=A,DC=COM." Again, the objectClass is "nTFRSReplicaSet".

For information about setting file and folder filters for the System volume, please see the following article in the Microsoft Knowledge Base:

"Q221110 How to Set SYSVOL File and Folder Filters" Additional query words:

Keywords : kbtool

Version : WINDOWS:2000

Platform : WINDOWS

Issue type : kbhowto

Technology :