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

NTFRS error event 13559 intermittently and replication stops

· 52CE 我爱测

Describes a problem where NTFRS runs into a fatal error communicating with the file system sporadically.

This article describes a problem where NTFRS runs into a fatal error communicating with the file system sporadically.

Original KB number:   2768745

Symptom

On various DCs, you are receiving 13559 events from the File Replication Service (FRS) similar details:

Log Name: File Replication Service
Source: NtFrs
Event ID: 13559
Task Category: None
Level: Error
Description:
The File Replication Service has detected that the replica root path has changed from "c:\windows\sysvol\domain" to "c:\windows\sysvol\domain". If this is an intentional move then a file with the name NTFRS_CMD_FILE_MOVE_ROOT needs to be created under the new root path.
This was detected for the following replica set:
"DOMAIN SYSTEM VOLUME (SYSVOL SHARE)"
Changing the replica root path is a two step process which is triggered by the creation of the NTFRS_CMD_FILE_MOVE_ROOT file.
[1] At the first poll which will occur in 5 minutes this computer will be deleted from the replica set.
[2] At the poll following the deletion this computer will be re-added to the replica set with the new root path. This re-addition will trigger a full tree sync for the replica set. At the end of the sync all the files will be at the new location. The files may or may not be deleted from the old location depending on whether they are needed or not.

This is sample a logging level 4 for ntfrs verbosity, leading to the event 13559 being logged:

<RcsHasReplicaRootPathMoved: S4: > :S: Oid for replica root is 00000000-0000-0000-0000000000000000
<RcsHasReplicaRootPathMoved: S0: > ERROR - Replica root guid mismatch for Replica Set (DOMAIN SYSTEM VOLUME (SYSVOL SHARE))
<RcsHasReplicaRootPathMoved: S0: > ERROR - Replica root guid (FS) (17358178-8dd7-47e5-8ec1642bbc6ba318) <RcsHasReplicaRootPathMoved: S0: > ERROR - Replica root guid (DB) (17358178-8dd7-47e5-8ec1642bbc6ba318) <RcsHasReplicaRootPathMoved: S0: > ERROR - Replica Set (DOMAIN SYSTEM VOLUME (SYSVOL SHARE)) is marked to be deleted

We have also seen cases where the File System GUID is reported as NULL on the second debug print:

<RcsHasReplicaRootPathMoved: S4: > :S: Oid for replica root is 00000000-0000-0000-0000000000000000
<RcsHasReplicaRootPathMoved: S0: > ERROR - Replica root guid mismatch for Replica Set (DOMAIN SYSTEM VOLUME (SYSVOL SHARE))
<RcsHasReplicaRootPathMoved: S0: > ERROR - Replica root guid (FS) (00000000-0000-0000-0000000000000000)
<RcsHasReplicaRootPathMoved: S0: > ERROR - Replica root guid (DB) (17358178-8dd7-47e5-8ec1642bbc6ba318)
<RcsHasReplicaRootPathMoved: S0: > ERROR - Replica Set (DOMAIN SYSTEM VOLUME (SYSVOL SHARE)) is marked to be deleted

You have to enable logging level 4 to be positive that you are affected by this problem.

Cause

At the polling cycle, the GUID for the root folder returned from NTFS doesn't match what is expected. The GUID of the volue is seen as "00000000-0000-0000-0000000000000000". Although FRS uses synchronous IO, the NTFS IO control is working asynchronously. So in the problem cases, the IO control returned "STATUS_PENDING", but this status is not used correctly by NTFRS.

Resolution

NTFRS is only needed to support Windows Server 2003 Domain Controllers. Since support for Windows Server 2003 ends in July 2015, it is recommended to remove these Domain Controllers completely, and migrate to a newer version of Windows.

Newer versions of Windows allow the use of DFS-R to replicate SYSVOL, and these are not affected by this problem.

There are these work-arounds:

  1. Create a task that is triggered by event 13559 and restart the service

    Create a script triggered on the event 13559 that restarts the NTFRS service, follow these steps:

    1. In Event Viewer, find an event 13559 and right-Click it. There is an entry Attach Task To This Event...:

      :::image type="content" source="media/ntfrs-error-event-13559-replication-stops/attach-task-to-this-event.png" alt-text="Screenshot of the Event Viewer window with the event 13559 selected.":::

    2. You will be taken to the Create new Basic Task wizard, and the options to run the task based on the event you have selected will be pre-populated. So you can walk many of the wizard pages.

    3. You need to specify the task action, to start a program:

      :::image type="content" source="media/ntfrs-error-event-13559-replication-stops/start-a-program.png" alt-text="Screenshot of a window with Start a program selected.":::

    4. As the task, have a short script that restarts NTFRS:

      :::image type="content" source="media/ntfrs-error-event-13559-replication-stops/example-script-restart-ntfrs.png" alt-text="Screenshot of the restart-ntfrs file, showing the script that restarts NTFRS.":::

    5. Specify the script as the program to start:

      :::image type="content" source="media/ntfrs-error-event-13559-replication-stops/start-action-for-task.png" alt-text="Screenshot of the Create Basic Task Wizard window with Start a Program selected.":::

    6. This approach will resume the operations of NTFRS without performing an authoritative restore.

  2. Put empty file "NTFRS_CMD_FILE_MOVE_ROOT" into the root of the replica

    When seeing the mismatch with the GUIDs, NTFRS checks the precense of this file to see whether it might have been intentional. If it finds the file, it logs event 13560 and commences to do a non-authoritative restore of NTFRS.

    For SYSVOL place it in the target folder for the junction in the SYSVOL share, e.g. c:\windows\sysvol\domain.

    [!Note] During the non-authoritative restore, it will take the SYSVOL and NETLOGON share offline and netlogon will stop. If the DC is the only DC in a site, that might not be acceptable.

More Information

Please find guides on SYSVOL migration here:
Migrate SYSVOL replication to DFS Replication

This blog has a FAQ on the migration and an illustrated guide on the topic:
DFSR SYSVOL Migration FAQ: Useful trivia that may save your follicles

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)

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

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