Fix it now
Event 13508 is the File Replication Service reporting that it is having trouble enabling replication with a partner and will keep retrying. Clear the immediate fault, then deal with the real problem: Microsoft states that Windows Server 2016 is the last release that supports FRS, and that domains must use DFS Replication for SYSVOL.
dfsrmig /getglobalstate
dcdiag /test:FrsEvent
nslookup <partner-fqdn>
Test-NetConnection <partner-fqdn> -Port 135
- If
dfsrmig /getglobalstatereports the start state, SYSVOL is still on FRS whatever release the domain controllers run. - Clear the immediate fault first: the partner must resolve by its fully qualified name, answer on TCP 135, and be running the File Replication Service. A following Event 13509 confirms replication finally started.
- Confirm every domain controller can run DFS Replication, then start the migration from the PDC emulator with
dfsrmig /setglobalstate 1and wait fordfsrmig /getmigrationstateto report every DC prepared. - Repeat with
/setglobalstate 2, confirm again, then finish with/setglobalstate 3.
Microsoft states that after you migrate to DFS Replication you cannot revert to FRS. The prepared and redirected states are reversible; the eliminated state is not.
If 13509 follows the 13508 and the migration completes, you are done. If not, the next section covers why FRS faults so rarely clear themselves.
Why it happens
Microsoft publishes 13508 as a warning: the File Replication Service is having trouble enabling replication from one machine to another for a replica set, using a named DNS name, and will keep retrying. The retrying is the trap. FRS does not escalate and does not give up, so the same warning can sit in a log for years while the domain quietly diverges. The companion is 13509, which Microsoft publishes as the service having enabled replication after repeated retries. A 13508 with no matching 13509 means replication never started.
The immediate causes are ordinary: the partner does not resolve, the service is not running there, RPC is blocked, or the directory has not replicated the FRS connection objects yet. Any of those clears with the same checks you would run on any other RPC application. What does not clear so easily is the position the domain is in.
Microsoft’s functional level documentation states that domains must use DFS Replication as the engine to replicate SYSVOL, and that Windows Server 2016 is the last Windows Server release that supports the File Replication Service. That is not a recommendation about features. It is the reason an estate still on FRS stays frozen: the supported replication engine for SYSVOL on current Windows Server is DFS Replication, and getting there is a staged migration you run once.
The other reason to move is how FRS fails. A change journal wrap stops the replica set outright, and the documented repair is a registry value that tells the service to rebuild either from a partner or from its own copy. Setting that value the wrong way round publishes the wrong copy of SYSVOL to the whole domain. DFS Replication replaces that with a per-file version vector database and a recovery path that does not hinge on one hexadecimal digit.
Name resolution or RPC to the partner is broken
You have this one if The 13508 names a partner that does not resolve from the failing DC, or does not answer on TCP 135.
- Resolve the partner by fully qualified name and confirm the address is current.
- Test the RPC path with
Test-NetConnection <partner-fqdn> -Port 135. - Confirm the File Replication Service is running on both ends.
- Watch for Event 13509, which Microsoft publishes as replication having been enabled after repeated retries.
The change journal wrapped
You have this one if Event 13568. Microsoft publishes it as the service detecting that the named replica set is in JRNL_WRAP_ERROR, with the replica set name, root path and root volume in the entry.
- Stop the service:
net stop ntfrs. - In the registry, open
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NtFrs\Parameters\Backup/Restore\Process at Startupand setBurFlagsto D2, which is the nonauthoritative restore. - Start the service:
net start ntfrs. - Confirm SYSVOL and NETLOGON are shared again before touching any other domain controller.
D2 rebuilds this DC from a healthy partner. D4 is the authoritative restore and publishes this DC’s copy to everyone else. Microsoft moves the local content into a Pre-existing folder rather than deleting it, as a safeguard against data loss; leave it there until SYSVOL is confirmed correct.
The service is in an error state and will not recover
You have this one if Events 13552 and 13555 together. Microsoft publishes 13552 as the service being unable to add this computer to the named replica set, and 13555 as the service being in an error state, with files not replicating until recovery steps are performed.
- Confirm the replica set root path exists, is on an NTFS volume, and has free space.
- Rebuild SYSVOL content from a healthy partner using the nonauthoritative restore above.
- If the DC still will not join the replica set, demote and re-promote it rather than fighting the database.
A domain controller cannot go where the domain needs to go
You have this one if The migration will not move forward, or one DC never reaches the prepared state, and that machine runs a release you can no longer support.
- List what you have and check it against Microsoft’s functional level table: a Windows Server 2025 DC supports the Windows Server 2025 and Windows Server 2016 functional levels and does not support Windows Server 2012 R2.
- Transfer any operations master roles off the old DC and demote it cleanly.
- Confirm its metadata is gone from the directory.
- Promote a replacement, then restart the migration.
Full reference
The FRS events, as Microsoft publishes them
| Event | Severity | Published text |
|---|---|---|
| 13508 | Warning | Having trouble enabling replication from one machine to another for a replica set, using the DNS name shown. FRS will keep retrying |
| 13509 | Warning | Has enabled replication from one machine to another for that replica set, after repeated retries |
| 13512 | Warning | Has detected an enabled disk write cache on the drive containing the named directory on the named computer |
| 13552 | Error | Unable to add this computer to the named replica set |
| 13555 | Error | Is in an error state. Files will not replicate to or from one or all of the replica sets on this computer until the recovery steps are performed |
| 13568 | Error | Has detected that the named replica set is in JRNL_WRAP_ERROR. The entry names the replica set, its root path and its root volume |
The migration, state by state
| Command | What it does |
|---|---|
dfsrmig /getglobalstate |
Reports the state the domain is moving towards |
dfsrmig /getmigrationstate |
Reports whether every domain controller has reached it |
dfsrmig /setglobalstate 1 |
Prepared: a DFS Replication copy is built alongside FRS, which stays authoritative |
dfsrmig /setglobalstate 2 |
Redirected: SYSVOL is served from the DFS Replication copy |
dfsrmig /setglobalstate 3 |
Eliminated: FRS stops replicating SYSVOL |
Microsoft states that after you migrate to DFS Replication you cannot revert to FRS. Reach the prepared state, confirm every domain controller has got there, and only then move on. The eliminated state is the one-way door.
The BurFlags decision, spelled out
This is the step that turns a single failed domain controller into a domain-wide incident, so it is worth being slow about. The value lives under the NtFrs parameters key, in the Backup/Restore branch, under Process at Startup, and is named BurFlags. Microsoft documents two values: D2 for a nonauthoritative restore, and D4 for an authoritative one. Nonauthoritative means this machine discards what it has and takes a copy from a partner. Authoritative means the opposite, and it is the correct choice only when this machine holds the copy of SYSVOL you want everybody else to have.
- Export the NtFrs key and take a copy of the Policies and Scripts folders from a domain controller you trust.
- Decide, out loud, which direction you are rebuilding in.
net stop ntfrs, set BurFlags,net start ntfrs.- Confirm SYSVOL and NETLOGON are shared, and that a policy edit reaches a client.
- Leave the Pre-existing folder alone until you are certain. Microsoft describes it as a safeguard designed to prevent accidental data loss, and says to delete its contents once outbound replication has occurred.
Where the supported line falls
| Domain controller | 2025 functional level | 2016 functional level | 2012 R2 functional level |
|---|---|---|---|
| Windows Server 2025 | Supported | Supported | Not supported |
| Windows Server 2022 | Not supported | Supported | Supported |
| Windows Server 2019 | Not supported | Supported | Supported |
| Windows Server 2016 | Not supported | Supported | Supported |
| Windows Server 2012 R2 | Not supported | Not supported | Supported |
Read that table alongside the SYSVOL rule and the shape of the work becomes clear. The engine has to be DFS Replication, the last release that supports FRS is Windows Server 2016, and the newest domain controllers will not sit at the oldest functional level. Anything on the estate that cannot reach the DFS Replication side of that line is a replacement rather than a repair.
Checking your own work
dcdiag /test:FrsEventchecks for errors in the File Replication Service event log from the past 24 hours; run it before and after.dcdiag /test:SysVolCheckreads the Netlogon SysVolReady value. Microsoft notes that it does not check whether the shares are accessible, so pair it withdcdiag /test:NetLogons.dcdiag /test:Advertisingconfirms the DC is advertising the roles it should. Microsoft notes it fails if Netlogon has stopped, and that it can still pass when TCP and UDP 88 are blocked.- After the migration, run
dcdiag /test:DFSREventinstead of FrsEvent. Different engine, different log.
When a licence is the actual fix
This is one of the few Active Directory faults where a licence really is part of the fix rather than an upsell. Microsoft states that domains must use DFS Replication to replicate SYSVOL and that Windows Server 2016 is the last release that supports FRS, so an estate still on FRS is not simply behind, it is on an engine current Windows Server does not support. The migration itself costs nothing. The cost appears where a domain controller cannot run the current engine or cannot sit at a functional level the newer DCs support, and has to be replaced with a licensed Windows Server. Microsoft publishes the edition difference clearly: Windows Server 2025 Standard permits two virtual machines plus one Hyper-V host per licence, Datacenter permits unlimited virtual machines plus one Hyper-V host, and how many people may use either is governed by your client access licences. Arco will work through the count with you and check what your existing agreement already covers.
Every code this article covers
| Code | What it points at | Source |
|---|---|---|
Event ID 13508 |
Warning: the service is having trouble enabling replication with the named partner for a replica set and will keep retrying. A following 13509 confirms it eventually succeeded | Microsoft Learn |
Event ID 13568 |
Error: the named replica set is in JRNL_WRAP_ERROR. The entry names the replica set, its root path and its root volume | Microsoft Learn |
Event ID 13552 |
Error: the service is unable to add this computer to the named replica set | Microsoft Learn |
Event ID 13555 |
Error: the service is in an error state, and files will not replicate to or from one or all replica sets on this computer until the recovery steps are performed | Microsoft Learn |
Event ID 13512 |
Warning: the service has detected an enabled disk write cache on the drive holding the named replicated directory | Microsoft Learn |
Confirm the fix worked
dfsrmig /getmigrationstatereports every domain controller at the eliminated state.net shareon every DC lists SYSVOL and NETLOGON.dcdiag /test:NetLogonssucceeds, which proves the shares are readable rather than merely marked ready.dcdiag /test:DFSREventreports no errors in the last 24 hours on any domain controller.- A policy change made on one DC reaches a client in another site.
Questions people ask about this
Can I clear 13508 and stay on FRS?
You can clear the immediate fault, and replication will resume. What you cannot do is keep SYSVOL on an engine Microsoft states current Windows Server does not support. Microsoft’s position is that domains must use DFS Replication for SYSVOL, and that Windows Server 2016 is the last release that supports FRS.
Is the migration risky?
It is staged so that it need not be. The prepared state builds the DFS Replication copy without changing what serves SYSVOL, and the redirected state can be rolled back. Only the eliminated state is one-way, and Microsoft says plainly that you cannot revert to FRS afterwards.
What does BurFlags D4 do that D2 does not?
D4 is the authoritative restore: it publishes this machine’s copy of SYSVOL outward. D2 is nonauthoritative: this machine takes a copy from a partner. Choosing D4 on the wrong server replaces good policy everywhere with bad, which is why the direction matters more than the procedure.
Do I have to replace domain controllers to migrate?
Only the ones that cannot run DFS Replication or cannot sit at a functional level your newer domain controllers support. Check Microsoft’s functional level table before assuming: a Windows Server 2025 DC supports the 2025 and 2016 levels but not 2012 R2.
What is the Pre-existing folder for?
It is where a reinitialised member’s local content is moved rather than deleted. Microsoft describes it as a safeguard against accidental data loss, and says to clear it once outbound replication has occurred.
