Microsoft KB Archive/816493

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

Article ID: 816493

Article Last Modified on 6/28/2007

-

APPLIES TO


 * Microsoft Windows Server 2003, Standard Edition (32-bit x86)
 * Microsoft Windows Server 2003, Enterprise Edition (32-bit x86)
 * Microsoft Windows Server 2003, Datacenter Edition (32-bit x86)

-



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.



MORE INFORMATION
FrsFlags uses the following syntax:

frsflags [ -s ][ -u ][ -d ][ ][  ]

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.
 * : This parameter specifies the name of the replica set. The can either be a domain-based DFS replica or a SYSVOL replica.
 * : 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  domain, use the following command:

frsflags –s ROOT|DFS .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

You receive output similar to the following:

Disabled : RepSetObjFlags: 00000000 Flags []

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:

http://www.microsoft.com/downloads/details.aspx?FamilyID=9d467a69-57ff-4ae7-96ee-b18c4790cffd&DisplayLang=en

Keywords: kbinfo KB816493

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.