Microsoft KB Archive/842205

= The Ultrasound tool may report incorrect sharing violations when you monitor FRS in Windows Server 2003 or in Windows 2000 =

Article ID: 842205

Article Last Modified on 10/30/2006

-

APPLIES TO


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

-





Important This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows Registry



SYMPTOMS
When you use the Ultrasound tool to monitor the File Replication Service (FRS) and to track sharing violations on a server that is running Microsoft Windows Server 2003 or Microsoft Windows 2000, a sharing violation may occur. However, you cannot verify the sharing violation by using the following tools to display the open handles on the server:
 * The net file or net files command
 * The Oh.exe tool

Certain sharing violations that are logged to the Current sharing violations (member) view or that are logged to the Current sharing violations (replica set) view of the Ultrasound tool may be incorrect.



RESOLUTION
Warning If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

To resolve this issue, configure the Ultrasound tool to monitor the event logs for occurrences of sharing violation event ID 13573 when the tool tracks sharing violations. To do this, install the latest version of Ntfrs.exe on the server, and then add the Enable Sharing Violation Logging registry entry to the following registry subkey:

Note After you perform this procedure, the Ultrasound tool logs sharing violations that are based on the occurrence of event ID 13573 to the new Current sharing violations (events) view. However, the Ultrasound tool still logs sharing violations to the Current sharing violations (member) view and to the Current sharing violations (replica set) view. For a more accurate view of the sharing violations that are reported by the Ultrasound tool, view the sharing violations that are logged to the Current sharing violations (events) view.

To install the latest version of Ntfrs.exe on the server, install one of the following hotfixes, depending on the operating system that you are running:  If you are running Windows Server 2003, install the hotfix that is described in the following article in the Microsoft Knowledge Base:

823230 Issues that are resolved in the pre-Service Pack 1 release of Ntfrs.exe

 If you are running Windows 2000 Server, install the hotfix that is described in the following article in the Microsoft Knowledge Base:

815473 File Replication Service does not log errors on sharing violations



To add the Enable Sharing Violation Logging registry entry, follow these steps:  Click Start, click Run, type regedit, and then click OK. Locate and then click the following registry subkey: 

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Ntfrs\Parameters

 On the Edit menu, point to New, and then click DWORD Value.</li> Type Enable Sharing Violation Logging, and then press ENTER.</li> On the Edit menu, click Modify.</li> In the Value data box, type 1, and then click OK.</li> Quit Registry Editor.</li></ol>

<div class="moreinformation_section">

MORE INFORMATION
Ultrasound is a monitoring and troubleshooting tool for FRS. The Ultrasound tool measures the health of FRS replica sets and provides health ratings and historical information about replica sets. You can use the tool to monitor the progress of replication and to detect problems that can cause replication to become backlogged or stopped. For more information about the Ultrasound tool, visit the following Microsoft Web site:

http://www.microsoft.com/downloads/details.aspx?FamilyID=61acb9b9-c354-4f98-a823-24cc0da73b50&displaylang=en

To view a list of frequently asked questions (FAQ) about the Ultrasound tool, visit the following Microsoft Web site:

http://www.microsoft.com/windowsserver2003/techinfo/overview/ultrasoundfaq.mspx

For more information about how to monitor and troubleshoot FRS, visit the following Microsoft Web site:

http://www.microsoft.com/windowsserver2003/technologies/fileandprint/file/dfs/tshootfrs.mspx

For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

822300 FRS encounters &quot;ERROR_SHARING_VIOLATION&quot; errors when it tries to replicate data that is still in use

Additional query words: frs

Keywords: kbtshoot kbprb kbwinservperf kbfileprintservices KB842205

-

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

© Microsoft Corporation. All rights reserved.