DetailPage-MSS-KB

Microsoft small business knowledge base

Article ID: 816493 - Last Review: June 28, 2007 - Revision: 6.2

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][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  (http://support.microsoft.com/kb/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 (http://www.microsoft.com/downloads/details.aspx?FamilyID=9d467a69-57ff-4ae7-96ee-b18c4790cffd&DisplayLang=en)

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)
  • Microsoft Windows Server 2003, Standard x64 Edition
  • Microsoft Windows Server 2003, Enterprise x64 Edition
  • Microsoft Windows Server 2003, Datacenter x64 Edition
Keywords: 
kbinfo KB816493
Share
Additional support options
Ask The Microsoft Small Business Support Community
Contact Microsoft Small Business Support
Find Microsoft Small Business Support Certified Partner
Find a Microsoft Store For In-Person Small Business Support