大网数据广告活动
网络与域名解析

DFSR Health Report shows Event ID 4302

· 52CE 我爱测

Describes a problem that occurs when you run the DFSR Diagnostics Report (DFSR Health Report). Many entries of Event ID 4302 are reported even though the files have already been replicated.

This article provides a workaround for an issue where DFSR Diagnostics Report shows sharing violations events even though the files have already been replicated.

Original KB number:   973836

Symptoms

When you run the Distributed File System Replication (DFSR) Diagnostics Report (DFSR Health Report) on a Microsoft Windows Server 2008-based computer or on a Windows Server 2003-based computer, the report contains many entries for the sharing violations events. However, when you check the files on the replication partner, you find that the files have already been replicated.

Cause

This issue occurs in the current implementation of DFSR because no anti-events are triggered when the files are replicated. Therefore, the reporting state of the files remains as sharing violated.

Workaround

To determine the real state of the file, use the DFSRDIAG BACKLOG command to check for sharing violations. The command output provides a list of the first 100 files that are not replicated.

More information

There two kinds of DFSR events for sharing violations: Event ID 4302 and Event ID 4304. The DFSR Diagnostics combines both kinds of events, and reports them only as Event ID 4302.

The following information explains more about these two kinds of events.

Event ID 4302: A local sharing violation occurs when the service can't receive an updated file because the local file is being used. This occurs on the receive side of the file change. The file is already replicated. However, it can't be moved from the installing directory to the final destination.

Event ID 4304: The service can't stage a file for replication because of a sharing violation. This occurs on the "send" side of the file change. DFSR wants to stage or copy the file for replication. However, an exclusive lock prevents this.

Source: Microsoft Learn / IT Pro troubleshooting by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / IT Pro troubleshooting
适用范围
- Supported versions of Windows Server · Source date 02/12/2026
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。