Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

How to configure the File Replication Service to allow fewer sharing violations that block replication


View products that this article applies to.

Summary

This article describes how to configure the File Replication Service (FRS) to permit fewer sharing violations that block replication. The Install Override feature permits FRS to override sharing violations on file installs. This article describes how to use the File Replication Service Flags command-line script tool (FrsFlags.vbs) to configure the Install Override feature of FRS in Windows Server 2003.

FrsFlags.vbs is included in the Windows Server 2003 Resource Kit Tools. Use this tool to set or clear the FrsFlags attribute for replica objects in Active Directory. The FrsFlags attribute on a replica set determines whether the Install Override is enabled or disabled. Set the FrsFlags attribute to turn on the Install Override feature. Clear the FrsFlags attribute to turn off the Install Override feature.

↑ Back to the top


More information

FrsFlags uses the following syntax:
frsflags[-s][-u][-d][ReplicaName][DomainName]
The parameters that frsflags uses are listed as follows:
  • -s: Use this parameter to set the FrsFlags attribute for a replica set.
  • -u: Use this parameter to clear the FrsFlags attribute for a replica set.
  • -d: Use this parameter to display the current value of the FrsFlags flag for a replica set.
  • ReplicaName: This parameter specifies the name of the replica set. TheReplicaName can either be a domain-based DFS replica or a SYSVOL replica.
  • DomainName: This parameter specifies the full domain name.

    Note For SYSVOL replicas, use SYSVOL. (SYSVOL is not case-sensitive.)

Examples

To set the FrsFlags attribute on the ROOT|DFS replica in the DomainName domain, use the following command:
frsflags �s ROOT|DFS DomainName.com
To view the status of the Install Override feature on a specified replica set, use the Ntfrsutl.exe command-line tool. To do so, type the following line at the command prompt:
ntfrsutl sets ComputerName
You receive output similar to the following:
Disabled :  RepSetObjFlags: 00000000 Flags [<Flags Clear>]      
Enabled  :  RepSetObjFlags: 00000001 Flags [InstallOverride]  
Important note Make sure that you stop and then restart the NTFRS service to activate the Install Override feature. For more information about sharing violation errors in FRS, click the following article number to view the article in the Microsoft Knowledge Base:
822300 FRS encounters ERROR_SHARING_VIOLATION errors when it tries to replicate data that is still in use
For more information about how to download and install the Windows Server 2003 Resource Kit Tools, visit the following Microsoft Web site:

↑ Back to the top


Keywords: KB816493, kbinfo

↑ Back to the top

Article Info
Article ID : 816493
Revision : 8
Created on : 6/28/2007
Published on : 6/28/2007
Exists online : False
Views : 304